bridge on vlans on active-backup bonding under debian stretch

i use this setup for few lxc servers. bonding provides me layer2 failover based on arp probes [ so it’ll work even if switch link stays up yet forwarding fails the mechanism will kick in ].

this is continuation of an earlier post, this time under debian stretch

apt-get install bridge-utils ifenslave vlan


# The loopback network interface
auto lo
iface lo inet loopback

auto bond0
iface bond0 inet manual
        bond-mode active-backup
        bond-primary eno1
        bond-arp-interval 100
        bond-arp-validate all
        slaves eno1 eno2

auto br.11
iface br.11 inet static
        vlan-raw-device bond0
        bridge-ports bond0.11
        bridge-stp off

auto br.10
iface br.10 inet manual
        bridge-ports bond0.10
        vlan-raw-device bond0
        bridge-stp off

/etc/modules includes


Leave a Reply

Your email address will not be published. Required fields are marked *