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


Waco, Texas, United States

Electrical and Computer with an interest in FPGAs, Linux, and Embedded Systems. Enjoys playing with servers and experimenting with virtualization.