stp-type usage

"Gun Akkor" <gakkor-CZsGyh/[email protected]> Fri, 02 Mar 2007 14:36:03 -0500
Newsgroups gmane.linux.network.bridge.ebtables.user
Message-ID <[email protected]>
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.

Could somebody point out where I am going wrong? For your 
information, I am running Linux on a MIPS architecture, 
and in my kernel configuration, ebtables bridge STP 
support is turned on as a module, i.e. 
"CONFIG_BRIDGE_EBT_STP=m"

Thanks in advance,
GA

Gun Akkor, Ph.D.
Engineering Department
Patton Electronics, Co.
Gaithersburg, MD 20879
(301) 975-1000
gakkor AT patton DOT com

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