Skip to the workspace
Pebellslearn by building
IP Addressing  ›  Lesson

Public vs Private Addresses

Public vs Private Addresses 12 minPrivate IPv4 ranges can be reused inside any organisation but are never routed on the internet, while public addresses are globally unique.

network engineer / Public vs Private Addresses

Explore each scene at your own pace.

01 · The rule

The rule

Public vs Private Addresses

Every laptop at Kite Studio has an address starting 192.168.10. So does the laptop of a designer in the office next door — maybe the very same 192.168.10.57. Nothing clashes, because those addresses never appear on the internet. Only the studio router's 203.0.113.10 does. Telling the two kinds apart at a glance is a daily skill.

The rule

Private addresses stay inside; only public addresses travel the internet.

Private addresses are three IPv4 ranges set aside for use inside any organisation, free and without asking anyone. Internet routers refuse to carry them, so the same private address can be reused in millions of buildings:

Range CIDR Size
10.0.0.0 – 10.255.255.255 10.0.0.0/8 about 16.7 million addresses
172.16.0.0 – 172.31.255.255 172.16.0.0/12 about 1 million addresses
192.168.0.0 – 192.168.255.255 192.168.0.0/16 65,536 addresses

Public addresses are unique across the whole internet. They are allocated through regional registries to ISPs and organisations, and they are what internet routers carry. Kite Studio rents exactly one, 203.0.113.10, from its ISP. (The 203.0.113.x and 198.51.100.x blocks are reserved for documentation, so this course uses them to stand in for real public addresses.)

Other special ranges you will meet:

  • 127.0.0.0/8 — loopback; 127.0.0.1 means "this machine itself".
  • 169.254.0.0/16 — link-local, self-assigned when DHCP fails.
  • 100.64.0.0/10 — shared space some ISPs use for their own large-scale NAT. It is neither your private LAN nor a public address.

In IPv6 the idea is similar but less needed: most IPv6 addresses are globally unique, and fc00::/7 (in practice fd00::/8) plays the private role.

Scene 1 of 5
Hover to wake the cannons. Drag to move, or use arrow keys when focused. Press Enter to fire a shot.