Example: interop1: pppoe client¶
r1
hostname r1
vrf def v1
rd 1:1
exit
prefix-list p1
permit 0.0.0.0/0
exit
int di1
enc ppp
ppp ip4cp open
vrf for v1
ipv4 addr 3.3.3.3 255.255.255.0
ppp ip4cp local 0.0.0.0
ipv4 gateway-prefix p1
exit
int eth1
p2poe client di1
exit
r2
hostname r2
ip routing
ipv6 unicast-routing
interface Loopback0
ip address 2.2.2.1 255.255.255.255
exit
ip local pool p1 2.2.2.11 2.2.2.99
interface virtual-template1
ip unnumbered Loopback0
peer default ip address pool p1
exit
vpdn enable
bba-group pppoe global
virtual-template 1
ac name inet
exit
interface gigabit1
pppoe enable group global
no shutdown
exit
r1 tping 100 60 2.2.2.1 vrf v1
- Install ContainerLab as described here
- Fetch intop1-pppoe01 file
- Launch ContainerLab
intop1-pppoe01.yml
topology:
containerlab deploy --topo intop1-pppoe01.yml
intop1-pppoe01.yml
topology:
containerlab destroy --topo intop1-pppoe01.yml