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:
@@ -4,14 +4,13 @@ iface lo inet loopback
|
||||
# Bond interface with LACP (802.3ad)
|
||||
auto bond0
|
||||
iface bond0 inet manual
|
||||
bond-mode 4
|
||||
bond-members eth1 eth2
|
||||
bond-mode 802.3ad
|
||||
bond-miimon 100
|
||||
bond-lacp-rate 1
|
||||
bond-slaves eth1 eth2
|
||||
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
|
||||
vlan-raw-device bond0
|
||||
|
||||
Reference in New Issue
Block a user