← BACK TO LEARN / THE BASICS

Private IP address ranges explained

Learn the reserved private, loopback, link-local and shared address ranges, and why they never appear as your public IP.

By IPNIXAPublished Updated

Addresses reserved for local networks

Three IPv4 blocks are reserved for private networks by RFC 1918. Anyone can use them inside a home, office or data center, so the same private address exists in millions of networks at once.

Because they are not unique, private addresses are not routed on the public internet. A router translates them to its public address before traffic leaves the network. That is why IPNIXA never shows a 192.168 address as your public IP.

Private IPv4 ranges (RFC 1918)
RangeCIDR blockAddressesWhere you typically see it
10.0.0.0 – 10.255.255.25510.0.0.0/816,777,216Large company networks, cloud virtual networks, some home routers
172.16.0.0 – 172.31.255.255172.16.0.0/121,048,576Business networks; Docker’s default bridge network uses 172.17.0.0/16
192.168.0.0 – 192.168.255.255192.168.0.0/1665,536Most home and small-office routers
How a home router shares one public IP addressYOUR LOCAL NETWORK · PRIVATE ADDRESSESLaptop192.168.1.10Phone192.168.1.11TV192.168.1.12Home router · NATLAN 192.168.1.1WAN 203.0.113.42one public addressInternetWebsite or online servicesees 203.0.113.42
Network address translation: every device at home has its own private address, but websites only see the router’s public address. The addresses shown are reserved documentation examples.

Other special IPv4 ranges

Several more blocks are reserved for specific purposes. Recognizing them makes network settings and error messages much easier to read.

Special-purpose IPv4 ranges you may meet
BlockPurposeWhat it tells you
127.0.0.0/8Loopback127.0.0.1 always means “this device”
169.254.0.0/16Link-local (automatic private addressing)The device could not get an address from a DHCP server
100.64.0.0/10Shared address space (RFC 6598)Your provider uses carrier-grade NAT
192.0.2.0/24, 198.51.100.0/24, 203.0.113.0/24Documentation (RFC 5737)Examples in manuals and guides, including the local demo of IPNIXA
224.0.0.0/4MulticastOne-to-many traffic such as some streaming and discovery protocols

The IPv6 equivalents

IPv6 has unique local addresses in fc00::/7, in practice beginning with fd, for internal networks. Every IPv6 interface also has a link-local address beginning with fe80, used only on the local link, and ::1 is the IPv6 loopback address.

Unlike in most IPv4 homes, IPv6 devices usually also receive globally routable addresses directly. Privacy extensions rotate the device-specific part of those addresses, and the router’s firewall still decides which incoming connections are allowed.

How to tell whether an address is private

You can classify most IPv4 addresses by their first one or two numbers.

  1. If it starts with 10, it is private.
  2. If it starts with 172, look at the second number: 16 to 31 means private; anything else (for example 172.217) is public address space.
  3. If it starts with 192.168, it is private.
  4. If it starts with 100 and the second number is 64 to 127, it is the carrier-grade NAT range.
  5. If it starts with 169.254, the device gave itself an address because DHCP failed.
  6. For IPv6, fd… and fe80… are local; addresses starting with 2 or 3 are normally global.

Why this matters in practice

If a guide asks for “your IP” to connect to a device at home from elsewhere, a private address will not work from outside the network; port forwarding, a VPN or a remote-access service is needed. Inside the network, the private address is the right one.

A 169.254 address is a troubleshooting clue: the device is connected to the network but received no configuration. Restart the router, reconnect to the network, or check that the router’s DHCP server is enabled.

Choosing a range for your own network

Address conflicts happen when two networks joined by a VPN use the same private range. Choosing a less common block, such as a random 10.x.y.0/24, for a home lab reduces that risk.

Frequently asked questions

Is 192.168.1.1 my IP address?

It is usually your router’s local address inside your network, not your public IP. Your devices have addresses next to it, such as 192.168.1.10, and the internet sees the router’s public address.

Can a website see my private IP address?

Normally no. Requests reach websites from your public address. Browsers also hide local addresses in WebRTC by default, replacing them with random names.

Why does my device have a 169.254 address?

It could not obtain an address from a DHCP server, so it assigned itself a link-local address. Reconnect to the network or restart the router; if it persists, check the router’s DHCP settings.

Are all addresses starting with 172 private?

No. Only 172.16.0.0 to 172.31.255.255 is private. Addresses such as 172.217.x.x or 172.67.x.x are public address space.

Sources and further reading