Private IP addresses explained

Some address ranges are reserved for use inside a network. They are the same in every home and office, which is why they cannot be looked up.

Which ranges are private

For IPv4, three blocks are set aside for private use: 10.0.0.0 to 10.255.255.255, 172.16.0.0 to 172.31.255.255 and 192.168.0.0 to 192.168.255.255. Most home routers use something in 192.168 or 10. Two other ranges you may come across are 127.0.0.1, which always means 'this device itself', and 169.254.x.x, which a device gives itself when it cannot get an address from the network.

In IPv6 the equivalents are fc00::/7 for private networks, fe80::/10 for the local link and ::1 for the device itself.

Why they have no location

The same private address is in use in millions of networks at the same moment. A lookup cannot say which of them you mean, so there is nothing to find. The IP lookup therefore refuses these addresses with a clear message.

Private versus public

The address of your phone or laptop at home is private. The address that websites see is the public address of your connection, which belongs to your provider. Your router translates between the two. What is an IP address? explains this in more detail, and the home page shows your public address.

Shared addresses from the provider

Some providers go one step further and let many customers share one public address. Those customers get addresses in the range 100.64.0.0 to 100.127.255.255 on their own side. This range is meant for providers and is not routed on the public internet. If your router shows a WAN address starting with 100.64 up to 100.127, your connection is behind such sharing, and you cannot be reached directly from the outside.

How to find your private address

On Windows, open a command prompt and type ipconfig. On Linux, type ip addr in a terminal. On macOS, open the network settings and look at the details of your connection. The address of your router, often 192.168.0.1 or 192.168.1.1, is usually printed on the device. The address on the router's status page that is labelled WAN or Internet is the one facing your provider; compare it with the home page to see whether it is your public address.

Sources

The private IPv4 ranges are defined in RFC 1918, the shared range 100.64.0.0/10 in RFC 6598, the IPv4 link-local range in RFC 3927 and the IPv6 equivalents in RFC 4193 and RFC 4291. Which range your router uses depends on its brand and settings. More on the sources page.

Read next

Look up an IP address · Back to your own IP address