You type an address into your browser, hit enter, and a page appears. Somewhere in that half-second, your request got stamped with a number that identifies your connection to the entire internet. Most people never think about it. Until something breaks.
I've lost count of how many times a friend has messaged me some version of "the wifi is acting weird" and I've ended up squinting at an IP address on their screen. And here's what I've learned: the moment you understand what that number actually represents, networking stops feeling like black magic. It becomes plumbing. Good plumbing, but plumbing you can reason about.
So let's do that. No jargon walls, no assumptions that you already know what a subnet is. Just a working mental model of the IP address—what it is, how it works, and what trips people up.
Key Takeaways
- An IP address is a numeric label that lets devices find each other on a network. That's its whole job.
- IPv4 uses four numbers separated by dots; IPv6 uses a much longer hexadecimal format. Both are addresses.
- Your home network shares one public IP across every device through a router.
- Subnet masks like 255.255.255.0 split an address into a network part and a device part.
- Four practical categories matter: public/private, and static/dynamic.
- Nobody memorizes IP addresses. You just need to read them correctly.
Understanding IP addresses: the basics that actually stick
Forget the textbook definition for a second. Think about what happens when you mail a letter. You write an address on the envelope. The postal service reads it, routes it through a series of sorting centers, and drops it at the right door. Nobody involved needs to know what's inside the envelope. They just need the address to be correct.
An IP address does exactly that for data. Every device connected to a network—your laptop, your phone, that smart thermostat you regret buying—gets a numeric label. When data needs to reach it, routers read that label and pass the data along until it arrives.
How do IP addresses work for dummies?
Here's the shortest honest version: an address is just a pair of roles wrapped into one number. Part of it says which network you're on. The rest says which device you are on that network. Routers use the first part to get close, then the second part to finish the delivery.
That's it. Everything else—subnet masks, public vs private, IPv4 vs IPv6—is elaboration on those two jobs. When you internalize that, the rest of this article reads like a set of footnotes rather than a foreign language.
What an IP address actually looks like
An IPv4 address is four numbers between 0 and 255, separated by dots. Something like 192.168.1.42. Those four groups are called octets. Why? Because each one represents 8 bits, and there are four of them, giving you 32 bits total. That's the pool size: roughly 4.3 billion possible addresses.
Which, it turns out, was not enough. We'll get to that.
How to read an IPv4 address without faking it
People ask me this a lot when they see something like 10.0.0.5 and assume the numbers encode something mystical. They don't. But they're not random either.
What are the 4 parts of an IP address?
Mechanically, the four parts are just the four octets. But conceptually, they're split into two jobs by the subnet mask:
- The network portion: identifies which network this device belongs to. Routers use this to route.
- The host portion: identifies the specific device within that network.
Where the split happens depends on the mask. In a home network, the mask is almost always 255.255.255.0, which means the first three octets are the network and the last octet is the host. So in 192.168.1.42, the network is 192.168.1 and the host is 42.
What does a subnet mask of 255.255.255.0 mean?
It means: the first three octets define the network, and you have 256 possible host addresses (0 through 255). In practice you lose two of them—one is the network address itself, one is the broadcast address—so you get 254 usable device slots.
Why 255 specifically? Because 255 in binary is eight ones (11111111). A subnet mask is really just a binary flag that says "this bit belongs to the network." Twenty-four ones in a row (three octets) means 24 network bits. That's why you'll see this written as /24—same thing, shorter notation.
And the practical consequence: if two devices share the same network portion, they can talk to each other directly without going through a router. If they don't, their traffic has to be handed off. That's the entire reason subnets exist.
Does everyone in my house have the same IP address?
This one trips up almost everyone, so let's clear it up. The answer is: sort of, but not the way you'd think.
To the outside world—Google, Netflix, that website that keeps asking if you're a robot—every device in your home shares one public IP address. That's the address your internet provider assigned to your router. Your phone, your laptop, your smart TV all look identical from the street.
Inside your house, though, each device has its own private IP address, usually starting with 192.168.x.x or 10.x.x.x. Your router runs something called Network Address Translation, which is a fancy way of saying: "I'll tag every outgoing request with my public IP and my own internal records, then sort out the replies when they come back."
I ran into this firsthand when I tried to set up remote access to a file server at home. I spent an embarrassing amount of time trying to connect to its "IP address"—which was 192.168.1.16, completely meaningless outside my own walls. The address existed. It just didn't route anywhere.
Why this matters in practice
| Context | What an IP address identifies |
|---|---|
| Inside your home network | The specific device (phone, laptop, printer) |
| From the public internet | Your entire household, as a single unit |
So when a website logs "your IP address," it's logging your household, not your device. That's why a VPN works the way it does—it changes which exit point the outside world sees, not which device you're on.
What are the four types of IP addresses?
Honestly, "four types" is a simplification that most guides repeat without questioning. In practice, addresses are described along two axes, and each axis has two sides. That gives you four combinations that actually matter for practical purposes.
Public vs private
A public IP is routable on the open internet—it's the one your provider gives your router. A private IP is reserved for use inside your own network and never appears on the public internet. The private ranges are standardized: 10.0.0.0 to 10.255.255.255, 172.16.x.x to 172.31.x.x, and 192.168.x.x. You'll see the last one far more often than the others at home.
Static vs dynamic
A static address stays the same until someone changes it manually. A dynamic address is assigned automatically and can change—typically when your router reboots or your provider rotates leases. Most residential connections use dynamic addresses because they're easier for ISPs to manage at scale. Most servers use static ones because clients need to find them reliably.
That's the whole taxonomy. IPv4 and IPv6 are technically a fifth dimension, but they're versions of the address format itself, not categories of assignment.
IPv6, and the reason it exists
Earlier I mentioned that 4.3 billion IPv4 addresses weren't enough. That's the whole story behind IPv6.
IPv4 addresses ran out at the top-level allocation level years ago. The workaround was Network Address Translation—sharing one public IP across many devices. That bought a lot of time, but it's a patch, not a fix. IPv6 gives you 128 bits instead of 32, which yields an astronomically larger pool. The format looks different: hexadecimal groups separated by colons, like 2001:0db8:85a3::8a2e:0370:7334. Ugly to read. Never a shortage of them.
Both versions coexist today, which is why your connection usually runs "dual-stack." You don't need to do anything about it. Your devices and router handle the negotiation silently. I mention it only because "IPv4 vs IPv6" shows up in every conversation about IP addresses, and pretending it doesn't exist would be dishonest.
Common mistakes I've seen people make
- Assuming your "IP address" is always one thing. It isn't—local and public addresses are different numbers.
- Copying a
192.168.x.xaddress into a remote tool and wondering why it fails. That address doesn't exist outside your home. - Thinking you need to memorize addresses. You don't. You need to recognize which kind you're looking at.
- Believing IPv6 is something you have to opt into. It's usually already running whether you notice or not.
What this actually means for you day to day
You don't need to configure anything after reading this. The point isn't to turn you into a network engineer. It's to give you a working model so that when something goes wrong—or when a tool shows you a number you don't recognize—you can reason about it in thirty seconds rather than an hour.
The next time you see 192.168.1.1, you'll know that's your router talking to your local network. When you see a completely different number reported by a website, you'll know that's the public face of your household. And when someone mentions IPv6 and you shrug, you'll actually know why it exists.
Here's the thing that still gets me: this system was designed in an era when a few hundred computers on a research network was the ambitious case. It has since scaled to billions of devices, been patched, translated, and expanded—and it still works, every time you open a page. Not bad for a numbering scheme.