diff --git a/evpn-lab.clab.yml b/evpn-lab.clab.yml index 8538721..22d11a0 100644 --- a/evpn-lab.clab.yml +++ b/evpn-lab.clab.yml @@ -71,47 +71,29 @@ topology: kind: linux mgmt-ipv4: 172.16.0.101 image: alpine:latest - exec: - - ip link add bond0 type bond mode balance-rr - - ip link set eth1 master bond0 - - ip link set eth2 master bond0 - - ip link set bond0 up - - ip addr add 10.40.40.101/24 dev bond0 + binds: + - configs/host1-interfaces:/etc/network/interfaces host2: kind: linux mgmt-ipv4: 172.16.0.102 image: alpine:latest - exec: - - ip link add bond0 type bond mode balance-rr - - ip link set eth1 master bond0 - - ip link set eth2 master bond0 - - ip link set bond0 up - - ip addr add 10.34.34.102/24 dev bond0 - - ip route add default via 10.34.34.1 + binds: + - configs/host2-interfaces:/etc/network/interfaces host3: kind: linux mgmt-ipv4: 172.16.0.103 image: alpine:latest - exec: - - ip link add bond0 type bond mode balance-rr - - ip link set eth1 master bond0 - - ip link set eth2 master bond0 - - ip link set bond0 up - - ip addr add 10.40.40.103/24 dev bond0 + binds: + - configs/host3-interfaces:/etc/network/interfaces host4: kind: linux mgmt-ipv4: 172.16.0.104 image: alpine:latest - exec: - - ip link add bond0 type bond mode balance-rr - - ip link set eth1 master bond0 - - ip link set eth2 master bond0 - - ip link set bond0 up - - ip addr add 10.78.78.104/24 dev bond0 - - ip route add default via 10.78.78.1 + binds: + - configs/host4-interfaces:/etc/network/interfaces links: # Spine1 to Leaf connections (underlay fabric)