IP addressing plan for our ISP (lab build, part 1)

In production now
Subscribe and you'll get it the day it goes live. A new episode every week.
Subscribe on YouTubeAbout this episode
We design the addressing plan for Ping Telecom, our course ISP: router-numbered loopbacks, link-numbered /31 core links, and a convention that lets you decode any address in two seconds. Then we configure it live in FRR on our Containerlab lab, prove it works, and hit the one ping that addressing alone can't fix.
What you'll learn
- Explain why a service provider needs a deliberate, readable addressing plan, and decode any Ping Telecom core address back to a router and a link.
- Apply the Ping Telecom plan: loopbacks
10.255.0.X/32(X = router number) and core links10.1.<link-id>.0/31(A side.0, B side.1). - Explain why point-to-point links use /31 subnets (RFC 3021): two usable addresses, no network or broadcast address.
- Configure a loopback and /31 core links in FRR's vtysh, and verify them with
show interface brief,show ip route connectedandping. - Explain why a router can reach its directly connected neighbours but not remote loopbacks, and why that calls for an IGP (IS-IS).
Cheat sheet
- Loopbacks:
10.255.0.X/32, X = router number. P1–P4 =.1–.4, PE1–PE4 =.11–.14, RR =.100. - Core links:
10.1.<link-id>.0/31. A side (listed first inADDRESSING.md) =.0, B side =.1. - Decode any core address:
10.1.9.1→ link 9 (P2–PE3) →.1= B side → PE3 eth1. - Why /31 (RFC 3021): on point-to-point links, both addresses are usable; no network or broadcast address. Half the addresses of a /30.
- Why /32 loopbacks: a loopback is one address (the router's identity), not a network.
- CE links: not addressed yet; done in the L3VPN section (Section 6).
- FRR config:
configure terminal→interface lo/interface ethN→ip address A.B.C.D/len→exit/end. Applies instantly. Save withwrite memory. - FRR verify:
show interface brief·show ip route connected·show ip route <address>. - Ping: in vtysh
ping <addr>(stop with Ctrl-C) · from hostdocker exec clab-ping-isp-<node> ping -c 3 <addr>. - IOS-XR:
interface Loopback0·ipv4 address 10.1.1.0 255.255.255.254(or/31) ·no shutdown·commit. - Addresses alone = neighbours only. Remote loopbacks need an IGP (IS-IS, Section 2).

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.