Simplify interface file to only configure bond0

VLAN interface creation will be handled by exec commands in topology
since ifupdown-ng can't reliably create VLAN sub-interfaces on bonds.
Removed 'inet manual' to allow bond0 to come up automatically.
This commit is contained in:
2025-11-29 18:47:27 +00:00
parent aaca77d4d3
commit d32c6fd6a2

View File

@@ -1,17 +1,10 @@
auto lo auto lo
iface lo inet loopback iface lo inet loopback
# Bond interface with LACP (802.3ad)
auto bond0 auto bond0
iface bond0 inet manual iface bond0
use bond use bond
bond-slaves eth1 eth2 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
# VLAN 40 on bond0
auto bond0.40
iface bond0.40 inet static
address 10.40.40.101
netmask 255.255.255.0