containerlabs/wan-lab/clab-wan-lab01.clab.yml

59 lines
1.3 KiB
YAML

name: clab-wan-lab01
topology:
kinds:
linux:
image: ghcr.io/hellt/network-multitool
nodes:
#Core Routers
p001:
#Loopback 172.18.1.1/32
kind: vr-vjunosswitch
image: vrnetlab/vr-vjunosswitch:23.2R1.14
startup-config: p001.junos.cfg
p002:
#Loopback 172.18.1.2/32
kind: vr-vjunosswitch
image: vrnetlab/vr-vjunosswitch:23.2R1.14
startup-config: p002.srl.cli
#PE Routers
pe001:
#Loopback 172.18.10.1/32
kind: vr-vjunosswitch
image: vrnetlab/vr-vjunosswitch:23.2R1.14
startup-config: pe001.junos.cfg
pe002:
#Loopback 172.18.10.2/32
kind: vr-vjunosswitch
image: vrnetlab/vr-vjunosswitch:23.2R1.14
startup-config: pe002.junos.cfgg
#Clients
client1:
kind: linux
client2:
kind: linux
links:
#Core Interconnect
- endpoints: ["p001:eth1", "p002:eth1"] # 172.16.1.0/30
#Core <-> PE
#<-p001->
- endpoints: ["p001:eth2", "pe001:eth1"] # 172.16.2.0/30
- endpoints: ["p001:eth3", "pe002:eth1"] # 172.16.2.4/30
#<-p002->
- endpoints: ["p002:eth2", "pe001:eth2"] # 172.16.3.0/30
- endpoints: ["p002:eth3", "pe002:eth2"] # 172.16.3.4/30
#pe <-> clients
- endpoints: ["pe001:eth3", "client1:eth1"]
- endpoints: ["pe002:eth3", "client2:eth1"]