Hey guys, I'm wandering, one could do an active-backup bond of two LACP bonds?
Like this:
auto lo
iface lo inet loopback
iface eno1 inet manual
iface eno2 inet manual
iface eno3 inet manual
iface eno4 inet manual
auto bond0
iface bond0 inet manual
bond-slaves eno1 eno2
bond-miimon 100
bond-mode 802.3ad
bond-xmit-hash-policy layer2+3
auto bond1
iface bond1 inet manual
bond-slaves eno3 eno4
bond-miimon 100
bond-mode 802.3ad
bond-xmit-hash-policy layer2+3
auto bond2
iface bond2 inet manual
bond-slaves bond0 bond1
bond-miimon 200
bond-mode active-backup
auto vmbr0
iface vmbr0 inet static
address 10.0.0.10
netmask 255.255.255.0
gateway 10.0.0.254
bridge-ports bond2
bridge-stp off
bridge-fd 0
Like this:
auto lo
iface lo inet loopback
iface eno1 inet manual
iface eno2 inet manual
iface eno3 inet manual
iface eno4 inet manual
auto bond0
iface bond0 inet manual
bond-slaves eno1 eno2
bond-miimon 100
bond-mode 802.3ad
bond-xmit-hash-policy layer2+3
auto bond1
iface bond1 inet manual
bond-slaves eno3 eno4
bond-miimon 100
bond-mode 802.3ad
bond-xmit-hash-policy layer2+3
auto bond2
iface bond2 inet manual
bond-slaves bond0 bond1
bond-miimon 200
bond-mode active-backup
auto vmbr0
iface vmbr0 inet static
address 10.0.0.10
netmask 255.255.255.0
gateway 10.0.0.254
bridge-ports bond2
bridge-stp off
bridge-fd 0