Commit Graph

6 Commits

Author SHA1 Message Date
43a90805ef Configure interfaces for bonding and VLANs
Adds bonding and VLAN configuration to host interfaces files and
configures the clab yaml to load the modules.
2025-11-29 19:59:06 +00:00
101143cc59 Add 'up' command to explicitly bring bond0 up 2025-11-29 19:31:00 +00:00
d32c6fd6a2 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.
2025-11-29 18:47:27 +00:00
0f3b8f6dff 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
2025-11-29 18:15:05 +00:00
2016863228 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)
2025-11-29 17:38:56 +00:00
9ddf594862 Add host1 network interfaces config with LACP bonding 2025-11-29 17:20:38 +00:00