Course contentsShow
← Computer Science
Lesson 1465 of 2,87234. Internet Protocol SuiteFree lesson

Private and Public IP Address Ranges

Understanding RFC 1918 private address spaces and the distinction from publicly routable addresses.

Private and Public IP Address Ranges

You'll learn how to distinguish between IP addresses meant for the internet versus those reserved for private networks, and why this separation matters.

The Core Distinction

Not all IP addresses are created equal. Some addresses are publicly routable—meaning they can be used on the global internet—while others are private, reserved exclusively for use within local networks (your home, office, or campus network).

Think of it like phone numbers: some numbers reach the public phone network, while others are internal extensions within a building. Both work, but only public numbers can receive calls from outside.

RFC 1918 Private Address Spaces

The Internet Engineering Task Force defined three blocks of IPv4 addresses that are never routed on the internet:

  • 10.0.0.0/8 — 10.0.0.0 to 10.255.255.255 (~16 million addresses)
  • 172.16.0.0/12 — 172.16.0.0 to 172.31.255.255 (~1 million addresses)
  • 192.168.0.0/16 — 192.168.0.0 to 192.168.255.255 (~65,000 addresses)

These ranges are free for anyone to use internally without coordination or registration. Your home router likely assigns devices addresses like 192.168.1.100.

Why This Matters

By keeping private addresses separate, organizations can:

  • Reuse addresses: Thousands of companies can all use 10.1.1.1 internally without conflict
  • Conserve public IPs: A company with 500 devices might only need one or two public addresses
  • Add security: Private networks are isolated from direct internet access by default

Devices with private IPs need Network Address Translation (NAT) at the router to communicate with the internet, translating their private address to a public one.

Key Takeaway: Private IP ranges (RFC 1918) are reserved for internal networks and cannot be routed on the public internet, while all other addresses are potentially publicly routable and must be globally unique.