Skip to content
iplogs.comSign up

What is Public vs private IP address?

Also: private ip · public ip

A public IP address is globally routable and visible to every site you visit; a private IP (like 192.168.1.1 or 10.0.0.0/8) exists only inside a local network and can't be reached from the internet. Your router has a public IP on the outside and hands out private IPs to your devices via NAT.

Last updated

Private ranges are defined by RFC 1918 (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16). They are reused on every LAN on earth, so they can't be looked up or geolocated from the public internet.

Carrier-grade NAT adds a fourth shared range, 100.64.0.0/10, between subscribers and their ISP.

Why can't a private IP address be checked for a VPN?

A public IP address is globally routable and visible to every site you visit. A private IP address, such as 192.168.1.1 or one in 10.0.0.0/8, exists only inside a local network. That is why a private address cannot be checked for a VPN. Private ranges are reused on every local network, so one cannot be looked up or placed from the public internet, and it says nothing about your connection to the internet. Your router shows one public address to the outside and gives your devices private ones through NAT. A third range, 100.64.0.0/10, sits between subscribers and their ISP under carrier-grade NAT. If you enter a private address into a detector, the useful answer is an explanation, not a verdict. IPLogs recognizes private, loopback, link-local, carrier-grade NAT and reserved ranges and explains them instead of returning a meaningless verdict. To check your connection, look up your public address. Checks are free and need no API key.

How IPLogs handles it

IPLogs recognizes private, loopback, link-local, CGNAT, and reserved ranges and explains them instead of returning a meaningless verdict.

Related terms