Your IPv4 address:
Operating system:

Public vs private IP addresses: what is the difference?

Your phone’s settings show an address like 192.168.1.10, while a website reports something completely different. Both are correct. The first is a private address that works only inside your local network, and the same one can be in use in thousands of other homes. The second is a public address, which must be unique across the Internet. To read any address correctly, work out whether it belongs to the device, the router or the provider.

Which IPv4 ranges are private

RFC 1918 reserves three ranges: 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16. Home routers often use the last one. The 172.16.0.0/12 block runs from 172.16.0.0 through 172.31.255.255, so an address is not private merely because it starts with 172.

Because these addresses are reused in countless separate networks, ordinary Internet routers do not carry packets to them as globally reachable destinations. Two other addresses are often mistaken for private ones. 127.0.0.1 is loopback, the address a device uses to talk to itself, and 169.254.0.0/16 is link-local, which a device typically assigns itself when it gets no address from the network. Neither belongs to the three RFC 1918 ranges.

Three places to look, three different addresses

Your device’s network settings show the address of its Wi-Fi or Ethernet interface, and that one may well be private. The router’s status page shows the address on its external interface. A website such as 2ip sees the address from which your request reaches it, and the 2ip IP WHOIS lookup shows which provider and network that address belongs to.

Compare them. If the router’s external interface itself has a private address, another router or translation layer sits upstream. If the website sees a different address from the router’s external one, the cause may be a VPN, a proxy or carrier-grade NAT at the provider.

How one public address serves the whole household

A home router commonly performs network address translation (NAT). It rewrites outgoing connections from several privately addressed devices so that they leave from one external IPv4 address, keeps track of each connection and passes the replies back to the right device. That is why a website sees a single IP address for all the phones and computers in the house.

NAT is not a complete security policy. Whether anything can connect inwards also depends on firewall rules and port mappings. If you want to host a service at home, knowing the external IP is only the first step.

The same private address in two homes

A phone uses 192.168.1.20 and its router has a public Internet address. A phone in another household can use the very same private address without any conflict, as long as the two local networks stay separate.

If the router’s external address starts with 100.64 to 100.127

An external address inside 100.64.0.0/10 is neither public nor RFC 1918 private. It is shared address space that providers use inside their own networks, and it usually means your connection passes through the provider’s translation before it reaches the Internet.

What a public address does not tell anyone

A public address does not reveal a person’s identity or precise location. It may change, and it may be shared by many subscribers. Check the whole network path before drawing conclusions from one number.