The PingLabz Lab IP Scheme

The PingLabz Lab IP Scheme

Every PingLabz lab, cheat-sheet PDF, and reference article uses the same IP scheme. This Page is the source of truth. Bookmark it. When you spin up the next lab and the addresses look strangely familiar, this is why - we deliberately reuse the same blocks across the entire library so labs reinforce each other instead of asking you to relearn a new addressing scheme every time.

The scheme is built from RFC 1918 private space (10.0.0.0/8 primarily), RFC 5737 documentation space (192.0.2.0/24 for any inter-AS or public-internet simulation), and consistent role conventions across the second octet so the address tells you what it is at a glance.

The full scheme

UseRange / exampleNotes
Loopbacks (router-ID and management)10.255.0.1, 10.255.0.2, 10.255.0.3, ...One per router. Used as OSPF/EIGRP router-IDs and BGP update source.
Intra-AS point-to-point transit10.30.30.0/30, 10.30.31.0/30, .../30 per link. Second octet 30 signals "transit".
LAN segment (primary)10.20.0.0/24Default user / host LAN. Hosts live here.
LAN segment (secondary)10.20.1.0/24Second LAN for inter-VLAN routing labs and dual-LAN scenarios.
Inter-area summary (OSPF)10.40.0.0/16Used in multi-area labs to demonstrate summarization.
External / redistributed172.20.0.0/16, e.g. 172.20.10.0/24Outside the OSPF / EIGRP domain. Demonstrates redistribution.
Inter-AS eBGP192.0.2.0/30RFC 5737 TEST-NET-1. Safe to use in any documentation or lab.
Public test address ("the internet")192.0.2.1Simulates a default-gateway upstream or remote public host.

Protocol identifiers

UseValue
OSPF process ID100
OSPF backbone area0
OSPF stub area30
OSPF NSSA area40
EIGRP autonomous system (named mode)100
BGP local AS65001
BGP remote AS65002
HSRP / VRRP / GLBP group10, 20, 30 (HSRP / VRRP / GLBP respectively in cross-protocol labs)

VLAN scheme

VLAN IDRole
10Data
20Voice
99Management
999Native trunk (not used by any access port)

Credentials

Every router and switch in PingLabz labs ships with the same baseline credentials. This is not a production pattern - in production you would use a unique secret per device and centralized AAA. For labs the priority is fast access, not credential rotation.

UseValue
Console / vty usernamepinglabz
Console / vty passwordPingLabz!23
Enable secretPingLabz!23
BGP / OSPF authentication key namePINGLABZ_KEY or protocol-specific (PINGLABZ_BGP, PINGLABZ_OSPF)
BGP / IPsec shared secretSTRONG_SECRET

How to read the second octet

You can usually tell what a PingLabz lab address is for at a glance:

  • 10.20.x.x - host LAN segments
  • 10.30.x.x - point-to-point transit links
  • 10.40.x.x - inter-area / summarized networks
  • 10.255.0.x - loopbacks (router-IDs, management)
  • 172.20.x.x - external / redistributed routes
  • 192.0.2.x - inter-AS or public-internet simulation

The CCNA Base Topology address layout

The reusable five-node base topology that powers most labs in the CCNA Labs library uses this scheme out of the box:

SegmentSubnetDevices
R1 Loopback010.255.0.1/32R1
R2 Loopback010.255.0.2/32R2
R3 Loopback010.255.0.3/32R3
LAN (via SW1)10.20.0.0/24R1 e0/0 (.1), R2 e0/0 (.2), HOST1 eth0 (.50 by convention)
P2P R2-R310.30.30.0/30R2 e0/1 (.1), R3 e0/0 (.2)
Spare LAN (via SW2)10.20.1.0/24R3 e0/1 (unconfigured by default)

Frequently asked questions

Why these blocks specifically?

RFC 1918 (private 10/8) gives us enough address space to never run out. The second-octet conventions (20/30/40) are arbitrary but consistent. RFC 5737 (192.0.2.0/24) is officially "documentation only" address space, so it is safe to use as the public-internet simulation without any risk of colliding with real assigned space.

Can I change the scheme in my own labs?

Yes. The .yaml files we ship are starting points. Every lab also includes the underlying configurations as a downloadable .txt bundle, so you can swap addresses to fit your own environment. The recipes in the lab guides will still work; just substitute your addresses where ours appear.

Why not use 192.168.x.x for LAN segments?

The 10.20.0.0/24 block is in the same private space and works identically. We picked 10/8 because it gives us room to scale a single lab to a campus-sized address plan without changing the second octet conventions. Real enterprise networks tend to live in 10/8 too.

Where to go next

Great! You’ve successfully signed up.
Welcome back! You've successfully signed in.
You've successfully subscribed to Ping Labz.
Your link has expired.
Success! Check your email for magic link to sign-in.
Success! Your billing info has been updated.
Your billing was not updated.