Add 'use bond' directive to enable bonding executor

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
This commit is contained in:
2025-11-29 18:15:05 +00:00
parent aa26ad716e
commit 0f3b8f6dff

View File

@@ -4,7 +4,8 @@ iface lo inet loopback
# Bond interface with LACP (802.3ad) # Bond interface with LACP (802.3ad)
auto bond0 auto bond0
iface bond0 inet manual iface bond0 inet manual
bond-members eth1 eth2 use bond
bond-slaves eth1 eth2
bond-mode 802.3ad bond-mode 802.3ad
bond-miimon 100 bond-miimon 100
bond-lacp-rate fast bond-lacp-rate fast