Hallo, i have here transparent linux based bridge. The problem is : all stp packets which come to one side of the Bridge are not forwarded to the other side. Which distrubs stp when this device is put inbetween of two stp capable devices. It forwards all traffik through it. Normal udp/tcp traffik is forwarded. I switched stp on it "off" so it does not participate in Spanning tree communications. It is a very simple setup : br0 with eth0 and eht1 as ports. without any additional firewall rules. I am using 2.6.18-4-686 debian kernel(testing). i even did setfd br0 0. What am i doing wrong ? Do i need to use ebtables to explicitely forward the traffic? With regards, Roman Glebov
Roman Glebov wrote:>The problem is : all stp packets which come to one side of the Bridge are >not forwarded to the other side. Which distrubs stp when this device is >put inbetween of two stp capable devices. >It forwards all traffik through it. >Normal udp/tcp traffik is forwarded. > >I switched stp on it "off" so it does not participate in Spanning tree >communications. > >I don't think you are doing anything wrong. I asked this question a while back, and was told that this behaviour conforms to the 802 spec. Please see: https://lists.linux-foundation.org/pipermail/bridge/2006-December/005169.html Cam
Stephen Hemminger
2007-Apr-22 09:50 UTC
[Bridge] linux bridge does not bridge bpdu packets
Roman Glebov wrote:> Hallo, > > i have here transparent linux based bridge. > > The problem is : all stp packets which come to one side of the Bridge are > not forwarded to the other side. Which distrubs stp when this device is > put inbetween of two stp capable devices. > It forwards all traffik through it. > Normal udp/tcp traffik is forwarded. > > I switched stp on it "off" so it does not participate in Spanning tree > communications. > > It is a very simple setup : > br0 with eth0 and eht1 as ports. without any additional firewall rules. > > > I am using 2.6.18-4-686 debian kernel(testing). > > i even did setfd br0 0. > > > What am i doing wrong ? > > Do i need to use ebtables to explicitely forward the traffic? >Turn on STP in the bridge, it will then receive process and send it's own STP BPDU's.