Fix host1 interface config for ifupdown-ng syntax

Changed to ifupdown-ng compatible bonding syntax:
- bond-slaves → bond-members
- bond-mode 4 → bond-mode 802.3ad
- bond-lacp-rate 1 → bond-lacp-rate fast
- Removed bond-slaves directive (handled by bond-members)
- Removed vlan-raw-device (ifupdown-ng auto-detects from interface name)
This commit is contained in:
2025-11-29 17:38:56 +00:00
parent c0f680a0b6
commit 2016863228

View File

@@ -4,14 +4,13 @@ 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-mode 4 bond-members eth1 eth2
bond-mode 802.3ad
bond-miimon 100 bond-miimon 100
bond-lacp-rate 1 bond-lacp-rate fast
bond-slaves eth1 eth2
# VLAN 40 on bond0 # VLAN 40 on bond0
auto bond0.40 auto bond0.40
iface bond0.40 inet static iface bond0.40 inet static
address 10.40.40.101 address 10.40.40.101
netmask 255.255.255.0 netmask 255.255.255.0
vlan-raw-device bond0