Every phone, laptop, and smart speaker in your home carries a numeric label so data knows where to arrive. Yet the address a website records when you visit rarely matches the one your laptop displays in its own settings. A typical household runs two layers of addressing at once, one kept private inside your walls and one shared with the entire internet. Knowing which layer does what explains why a game console needs extra setup to accept connections, and why you cannot type a home address into a browser and reach your desktop from a coffee shop.
The private ranges inside your network
Behind your router sits a small, self-contained network, and the devices on it use addresses reserved for private use. Three blocks are set aside for this by convention: anything starting 192.168, the range from 10.0.0.0 through 10.255.255.255, and the band between 172.16 and 172.31. Home routers almost always draw from the 192.168 block, so seeing 192.168.1.1 or 192.168.0.1 as the router itself will look familiar.
These numbers are not unique across the world. Millions of homes reuse 192.168.1.10 at the same moment, which causes no trouble because the addresses never travel past the router. A service called DHCP hands each device a lease from the local pool automatically, so you rarely need to assign them by hand.
One public address for the household
Your internet provider gives the connection a single public address, and it lives on the outward-facing side of the box where your line enters the home. That box may be a combined unit or a separate modem feeding a router, a division explained in the guide on how a modem and a router split the work. Whichever hardware you have, the public address is the one the rest of the internet sees.
Because it is public, it has to be unique across the whole internet, and your provider owns the block it comes from. Many home connections receive a dynamic public address that can change every so often, which is one reason reaching your home by its raw number is not dependable without extra services. Some providers go a step further and place many households behind a shared public address using carrier-grade NAT, so even that outer number is not yours alone.
How NAT keeps the streams straight
With many devices sharing one public address, something has to sort out which reply belongs to which device. That job falls to Network Address Translation, or NAT, running on the router. When your laptop opens a connection, the router rewrites the outgoing packet so it appears to come from the public address, and it records the swap in a translation table along with a port number.
When the response returns, the router reads the port, looks up the table, and forwards the packet to the correct private address. The same mechanism lets one router juggle dozens of simultaneous streams, a balancing act the guide on how a router prioritizes competing traffic examines from another angle. Each active conversation gets its own port, and a router can track many thousands at once, which is how an entire household browses through a single shared address without the replies getting crossed. Without this translation, a shared public address simply could not function.
Terms in plain language
The vocabulary around addressing gets used loosely, so it helps to pin down the pieces before going further.
| Term | What it means |
|---|---|
| Private IP | An address used only inside your network, such as 192.168.1.24 |
| Public IP | The single address your provider assigns, visible to websites |
| NAT | The router feature that maps many private addresses onto one public one |
| DHCP | The service that leases private addresses to devices automatically |
| Subnet | The group of addresses that share your local network |
Why nothing outside reaches a device directly
The private layer has a side effect that doubles as a safety net. Since your devices hold addresses that do not exist on the public internet, an outside computer has no route to them. It can send traffic to your public address, but the router holds no table entry telling it where an unrequested packet should go, so it discards the packet.
This is why hosting a game server or viewing a camera from elsewhere takes deliberate configuration, the subject the guide on opening a single port without the usual headaches walks through. The default posture is closed, which quietly protects the many devices that were never meant to face the internet at all.
Checking your own addresses
You can see both layers in a couple of minutes. For the private address on a Windows machine, open a command prompt and run ipconfig; on a Mac or a Linux system, use ifconfig or ip address. The value beside your active adapter, usually starting 192.168, is what the router handed out. That same screen often shows which Wi-Fi band and standard the device joined, details the guide on the differences between Wi-Fi generations unpacks.
For the public address, search the phrase what is my IP in any browser, or read it from the router’s status page under the WAN or internet section. Comparing the two makes the split concrete: the private number is yours to manage, while the public number belongs to the connection your provider supplies.
What this means in practice
The two-layer design solves a shortage that would otherwise have stalled the internet years ago. There are not enough classic IPv4 addresses for every device on earth, so sharing one public address across a household stretches the supply while keeping local networks simple to run. It also means most of your gear sits behind a natural barrier without you configuring anything at all.
The tradeoff appears the moment you want something at home to be reachable from elsewhere. That is less a fault to fix than a consequence to plan around, using port rules, a relay service, or a private tunnel depending on the need. Once you picture the private pool inside and the single public label outside, the behavior of cameras, consoles, and remote access stops feeling arbitrary.
Frequently asked questions
What is my IP address?
You have two at once. The private address, often starting 192.168, identifies your device inside your home network and is assigned by your router. The public address, given by your internet provider, represents the whole household to the outside world. Searching what is my IP shows the public one, while your device settings show the private one. They serve different jobs.
Why do all my devices share one public IP?
Your provider assigns a single public address to your connection to conserve the limited pool of IPv4 numbers. The router then uses NAT to let every phone, laptop, and console share it, tracking each conversation by port number so replies reach the right device. From a website’s point of view, all your traffic appears to come from that one address.
What is a private IP address?
A private IP address is a number drawn from reserved ranges, most commonly the 192.168 block, that works only inside your local network. Many separate homes reuse the same private addresses at once because those addresses never leave each network. Your router assigns them through DHCP and translates them to your single public address whenever a device reaches the internet.
