Example: slaac¶
r1
hostname r1
vrf def v1
rd 1:1
exit
int eth1
vrf for v1
ipv6 addr 1234::1 ffff::
exit
int lo0
vrf for v1
ipv6 addr 4444::4 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
exit
r2
hostname r2
vrf def v1
rd 1:1
exit
prefix-list p6
permit ::/0
exit
int eth1
vrf for v1
ipv6 addr 3333::3 ffff::
ipv6 slaac ena
ipv6 gateway-prefix p6
exit
r2 tping 100 20 1234::1 vrf v1
r2 tping 100 5 4444::4 vrf v1
- Install ContainerLab as described here
- Fetch conn-slaac file
- Launch ContainerLab
conn-slaac.yml
topology:
containerlab deploy --topo conn-slaac.yml
conn-slaac.yml
topology:
containerlab destroy --topo conn-slaac.yml