Fix static routes for inter-VLAN reachability

This commit is contained in:
2025-11-30 10:07:13 +00:00
parent d0db291ede
commit 3e7759b655

View File

@@ -108,7 +108,7 @@ topology:
- ip link add link bond0 name bond0.34 type vlan id 34
- ip link set bond0.34 up
- ip addr add 10.34.34.102/24 dev bond0.34
- ip route add default via 10.34.34.1
- ip route add 10.78.78.0/24 via 10.34.34.1
host3:
kind: linux
@@ -153,7 +153,7 @@ topology:
- ip link add link bond0 name bond0.78 type vlan id 78
- ip link set bond0.78 up
- ip addr add 10.78.78.104/24 dev bond0.78
- ip route add default via 10.78.78.1
- ip route add 10.34.34.0/24 via 10.78.78.1
links:
# Spine1 to Leaf connections (underlay fabric)