This issue tracks the final implementation of persistent host interface configuration. This is the culmination of extensive troubleshooting documented in issue #11.
The Journey to This Solution
Issue #11 documents the complete troubleshooting process that led to this solution:
Initial LACP bonding failures with Alpine Linux
Discovery that VLAN tagging must be handled by hosts (not switches)
Multiple attempts with exec commands
Final realization that persistent configs are needed
Why This Matters
The binds approach solves multiple problems:
Eliminates timing issues - exec commands run after container start
This represents the production-ready approach for dual-homed host connectivity in the Arista EVPN-VXLAN lab.
## Context & Background
This issue tracks the final implementation of persistent host interface configuration. This is the culmination of extensive troubleshooting documented in issue #11.
### The Journey to This Solution
**Issue #11** documents the complete troubleshooting process that led to this solution:
- Initial LACP bonding failures with Alpine Linux
- Discovery that VLAN tagging must be handled by hosts (not switches)
- Multiple attempts with exec commands
- Final realization that persistent configs are needed
### Why This Matters
The binds approach solves multiple problems:
1. **Eliminates timing issues** - exec commands run after container start
2. **Provides persistence** - configuration survives restarts
3. **Enables reproducibility** - clean deployments every time
4. **Follows IaC principles** - all configuration in git
### Files Changed
**New files:**
- configs/host1-interfaces
- configs/host2-interfaces
- configs/host3-interfaces
- configs/host4-interfaces
- docs/HOST_CONFIGURATION.md
**Modified:**
- evpn-lab.clab.yml (removed exec, added binds)
### Cross-References
- **Detailed troubleshooting**: Issue #11
- **Overall lab fixes**: Issue #1
- **Configuration docs**: docs/HOST_CONFIGURATION.md
This represents the **production-ready** approach for dual-homed host connectivity in the Arista EVPN-VXLAN lab.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
Updated host network configuration from runtime exec commands to persistent interface files mounted via ContainerLab binds feature.
Changes Made
Created persistent interface configuration files for all four hosts:
configs/host1-interfaces- VLAN 40 (10.40.40.101/24)configs/host2-interfaces- VLAN 34 (10.34.34.102/24) with gatewayconfigs/host3-interfaces- VLAN 40 (10.40.40.103/24)configs/host4-interfaces- VLAN 78 (10.78.78.104/24) with gatewayUpdated
evpn-lab.clab.ymltopology:/etc/network/interfacesCreated documentation:
docs/HOST_CONFIGURATION.mdwith complete referenceConfiguration Details
Each host uses:
Benefits
Testing Required
After redeployment:
Related Files
Context & Background
This issue tracks the final implementation of persistent host interface configuration. This is the culmination of extensive troubleshooting documented in issue #11.
The Journey to This Solution
Issue #11 documents the complete troubleshooting process that led to this solution:
Why This Matters
The binds approach solves multiple problems:
Files Changed
New files:
Modified:
Cross-References
This represents the production-ready approach for dual-homed host connectivity in the Arista EVPN-VXLAN lab.