E01Lab12:20In production

Build the course lab in 10 minutes (Containerlab setup)

In production now

Subscribe and you'll get it the day it goes live. A new episode every week.

Subscribe on YouTube

About this episode

Build the Ping Telecom course lab: 13 routers (P, PE, route reflector and customer CEs) running real FRRouting software in Containerlab, on one Ubuntu VM. We install everything, deploy the lab, log into our first router, and learn how stages let you jump to any episode.

What you'll learn

  • Explain what Containerlab and FRRouting are, and why the course uses them.
  • Explain why the lab needs Linux (the routers share the host kernel, and MPLS forwarding uses the kernel modules mpls_router and mpls_iptunnel).
  • Install Docker + Containerlab and load the MPLS kernel modules on Ubuntu 22.04/24.04.
  • Deploy, inspect and destroy the 13-router Ping Telecom lab with containerlab.
  • Open a router's CLI with docker exec … vtysh and read show running-config and show interface brief.
  • Use ./stage.sh to list stages and jump to any episode's starting point.

Cheat sheet

  • Requirements: Ubuntu 22.04/24.04 VM · 4 vCPU · 8 GB RAM. Not Docker Desktop, not WSL2: you need a kernel with mpls_router + mpls_iptunnel.
  • Install (once): curl -sL https://containerlab.dev/setup | sudo -E bash -s "all" → sudo modprobe mpls_router → sudo modprobe mpls_iptunnel → printf "mpls_router\nmpls_iptunnel\n" | sudo tee /etc/modules-load.d/mpls.conf → log out and back in.
  • Start: sudo containerlab deploy -t ping-isp.clab.yml (loads whatever is in configs/active/).
  • Status: sudo containerlab inspect -t ping-isp.clab.yml: 13 nodes, all running.
  • Router CLI: docker exec -it clab-ping-isp-<NODE> vtysh (e.g. clab-ping-isp-PE1). One-shot: add -c "show interface brief". Leave with exit.
  • First commands: show running-config · show interface brief. Ignore eth0 (management).
  • Stages: ./stage.sh lists them · ./stage.sh 06-addressing loads one and redeploys · ./stage.sh 00-base returns to the start.
  • Stop: sudo containerlab destroy -t ping-isp.clab.yml (removes containers; your files stay).
  • Topology file: binds mount configs/daemons and configs/active/<NODE>.conf into each router · exec enables MPLS sysctls · links = 18 virtual cables.
  • Daemons enabled: zebra, bgpd, isisd, ldpd, bfdd (staticd runs by default).
Technicians in Hyderabad open a fibre splice tray to find a fault in an optical cable.

Stuck on a lab? Book a trainer.

Screen-share your lab with a Ping Academy trainer and fix it together. From ₹999, times in IST.