[Bridge] Bridging VLANs
Diego Woitasen
diegows at xtech.com.ar
Fri Aug 28 18:01:42 PDT 2009
Hi,
I'm working on a network where I have 13 VLANs (using 802.1q). I need
to build a transition escenario bridging the VLANs with a Linux
Bridge. My Linux box has the trunk incoming from eth1, so to bridge
them I use:
brctl addbr superbridge
vconfig set_name_type VLAN_PLUS_VID_NO_PAD
for ((i = 200; i <= 212; i++)); do
vconfig add eth1 $i
ip link set vlan$i
brctl addif superbridge vlan$i
done
ip link superbrige up
I think that should work but I want to hear another opinions, advices
or just tell me if that wouldn't work.
Regards,
Diego
--
Diego Woitasen
XTECH
More information about the Bridge
mailing list