A blog of interesting technical advances.

May 8, 2011

bridge on top of vlan on top of bond.

This is how you define a bridge on top of a vlan on top of a bond in debian


auto bond0
iface bond0 inet manual
bond_slaves eth1 eth2
bond_mode 802.3ad
bond_miimon 100

auto br-vlan4
iface br-vlan4 inet static
vlan-raw-device bond0
bridge_ports vlan4
bridge_maxwait 0
bridge_fd 0
bridge_stp off
address 192.168.4.200
netmask 255.255.255.0
gateway 192.168.4.1
metric 101


This is very useful in setting up a group of VM servers as each of the VM servers will have the same interface names. (ie: br-vlan4 is the same on all servers)

No comments:

Post a Comment