Re: filtering BPDU(STP) from bridged vlans

Stephen Hemminger <[email protected]> Fri, 6 Jul 2007 15:56:03 -0700
Newsgroups gmane.linux.drivers.vlan
Organization Linux Foundation
Message-ID <[email protected]>
On Fri, 6 Jul 2007 11:52:59 -0400 (EDT)
Krzysztof Adamski <[email protected]> wrote:

> Hi All,
> 
> What is the correct way of filtering STP (BPDU) packets from a single
> bridge that contains vlans, equivalent to cisco's:
>  spanning-tree rootguard
>  spanning-tree bpdufilter enable
> 
> 
> I have many bridge interfaces, each with two vlans, for example
> 
> eth0.400 and eth1.500 are part of br600, and I want to prevent all STP
> packets that arrive on eth1.500 from being passed to eth0.400.
> 
> I have other br interfaces that I don't want to be affected.
> 

There is an ebtables module to filter out STP.
Note: the bridge code does not pass STP, it uses it.

-- 
Stephen Hemminger <[email protected]>