Public vs private IP addresses: what each one does
A router's public address is the label the internet sees, while every phone, laptop and smart device at home carries a private one. Engadget explains how to look up both and what the numbers reveal when a connection fails.

Key takeaways
- A router's public IP address, assigned by the internet provider, identifies the whole connection to the outside world.
- Devices inside the home use private addresses and reach the internet only through the router.
- Network Address Translation lets many devices share one public address.
- An address starting 169.254.x.x means a device did not receive a label from the router.
In this article
How the two address types differ
Working out public vs private IP addresses comes down to scope. According to Engadget, the public address is the one an internet provider assigns to the WAN port on a router, and it is what lets the wider internet locate a connection. The private addresses are the labels handed to individual devices inside the home, such as phones, laptops and smart home hardware.
The two kinds of address do not mix freely. Devices on private addresses can talk to one another, but they cannot reach the internet on their own and must go through the router. In the other direction, equipment outside the network cannot open a direct link to a privately addressed device, which is why a neighbour cannot send a print job to a printer in someone else's house.
Engadget compares the public address to a building's street address and the private ones to flat numbers inside it. Every connected device receives its own private label, even though the household shares a single public one.
Finding your own addresses

The fastest way to see the public address is an online checker, such as WhatIsMyIPAddress or ifconfig.me, opened on any device with a browser. Private addresses take a little more digging, because they live inside the home network rather than on the open internet.
A router's control panel usually lists the devices that are connected along with their private addresses. That list is not always easy to read, since some manufacturers do not publish hostnames, leaving the reader to work out which address belongs to which gadget.
Individual devices can also report their own address. On Windows, the ipconfig command shows the IPv4 address. On macOS, ipconfig getifaddr en0 returns the Wi-Fi address and ipconfig getifaddr en1 the ethernet one. iPhone owners can open Settings, then Wi-Fi, tap the i button beside the network and scroll to the IPv4 section, while Android users go to Settings, then Network and internet, then Internet, tap the connected network and scroll down.
Knowing both labels helps when a home network misbehaves, because it separates a problem inside the house from a problem on the connection itself.
Why one public address covers every device
Households get away with a single public address thanks to Network Address Translation, or NAT. It is a routing mechanism inside the router that keeps track of traffic passing between the private devices and the internet, so each one can share the same outward-facing label.
Home networks normally sit in the 192.168.x.x range. The Internet Assigned Numbers Authority (IANA) also keeps two other blocks for internal use: 10.x.x.x, aimed at large organisations, and 172.16.x.x, intended for medium-sized ones.
What the numbers reveal when a connection fails
Recognising the ranges makes troubleshooting quicker. A device showing an address that begins 169.254.x.x, known as an Automatic Private IP address, has not been given a label by the router, which points to a problem between that device and the network.
If the private addresses look normal but nothing can get online, the likely culprits are the router first and the internet provider second. Checking those two in order is faster than working through every device in the home.
The same knowledge helps when auditing a network, since a list of private addresses shows what is attached and whether anything unfamiliar has joined.
Sources
Spotted a mistake? See our corrections policy. Read how News by OnDevice works in our editorial policy.



