Re: Re: filtering BPDU(STP) from bridged vlans

Krzysztof Adamski <[email protected]> Mon, 9 Jul 2007 14:25:57 -0400 (EDT)
Newsgroups gmane.linux.drivers.vlan
Message-ID <[email protected]>
On Fri, 6 Jul 2007, Stephen Hemminger wrote:

> 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.

I have been looking at ebtables, but I don't see of filtering just one
bridge.