Commit Graph

96 Commits

Author SHA1 Message Date
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
417b3fc245 Add comprehensive host interface configuration documentation
Document the persistent interface file approach using binds, explaining:
- Dual-homing architecture with LACP bonding
- VLAN tagging configuration on hosts
- Interface file format and parameters
- Deployment process and requirements
- Testing and troubleshooting procedures
2025-11-29 17:25:28 +00:00
383a631d92 Update topology to use binds for host interface configuration
Replace exec commands with binds mounting /etc/network/interfaces files.
This provides cleaner, more maintainable configuration that properly
handles LACP bonding and VLAN tagging on Alpine Linux hosts.

All hosts now:
- Mount their interface config from hosts/ directory
- Install required packages (ifupdown, bonding, vlan)
- Load kernel modules (bonding, 8021q)
- Bring up interfaces with ifup -a
2025-11-29 17:24:54 +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
31b52d2417 Fix host bonding: use mode 4 instead of mode 802.3ad for Alpine Linux 2025-11-29 17:04:32 +00:00
34b6b7bdd6 Fix command syntax - remove invalid 'show mlag interfaces Port-Channel1' 2025-11-29 16:53:08 +00:00
c3aef36a8e Update troubleshooting guide
Improve formatting and add details for clarity.
2025-11-29 16:39:21 +00:00
fb682fdb19 Add comprehensive EVPN-VXLAN troubleshooting guide 2025-11-29 12:42:54 +00:00
ba3ed79363 Add LACP fallback configuration to leaf configs 2025-11-28 16:20:35 +00:00
413960b8e0 Fix leaf2: Add LACP fallback to Port-Channel1 for dual-homing 2025-11-28 16:17:39 +00:00
50434e7cc7 Fix leaf1: Add LACP fallback to Port-Channel1 for dual-homing 2025-11-28 16:16:27 +00:00
bcf76e4cac Add 'no shutdown' to Port-Channel1 on leaf8 - ALL CONFIGS COMPLETE 2025-11-28 16:01:13 +00:00
05e8970753 Add 'no shutdown' to Port-Channel1 on leaf7 2025-11-28 16:00:31 +00:00
8b837ac2fa Add 'no shutdown' to Port-Channel1 on leaf6 2025-11-28 15:59:47 +00:00
2e2c4e677c Add 'no shutdown' to Port-Channel1 on leaf5-8
Batch update: Adding 'no shutdown' to all remaining Port-Channel1 interfaces
2025-11-28 15:58:14 +00:00
57b5766ac0 Add 'no shutdown' to Port-Channel1 on leaf4 2025-11-28 15:57:33 +00:00
6efadaf510 Add 'no shutdown' to Port-Channel1 on leaf3 2025-11-28 15:56:53 +00:00
b2f23fd803 Add 'no shutdown' to Port-Channel1 on leaf2 2025-11-28 15:53:18 +00:00
326638fc8d Add 'no shutdown' to Port-Channel1 on leaf1
CRITICAL FIX: Port-Channel1 was administratively down.
Added 'no shutdown' command to enable the interface.
2025-11-28 15:52:22 +00:00
da1fffdb17 Restore LACP mode for Port-Channel1 on leaf8
- Changed channel-group 1 from 'mode on' to 'mode active' for LACP
- Changed Port-Channel1 from access to trunk mode
- Added switchport trunk allowed vlan 78
- This matches the host4 LACP bond configuration
2025-11-28 14:48:14 +00:00
82b0fa95b4 Restore LACP mode for Port-Channel1 on leaf7
- Changed channel-group 1 from 'mode on' to 'mode active' for LACP
- Changed Port-Channel1 from access to trunk mode
- Added switchport trunk allowed vlan 78
- This matches the host4 LACP bond configuration
2025-11-28 14:46:50 +00:00
e7ee8df0e5 Restore LACP mode for Port-Channel1 on leaf6
- Changed channel-group 1 from 'mode on' to 'mode active' for LACP
- Changed Port-Channel1 from access to trunk mode
- Added switchport trunk allowed vlan 40
- This matches the host3 LACP bond configuration
2025-11-28 14:45:34 +00:00
812d30fcd8 Restore LACP mode for Port-Channel1 on leaf5
- Changed channel-group 1 from 'mode on' to 'mode active' for LACP
- Changed Port-Channel1 from access to trunk mode
- Added switchport trunk allowed vlan 40
- This matches the host3 LACP bond configuration
2025-11-28 14:44:28 +00:00
90644633ea Restore LACP mode for Port-Channel1 on leaf4
- Changed channel-group 1 from 'mode on' to 'mode active' for LACP
- Changed Port-Channel1 from access to trunk mode
- Added switchport trunk allowed vlan 34
- This matches the host2 LACP bond configuration
2025-11-28 14:43:26 +00:00
2b93fd1385 Restore LACP mode for Port-Channel1 on leaf3
- Changed channel-group 1 from 'mode on' to 'mode active' for LACP
- Changed Port-Channel1 from access to trunk mode
- Added switchport trunk allowed vlan 34
- This matches the host2 LACP bond configuration
2025-11-28 14:42:29 +00:00
68bc4e95f7 Restore LACP mode for Port-Channel1 on leaf2
- Changed channel-group 1 from 'mode on' to 'mode active' for LACP
- Changed Port-Channel1 from access to trunk mode
- Added switchport trunk allowed vlan 40
- This matches the host1 LACP bond configuration
2025-11-28 14:41:40 +00:00
f6ad61ab2e Restore LACP mode for Port-Channel1 on leaf1
- Changed channel-group 1 from 'mode on' to 'mode active' for LACP
- Changed Port-Channel1 from access to trunk mode
- Added switchport trunk allowed vlan 40
- This matches the host1 LACP bond configuration
2025-11-28 14:40:57 +00:00
13bb234971 Revert to dual-homing with LACP for all hosts
- All hosts now dual-homed to MLAG pairs using LACP bonding
- host1: connects to leaf1 (eth1) and leaf2 (eth2) - VLAN 40
- host2: connects to leaf3 (eth1) and leaf4 (eth2) - VLAN 34  
- host3: connects to leaf5 (eth1) and leaf6 (eth2) - VLAN 40
- host4: connects to leaf7 (eth1) and leaf8 (eth2) - VLAN 78
- Each host creates bond0 with LACP (mode 802.3ad)
- Proper MAC address assignment per host
2025-11-28 14:40:16 +00:00
f6c9a15653 Simplify hosts: remove bonding, use single-homed connections 2025-11-28 14:27:02 +00:00
0a23b0ddeb Fix host bond interfaces - bring up eth slaves before adding to bond 2025-11-28 14:10:34 +00:00
a027145204 Fix MLAG peer-link on leaf6: change to trunk mode 2025-11-28 11:55:45 +00:00
be3c0d50d8 Fix MLAG peer-link on leaf5: change to trunk mode 2025-11-28 11:55:28 +00:00
f87a403560 Fix MLAG peer-link on leaf2: change to trunk mode 2025-11-28 11:55:11 +00:00
387ba23809 Fix MLAG peer-link on leaf1: change to trunk mode 2025-11-28 11:54:54 +00:00
b586035895 Fix MLAG peer-link on leaf8: change to trunk mode 2025-11-28 11:46:15 +00:00
e7e8dad6ce Fix MLAG peer-link on leaf7: change to trunk mode 2025-11-28 11:45:19 +00:00
3be174807e Fix MLAG peer-link on leaf4: change to trunk mode 2025-11-28 11:44:29 +00:00
ae06beb9b5 Fix MLAG peer-link on leaf3: change to trunk mode 2025-11-28 11:43:45 +00:00