Public and private IP addresses
Identify the three private IPv4 ranges and choose the right address when setting up a device or describing your connection.
A printer and a website see different networks
A printer setup screen asks for a device address. Your internet provider asks for your public address during a support call. Both requests make sense, even when the answers differ. A home network can use private IPv4 addresses for traffic between local devices. A public IPv4 address can identify the connection those devices share when reaching an internet service.
Suppose a printer at home has 192.168.1.80. Your neighbor’s printer might use exactly the same address. Each router manages its own local network, so the two printers can coexist. A public lookup service cannot tell which of those printers you mean if you type in their shared local number.
Recognize private IPv4 space
Three address ranges are reserved for private networks. Pay particular attention to the second range when reading an address that begins with 172. Private IPv4 address allocation
- 10.0.0.0 through 10.255.255.255
- 172.16.0.0 through 172.31.255.255
- 192.168.0.0 through 192.168.255.255
Other special-purpose ranges exist. For example, a provider can use 100.64.0.0 through 100.127.255.255 between customers and its own address translation equipment. If your router’s internet-facing address falls there, a lookup service farther along the route may report a different public IPv4 address. Shared address space for providers
Choose a value by destination
For a printer on your own Wi-Fi, find its address on the printer’s network status page and connect from a device on the same local network. Guest Wi-Fi can isolate devices, even in the same building. For the provider support call, open the public address overview while using the connection you are calling about. See your public IP address
Check your understanding
A phone reports 172.20.4.8 on Wi-Fi. A second device reports 172.40.4.8. Which falls within a private range?
Show the answer
The first. Its second number, 20, lies between 16 and 31. The second number in the other address, 40, is outside that interval. Looking only at the initial 172 would lead you to the wrong conclusion.