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.
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.
| Range | CIDR block | Addresses | Where you typically see it |
|---|---|---|---|
| 10.0.0.0 – 10.255.255.255 | 10.0.0.0/8 | 16,777,216 | Large company networks, cloud virtual networks, some home routers |
| 172.16.0.0 – 172.31.255.255 | 172.16.0.0/12 | 1,048,576 | Business networks; Docker’s default bridge network uses 172.17.0.0/16 |
| 192.168.0.0 – 192.168.255.255 | 192.168.0.0/16 | 65,536 | Most home and small-office routers |
Other special IPv4 ranges
Several more blocks are reserved for specific purposes. Recognizing them makes network settings and error messages much easier to read.
| Block | Purpose | What it tells you |
|---|---|---|
| 127.0.0.0/8 | Loopback | 127.0.0.1 always means “this device” |
| 169.254.0.0/16 | Link-local (automatic private addressing) | The device could not get an address from a DHCP server |
| 100.64.0.0/10 | Shared address space (RFC 6598) | Your provider uses carrier-grade NAT |
| 192.0.2.0/24, 198.51.100.0/24, 203.0.113.0/24 | Documentation (RFC 5737) | Examples in manuals and guides, including the local demo of IPNIXA |
| 224.0.0.0/4 | Multicast | One-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.
- fd00::/8 (from fc00::/7): unique local addresses for internal use.
- fe80::/10: link-local addresses, present on every IPv6 interface.
- ::1: loopback, the IPv6 version of 127.0.0.1.
- 2001:db8::/32: reserved for documentation examples.
How to tell whether an address is private
You can classify most IPv4 addresses by their first one or two numbers.
- If it starts with 10, it is private.
- 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.
- If it starts with 192.168, it is private.
- If it starts with 100 and the second number is 64 to 127, it is the carrier-grade NAT range.
- If it starts with 169.254, the device gave itself an address because DHCP failed.
- 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.
- Avoid 192.168.0.0/24 and 192.168.1.0/24 if you often connect to other networks over a VPN — they are the most common defaults.
- Never use public address space you do not own, even inside a lab; you will not be able to reach the real owner’s services.
- Keep 100.64.0.0/10 for providers and overlay VPNs that are designed to use it.
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.