Visual RFC.
ALL RFCs / RFC 1918
Read the RFC ↗
RFC 1918 / PRIVATE IPv4 · SCOPE AND BOUNDARIES

Read the three reserved prefixes

02

A slash prefix fixes the leading bits of an IPv4 address. The remaining bits vary within the block; a 12-bit prefix can split an eight-bit octet.

RFC 1918 · § 3EXAMPLE
5 / 5
Read the three reserved prefixesThe reserved ranges are10/8,172.16/12 and192.168/16, with16777216,1048576and65536address values. Bit bars use width16perbit for32bits and distinguish fixed8/12/16from variable24/20/16. The172.20.1.9 example shares first12bits101011000001. Boundaries172.15.255.255and172.32.0.0are outside these blocks, not automatically public or assignable.Three blocks · exact prefix boundaries172.15.255.255OUTSIDE172.16.0.0INSIDE172.31.255.255INSIDE172.32.0.0OUTSIDEOUTSIDE = not RFC 1918; no public-route promise
05
Check the neighboring values.

172.15.255.255 and 172.32.0.0 are outside RFC 1918; 172.16.0.0 and 172.31.255.255 are inside. Outside does not mean public or assigned.

Source for this drawing: RFC 1918 · Read RFC section 3 ↗

Protocol participantThreat or exceptionProtocol controlSimplified drawings · precise section references
New to this? Start hereA quick picture + helpful background

A message needs an address.

Think of a packet as a small addressed envelope. Devices pass it onward; transport protocols decide what delivery promises an application gets.

Helpful first, if these ideas are unfamiliar

These pictures are analogies to help you learn. The linked RFC explains the actual rules.

Related RFCs and changes

“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.

KEY POINT

172.16/12 includes second octets 16 through 31—not all of 172/8.

  • The reserved blocks are 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16. Their inclusive ranges are exactly those listed in §3.
  • They contain 2^24, 2^20 and 2^16 address values respectively. These are block sizes, not counts of usable host addresses on every possible subnet.
  • The original “24-bit block”, “20-bit block” and “16-bit block” names count variable bits; modern slash notation counts fixed prefix bits. Addresses outside these three blocks are not thereby guaranteed globally routable or free to use.
DETAILS

A chosen 172.20.1.9 example has bits 10101100 00010100 00000001 00001001. Its first twelve bits are 10101100 0001, matching 172.16/12. The prefix bar is proportional to bit counts; the range table is not a map of physical networks. Do not assign a displayed block endpoint to a host without applying that subnet’s own rules.

Read the RFC section ↗

All chapters in RFC 1918

Drawing view

Scroll the drawing to see every part. Playback controls stay above it.

RFC 9700 / CHAPTERS

Chapters

For full details, tables, algorithms, and exceptions, read the original RFC.

RFC status and corrections ↗