Commit Graph

19 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
15158c2bb1 Simplify host4 interface file to only configure bond0 2025-11-29 18:47:58 +00:00
89d3e0dac0 Simplify host3 interface file to only configure bond0 2025-11-29 18:47:48 +00:00
17a3bb63a3 Simplify host2 interface file to only configure bond0 2025-11-29 18:47:38 +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
aaca77d4d3 Add 'use bond' directive for host4 2025-11-29 18:15:42 +00:00
b270f4f683 Add 'use bond' directive for host3 2025-11-29 18:15:29 +00:00
aa6fbbd2f3 Add 'use bond' directive for host2 2025-11-29 18:15:17 +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
aa26ad716e Fix host4 interface config for ifupdown-ng syntax 2025-11-29 17:39:19 +00:00
6bc86b28be Fix host3 interface config for ifupdown-ng syntax 2025-11-29 17:39:13 +00:00
358c0c188b Fix host2 interface config for ifupdown-ng syntax 2025-11-29 17:39:06 +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
c0f680a0b6 Add README for hosts directory explaining interface configuration files 2025-11-29 17:25:47 +00:00
3eedb0786c Add host4 network interfaces config with LACP bonding for VLAN 78 2025-11-29 17:23:59 +00:00
25cc7a4dae Add host3 network interfaces config with LACP bonding for VLAN 40 2025-11-29 17:23:54 +00:00
7c5d65558b Add host2 network interfaces config with LACP bonding for VLAN 34 2025-11-29 17:23:44 +00:00
9ddf594862 Add host1 network interfaces config with LACP bonding 2025-11-29 17:20:38 +00:00