Private IP Address Ranges

Complete reference for private, reserved, and special-use IP address ranges. Includes RFC 1918 ranges, IPv6 ULA space, APIPA, and loopback.

RFC 1918 — Private IPv4 Ranges

BlockRangeMaskTotal IPsTypical Use
10.0.0.0/8 10.0.0.0 – 10.255.255.255 255.0.0.0 16,777,216 Enterprises, data centres, cloud VPCs
172.16.0.0/12 172.16.0.0 – 172.31.255.255 255.240.0.0 1,048,576 Mid-size organisations, Docker default bridge
192.168.0.0/16 192.168.0.0 – 192.168.255.255 255.255.0.0 65,536 Home networks, small office LANs

Special-Use IPv4 Ranges (IANA)

BlockPurposeRFC
127.0.0.0/8Loopback — packets never leave the hostRFC 1122
169.254.0.0/16APIPA / Link-local — assigned when DHCP failsRFC 3927
100.64.0.0/10Carrier-grade NAT (CGNAT)RFC 6598
192.0.0.0/24IETF Protocol AssignmentsRFC 6890
192.0.2.0/24TEST-NET-1 — documentation and examplesRFC 5737
198.51.100.0/24TEST-NET-2 — documentation and examplesRFC 5737
203.0.113.0/24TEST-NET-3 — documentation and examplesRFC 5737
224.0.0.0/4IPv4 MulticastRFC 5771
240.0.0.0/4Reserved (future use)RFC 1112
255.255.255.255/32Limited broadcastRFC 0919
0.0.0.0/8This host on this networkRFC 1122

IPv6 Private & Reserved Ranges

PrefixPurposeRFC
::1/128Loopback — equivalent to 127.0.0.1RFC 4291
fe80::/10Link-local — auto-assigned, non-routableRFC 4291
fc00::/7Unique Local Addresses (ULA) — private spaceRFC 4193
fd00::/8ULA — locally assigned range (fd prefix)RFC 4193
2001:db8::/32Documentation and examples onlyRFC 3849
2002::/166to4 tunnelingRFC 3056
ff00::/8MulticastRFC 4291
::/128Unspecified addressRFC 4291

What is RFC 1918?

RFC 1918, published in 1996, defines three blocks of IPv4 address space reserved for private use. These addresses are guaranteed to never be assigned as public internet addresses, so any device or router connected to the internet will not forward packets destined for them. They are free to use on any internal network, and Network Address Translation (NAT) is used to allow private hosts to access the public internet through a single public IP address.

How to choose between 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16

The key differentiator is address space size. Use 10.0.0.0/8 for large enterprise networks, data centres, and cloud VPCs where you need millions of addresses across hundreds of subnets. Use 172.16.0.0/12 for medium-sized networks — this is also Docker's default bridge network range. Use 192.168.0.0/16 for home networks and small offices. Avoid overlapping these ranges if you ever plan to connect multiple sites with VPNs.

What is APIPA (169.254.0.0/16)?

Automatic Private IP Addressing (APIPA) is a Windows feature (also implemented in other OSes) that self-assigns an address in the 169.254.0.0/16 range when a host fails to obtain an address from a DHCP server. If you see a 169.254.x.x address on a network interface, it almost always means DHCP is not reachable — either the DHCP server is down, the network cable is unplugged, or the host is isolated from the DHCP server by a routing issue.