Complete Lab Fixes - L2 and L3 VXLAN Fully Operational #14

Merged
Damien merged 87 commits from fix-bgp-and-mlag into main 2025-11-30 10:24:29 +00:00
Showing only changes of commit b6daa30283 - Show all commits

View File

@@ -72,22 +72,30 @@ topology:
mgmt-ipv4: 172.16.0.101 mgmt-ipv4: 172.16.0.101
image: alpine:latest image: alpine:latest
exec: exec:
# Create bonded interface with VLAN 40 tagging for L2 VXLAN test
- ip link add bond0 type bond mode balance-rr - ip link add bond0 type bond mode balance-rr
- ip link set eth1 master bond0 - ip link set eth1 master bond0
- ip link set eth2 master bond0 - ip link set eth2 master bond0
- ip link set bond0 up - ip link set bond0 up
- ip addr add 10.40.40.101/24 dev bond0 # Add VLAN 40 interface on top of bond0
- ip link add link bond0 name bond0.40 type vlan id 40
- ip link set bond0.40 up
- ip addr add 10.40.40.101/24 dev bond0.40
host2: host2:
kind: linux kind: linux
mgmt-ipv4: 172.16.0.102 mgmt-ipv4: 172.16.0.102
image: alpine:latest image: alpine:latest
exec: exec:
# Create bonded interface with VLAN 34 tagging for L3 VXLAN test (VRF gold)
- ip link add bond0 type bond mode balance-rr - ip link add bond0 type bond mode balance-rr
- ip link set eth1 master bond0 - ip link set eth1 master bond0
- ip link set eth2 master bond0 - ip link set eth2 master bond0
- ip link set bond0 up - ip link set bond0 up
- ip addr add 10.34.34.102/24 dev bond0 # Add VLAN 34 interface on top of bond0
- 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 default via 10.34.34.1
host3: host3:
@@ -95,22 +103,30 @@ topology:
mgmt-ipv4: 172.16.0.103 mgmt-ipv4: 172.16.0.103
image: alpine:latest image: alpine:latest
exec: exec:
# Create bonded interface with VLAN 40 tagging for L2 VXLAN test
- ip link add bond0 type bond mode balance-rr - ip link add bond0 type bond mode balance-rr
- ip link set eth1 master bond0 - ip link set eth1 master bond0
- ip link set eth2 master bond0 - ip link set eth2 master bond0
- ip link set bond0 up - ip link set bond0 up
- ip addr add 10.40.40.103/24 dev bond0 # Add VLAN 40 interface on top of bond0
- ip link add link bond0 name bond0.40 type vlan id 40
- ip link set bond0.40 up
- ip addr add 10.40.40.103/24 dev bond0.40
host4: host4:
kind: linux kind: linux
mgmt-ipv4: 172.16.0.104 mgmt-ipv4: 172.16.0.104
image: alpine:latest image: alpine:latest
exec: exec:
# Create bonded interface with VLAN 78 tagging for L3 VXLAN test (VRF gold)
- ip link add bond0 type bond mode balance-rr - ip link add bond0 type bond mode balance-rr
- ip link set eth1 master bond0 - ip link set eth1 master bond0
- ip link set eth2 master bond0 - ip link set eth2 master bond0
- ip link set bond0 up - ip link set bond0 up
- ip addr add 10.78.78.104/24 dev bond0 # Add VLAN 78 interface on top of bond0
- 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 default via 10.78.78.1
links: links: