Debian /etc/network/interfaces

##
# loopback
#
auto lo
iface lo inet loopback

##
# bond eth[0-1] and assign VLAN tags
# vlan 1003: mgmt
# vlan 1005: nenticom
# vlan 10:   colo1 [internet]
# vlan 20:   colo2 [internet]
#
auto bond0
iface bond0 inet manual
    pre-up  ip link set bond0 up
    up      ifenslave bond0 eth0
    up      ifenslave bond0 eth1
    up      vconfig add bond0 1003
    up      vconfig add bond0 1005
    up      vconfig add bond0 10
    up      vconfig add bond0 20
    up      ip link set bond0.1003 up
    up      ip link set bond0.1005 up
    up      ip link set bond0.10 up
    up      ip link set bond0.20 up

##
# mgmt bridge group
#
auto mgmt
iface mgmt inet manual
    up brctl addbr     mgmt
    up brctl setfd     mgmt 0
    up brctl sethello  mgmt 2
    up brctl setmaxage mgmt 12
    up brctl stp       mgmt off
    up sleep 10; brctl addif mgmt bond0.1003
    up ip link set mgmt up
    up ip address add 10.0.3.6/24 dev mgmt
    up ip route add 0.0.0.0/0 via 10.0.3.1

##
# nenticom KVM bridge group
#
auto nenticom
iface nenticom inet manual
    up brctl addbr     nenticom
    up brctl setfd     nenticom 0
    up brctl sethello  nenticom 2
    up brctl setmaxage nenticom 12
    up brctl stp       nenticom off
    up sleep 10; brctl addif nenticom bond0.1005

##
# colo1 KVM bridge group
#
auto colo1
iface colo1 inet manual
    up brctl addbr     colo1
    up brctl setfd     colo1 0
    up brctl sethello  colo1 2
    up brctl setmaxage colo1 12
    up brctl stp       colo1 off
    up sleep 10; brctl addif colo1 bond0.10

##
# colo2 KVM bridge group
#
auto colo2
iface colo2 inet manual
    up brctl addbr     colo2
    up brctl setfd     colo2 0
    up brctl sethello  colo2 2
    up brctl setmaxage colo2 12
    up brctl stp       colo2 off
    up sleep 10; brctl addif colo2 bond0.20