The bonding executor must be explicitly enabled with 'use bond' for ifupdown-ng to create the bond interface properly. Requires 'bonding' package installed. Tested and verified working: - bond0 created with LACP (802.3ad) mode - eth1 and eth2 enslaved to bond0 - VLAN interface bond0.40 working - MLAG showing active-full on switches
18 lines
321 B
Plaintext
18 lines
321 B
Plaintext
auto lo
|
|
iface lo inet loopback
|
|
|
|
# Bond interface with LACP (802.3ad)
|
|
auto bond0
|
|
iface bond0 inet manual
|
|
use bond
|
|
bond-slaves eth1 eth2
|
|
bond-mode 802.3ad
|
|
bond-miimon 100
|
|
bond-lacp-rate fast
|
|
|
|
# VLAN 40 on bond0
|
|
auto bond0.40
|
|
iface bond0.40 inet static
|
|
address 10.40.40.101
|
|
netmask 255.255.255.0
|