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)
17 lines
309 B
Plaintext
17 lines
309 B
Plaintext
auto lo
|
|
iface lo inet loopback
|
|
|
|
# Bond interface with LACP (802.3ad)
|
|
auto bond0
|
|
iface bond0 inet manual
|
|
bond-members 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
|