Files
ContainerLab/pe-exp-8.clab.yml
T
2026-05-02 19:17:31 +02:00

66 lines
2.0 KiB
YAML

name: pe-exp-8
topology:
nodes:
rt1:
kind: cisco_c8000v
image: registry.uttnetgroup.fr/ung/vrnetlab/cisco_c8000v:17.13.01a
rt2:
kind: cisco_c8000v
image: registry.uttnetgroup.fr/ung/vrnetlab/cisco_c8000v:17.13.01a
sw1:
kind: cisco_iol
type: l2
image: registry.uttnetgroup.fr/ung/vrnetlab/cisco_iol:L2-17.15.1
sw2:
kind: cisco_iol
type: l2
image: registry.uttnetgroup.fr/ung/vrnetlab/cisco_iol:L2-17.15.1
client20.1:
kind: linux
image: ghcr.io/srl-labs/network-multitool:latest
exec:
- ip link set eth1 up
- ip addr add 10.0.20.1/24 dev eth1
client20.2:
kind: linux
image: ghcr.io/srl-labs/network-multitool:latest
exec:
- ip link set eth1 up
- ip addr add 10.0.20.2/24 dev eth1
client20.3:
kind: linux
image: ghcr.io/srl-labs/network-multitool:latest
exec:
- ip link set eth1 up
- ip addr add 10.0.20.3/24 dev eth1
client20.4:
kind: linux
image: ghcr.io/srl-labs/network-multitool:latest
exec:
- ip link set eth1 up
- ip addr add 10.0.20.4/24 dev eth1
client30.1:
kind: linux
image: ghcr.io/srl-labs/network-multitool:latest
exec:
- ip link set eth1 up
- ip addr add 10.0.30.1/24 dev eth1
client30.2:
kind: linux
image: ghcr.io/srl-labs/network-multitool:latest
exec:
- ip link set eth1 up
- ip addr add 10.0.30.2/24 dev eth1
links:
- endpoints: [ "rt1:eth1", "rt2:eth1" ]
- endpoints: [ "rt1:eth2", "sw1:Ethernet0/1" ]
- endpoints: [ "sw1:Ethernet0/2", "client20.1:eth1" ]
- endpoints: [ "sw1:Ethernet0/3", "client20.2:eth1" ]
- endpoints: [ "rt2:eth2", "sw2:Ethernet0/1" ]
- endpoints: [ "sw2:Ethernet0/2", "client20.3:eth1" ]
- endpoints: [ "sw2:Ethernet0/3", "client20.4:eth1" ]
- endpoints: [ "client30.1:eth1", "sw1:Ethernet1/1" ]
- endpoints: [ "client30.2:eth1", "sw2:Ethernet1/1" ]