basicsIP

What Is an IP Address? IPv4, IPv6, Public and Private, Explained in One Pass

A plain-language explanation of what IP addresses do, how IPv4 and IPv6 differ, how to tell public from private IPs, and why the IP you see isn't the one others see.

Mention "looking up an IP" and many people picture a hacker tracing a target in a movie. The concept is far more humble: an IP address is your house number on the network. This article explains it thoroughly.

What Problem Does an IP Address Actually Solve

Every device on a network talks to the others through packet switching: data is chopped into small packets, and each packet is labeled "from where, to where." That "to where" is the destination device's IP address.

Without an IP address, it's like mailing a letter with no recipient address — routers have no idea where to forward the packets.

IPv4: The 32-Bit Old World

An IPv4 address looks like 203.0.113.7 — four numbers, each from 0 to 255.

There are only about 4.3 billion addresses in total. When it was designed in the 1970s, nobody imagined every person on Earth carrying several connected devices, so around 2011 the IPv4 pool was fully allocated — which is why carriers turned to "shared IPs" and NAT.

IPv6: The 128-Bit New World

IPv6 looks like 240e:3b1:3000::1a2b — eight groups of hexadecimal digits.

The total is 2 to the 128th power — enough to "give every grain of sand on Earth its own address with plenty to spare." Mobile data traffic in China has been on IPv6 at scale for years — open the IPchase homepage on mobile data and you'll most likely see an IPv6 address starting with 240e or 2408.

The two versions will coexist for a long time; your device usually holds both an IPv4 and an IPv6 address at once.

Public vs. Private IPs: Why Your Lookup Differs From What the Router Shows

This is the most common confusion. Start by memorizing the three private address ranges:

Range Covers Typical use
10.0.0.0/8 10.x.x.x Corporate networks
172.16.0.0/12 172.16–31.x.x Some companies, Docker
192.168.0.0/16 192.168.x.x Home routers

The 192.168.1.100 your home router assigns your computer is a private address. There are millions of "192.168.1.100"s around the world; it only means something inside your home network.

The real public IP is what the carrier assigns to your broadband line. When data comes back from a website, it first reaches the public IP, then your router forwards it to the right device on the internal network (that process is NAT).

So: what you see in your machine's "network settings" is the private IP; what IPchase detects is the public exit you actually present to the world.

Dedicated Public IPs Are Getting Scarcer

One consequence: many mobile data users sit behind carrier-grade NAT, with hundreds of users sharing one public IP. That's fine for everyday browsing, but it blocks self-hosting from home or reaching your NAS remotely — and it's a direct driver of IPv6 adoption: with enough IPv6 addresses, every device can have a globally unique one.

When Others See a Different IP

Different devices on the same network showing the same IP (a shared exit) is normal. But if you're behind a proxy and the IP you look up doesn't match expectations, be careful — a DNS leak or WebRTC leak may be exposing your real exit.

Reading an Address: Which Part Is the Network

A 203.0.113.7 address is not "one number" — it splits into a network part and a host part, and where the split falls depends on the prefix.

Think of it as street + house number. On a /24 network (the most common home-router setup), the first three numbers are the street and the last is your house: every device on 203.0.113.x shares a street, and .7 identifies one device. On a /16, the first two numbers are the street; that's why corporate networks often have thousands of devices under one prefix.

This split is what CIDR notation expresses: /24, /16, /30. If you've ever wondered why a cloud provider gives you 10.0.0.0/8 versus someone else's /29, the difference is how many hosts each block can hold — /29 is 8 addresses (6 usable), /24 is 256. Our CIDR and subnetting guide walks through the arithmetic if you need to subnet by hand.

Two practical consequences:

  • Firewall rules are prefix rules. "Allow 203.0.113.0/24" is how you whitelist a partner's whole office, and also how a misconfiguration accidentally whitelists 256 hosts.
  • Reputation is usually assigned per prefix, not per address. Spam filters and risk engines often treat a /24 as a unit — one bad neighbor can sink the street. That's the mechanism behind the "why is my perfectly clean IP flagged" complaint discussed in IP reputation scoring.

Why the City You See Is Only an Estimate

IP geolocation is not GPS. Nobody is reading your coordinates; the lookup infers a location from registration data and network topology:

  1. Registry data — IANA hands blocks to regional registries (APNIC, ARIN, RIPE), which allocate to ISPs. The registry knows "this block belongs to a carrier in this country," which is reliable at country level.
  2. ISP reporting — carriers disclose where their sub-allocations are used. Accuracy varies wildly; some update monthly, some leave stale records for years.
  3. Network inference — providers triangulate from traceroute paths and latency. This is what produces city-level guesses, and it's exactly where errors creep in.

Practically: country is usually right, city is usually close, street is never promised. The 240e address on your mobile phone might resolve to the provincial capital rather than your district, because that's where the carrier's egress gateway sits. We explain the data sources in more depth in how IP geolocation works.

One more wrinkle worth knowing: CDN addresses. If you look up a domain instead of a client, you'll often see Fastly/Cloudflare/Akamai edge IPs, not the origin. The location you get describes the edge node — which is why "the site's IP is in Singapore" doesn't mean the company is. CDN explained covers the routing details.

Which IP Do You Actually Need to Know

"Find my IP" means different things depending on the task. A short decision list:

Task The IP you need
Checking a proxy is working The public exit seen by an external server (what IPchase shows)
Whitelisting in a partner's firewall The public exit of your egress gateway, not your laptop's 192.168.x.x
Debugging "my site can't reach the API" Both — the caller's exit and the target's resolved address
Auditing a log file The client IP, remembering it may be a CDN edge or NAT gateway
Configuring a home server The public address, plus a port-forward or tunnel since NAT hides the private one

The common mistake is using an internal address where an external one is required — whitelisting 192.168.1.100 never works outside your own LAN, and a log full of 10.x.x.x addresses means you're behind a load balancer or reverse proxy, so you'll need the X-Forwarded-For header to recover the real client.

Summary

  • An IP address is your network house number — packets find you by it
  • IPv4 has run out, IPv6 is taking over, and the two coexist
  • The address splits into network and host parts; CIDR notation tells you where the line falls
  • 192.168.x.x / 10.x.x.x are private addresses; to find your public IP you need an external service
  • Geolocation is inferred from registry data and topology — country is reliable, city is an estimate
  • What mobile data users look up is the carrier's exit, possibly shared by hundreds of people

Want to see your current public IP and its geolocation? Open the IPchase homepage — results in one second. For details on any address, the IP lookup tool shows ASN, ISP and IP type.

Check your own network: run a full disguise check on the homepage, or try the fingerprint test.