How do I extend a traditional bridge mode VLAN across 2 Cumulus Linux switches?


I have a very small, simple network at the moment and am trying to do VLAN trunking between two switches.

Relevant config below:

--------------------
sw1:
==========
auto br0
iface br0
address 10.0.0.40/24
bridge-ports glob swp33-48 swp1 swp2
bridge-stp on

auto br130
iface br130
address 10.0.130.40/24
bridge-ports swp2.130 swp43.130

sw2:
==========
auto br0
iface br0
address 10.0.0.10/24
bridge-ports swp1 swp48
bridge-stp on

auto swp1
iface swp1
mtu 9000
link-speed 1000
link-duplex full
link-autoneg off

auto swp23
iface swp23
mtu 9000
link-speed 1000
link-duplex full
link-autoneg off

auto br130
iface br130
address 10.0.130.10/24
bridge-ports swp1.130 swp23.130
bridge-stp on
--------------------

sw1/swp2 is connected to sw2/swp1

In this scenario, br0 works fine across both switches, but br130 does not. Can someone help me figure out what's missing?

Thanks for your help.

-Archie

2 replies

Userlevel 4
A few thoughts: --Probably want to enable STP on iface br130 on SW1 --Make sure SWP2 on SW1 matches the config shown on SW2 SWP1 (it's not shown) I just tried your config (changing some port numbers) on Vx and it works without issue. In my scenario LEAF1:swp1 -- LEAF2:swp1, LEAF1:swp2 -- LEAF2:swp2 ######## LEAF1 auto swp1 iface swp1 auto swp2 iface swp2 auto br0 iface br0 address 10.0.0.40/24 bridge-ports swp1 swp2 bridge-stp on auto br130 iface br130 address 10.0.130.40/24 bridge-ports swp1.130 bridge-stp on root@leaf1:/home/vagrant# ping 10.0.0.10 PING 10.0.0.10 (10.0.0.10) 56(84) bytes of data. 64 bytes from 10.0.0.10: icmp_req=1 ttl=64 time=0.575 ms ^C --- 10.0.0.10 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.575/0.575/0.575/0.000 ms root@leaf1:/home/vagrant# ping 10.0.130.10 PING 10.0.130.10 (10.0.130.10) 56(84) bytes of data. 64 bytes from 10.0.130.10: icmp_req=1 ttl=64 time=0.504 ms ^C --- 10.0.130.10 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.504/0.504/0.504/0.000 ms ######## LEAF2 auto br0 iface br0 address 10.0.0.10/24 bridge-ports swp1 swp2 bridge-stp on auto swp1 iface swp1 auto swp2 iface swp2 auto br130 iface br130 address 10.0.130.10/24 bridge-ports swp1.130 bridge-stp on root@leaf2:/home/vagrant# ping 10.0.0.40 PING 10.0.0.40 (10.0.0.40) 56(84) bytes of data. 64 bytes from 10.0.0.40: icmp_req=1 ttl=64 time=1.28 ms ^C --- 10.0.0.40 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 1.289/1.289/1.289/0.000 ms root@leaf2:/home/vagrant# ping 10.0.130.40 PING 10.0.130.40 (10.0.130.40) 56(84) bytes of data. 64 bytes from 10.0.130.40: icmp_req=1 ttl=64 time=0.597 ms ^C --- 10.0.130.40 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.597/0.597/0.597/0.000 ms #### If it refuses to work, this kind of break/fix workflow is perfect for a support case , our support folks are very responsive and usually a first communication can be had in minutes.
Thanks Eric,

I implemented your first two suggestions:

a) turned STP on for br130 on sw1, OK
b) aligning the config on sw1/swp2 and swp2/swp1 is problematic because sw1 is a 1G switch (Dell S3048) and sw2 is a 10G switch (Dell S4048). I have autoneg off for SW2/swp1 and autoneg on for SW1/swp2. If I turn autoneg off for SW1/swp2, I lose the link.

I think I read somewhere that a mismatch in interface settings could prevent the VLAN from working. If this is the case, is there a way around this with the two kinds of switch hardware?

Either way I'll open a support case. Thanks again!

-Archie

Reply