Re: stp-type usage

Bart De Schuymer <[email protected]> Mon, 05 Mar 2007 22:04:29 +0100
Newsgroups gmane.linux.network.bridge.ebtables.user
Message-ID <[email protected]>
Op vr, 02-03-2007 te 14:36 -0500, schreef Gun Akkor:
> Hello,
> 
> I have a bridge group br0, with 3 Ethernet interfaces 
> attached: eth0, eth1, eth2. I am running STP on br0, and 
> want STP control packets to be propagated to eth0 and 
> eth1, but NOT to eth2. I added the following ebtables rule 
> to the box:
> 
> ebtables -A OUTPUT -d BGA -o eth2 -j DROP
> 
> This rule stops propagation of the STP packets out of 
> interface eth2. So far, so good. However, if I want only a 
> certain type of STP packets to be dropped, the following 
> rule does NOT seem to work:
> 
> ebtables -A OUTPUT -d BGA -o eth2 --stp-type config -j 
> DROP
> 
> Ethereal output on the machine attached to eth2 still 
> receives STP configuration messages.

Does this rule drop those packets:
ebtables -A OUTPUT -d BGA -o eth2 --stp-type ! config -j DROP

Can you save such a packet with "tcpdump -w file", so I can debug this with the same packet here?

cheers,
Bart



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV