Home / Routers / Article
NETGUIDE TECHNICAL GUIDE

Public vs. Private IP Addresses How Your Home Devices Share One Internet Connection

Home Networking

One internet connection, a separate address for each device.

On a typical home IPv4 network, your phone and laptop each have a private address. The router lets them share a public internet address by keeping track of their individual connections. A website replies to the address it saw on the internet. The router checks its records and sends each reply to the device that requested it.

An address inside the home and an address on the internet

Private IPv4 address

An address such as 192.168.1.10 identifies a device within a private network. Other homes can use that same address for their own devices.

Public IP address

A public address can be routed across the internet. On many home connections, devices going out over IPv4 appear to websites under the same public address.

Think about a phone that joins your Wi-Fi and gets 192.168.1.10. Your neighbour’s phone can have 192.168.1.10 on a separate home network without causing a conflict. Each address makes sense within its own network. A conflict becomes possible if two devices try to use the same address within the same local network, where other devices need to tell them apart.

You can usually find your private address in your phone’s Wi-Fi details or your computer’s network settings. A website that reports the IP address it sees is answering a different question. It reports the outward-facing address of the connection that reached it. That may belong to your home router, your internet provider’s translation equipment, or a VPN service you’re using.

Three IPv4 ranges are reserved for private networks:

  • 10.0.0.0–10.255.255.255
  • 172.16.0.0–172.31.255.255
  • 192.168.0.0–192.168.255.255

The middle range is worth reading carefully. 172.20.4.8 is inside it, while 172.40.4.8 is outside it. There are also other special-purpose address ranges. Seeing an address outside these three blocks tells you it falls outside the standard private IPv4 ranges. You still need to know how that particular address is used to tell whether it’s publicly routable.

What happens when your phone joins Wi-Fi?

Joining Wi-Fi gives the phone a way to exchange data over the local wireless network. It also needs settings that tell it how to communicate over IP. On a typical home network, a service called DHCP lends the phone an IPv4 address and supplies settings such as the default gateway. The gateway is usually the router’s local address. Your router might use 192.168.1.1, while the phone receives 192.168.1.10 and a laptop receives 192.168.1.25.

Say your phone needs to send something to a printer on the same network. It can generally exchange that traffic locally, provided both devices are allowed to communicate. The internet provider does not need to relay a local print job. When you open an external website, the phone sends that traffic to the gateway so the router can forward it beyond your home.

From the phone’s point of view, both actions start on Wi-Fi. From the router’s point of view, they take different paths. This is why you can sometimes print locally while your broadband service is down. It also explains the reverse situation on some guest networks. A guest may be able to browse the internet even though local printers and other household devices are inaccessible from that network.

The address that DHCP lends out can change. If you reconnect later, you may get the same address or a different one, depending on the lease and the router’s settings. A router can also reserve a particular local address for a device. That’s convenient for equipment you often reach by address, such as a printer or a home server. The reservation concerns the address inside your network.

Follow two connections to the same website

Imagine your phone and laptop opening the same website at the same moment. To an outside observer, both requests can come from the same address. So how does the router tell their replies apart? For ordinary home IPv4 sharing, it uses network address translation, or NAT, with port translation. You may see the more specific technique called NAPT or PAT.

A port number helps identify traffic for a connection or service. In this example, both devices connect over TCP to the website’s port 443. Each device also uses a source port at its own end. Two devices can independently choose the same source port because their private addresses already distinguish them inside the home. When the traffic goes out under one shared address, the router can assign different outward-facing ports to keep the connections separate.

Example translation records for two TCP connections to the same website
Device Inside address and port Outside address and port
Phone 192.168.1.10:51000 203.0.113.27:62001
Laptop 192.168.1.25:51000 203.0.113.27:62002

203.0.113.27 is reserved for documentation and stands in for the router’s public address in this example.

  1. The phone sends its request. The router replaces the private source address and port with the outside pair ending in :62001. It records the association before forwarding the packet.
  2. The laptop sends its request. The router uses the same outside address with a different port, :62002, and stores another association.
  3. The website replies. The response for the phone goes to :62001, while the response for the laptop goes to :62002. The website sends both responses to the same outside address.
  4. The router delivers each reply. It looks up the matching record, puts the original private destination address and port back into the packet, and forwards it to the right device.

The port numbers are illustrative. A router can keep the original source port when it can do so without ambiguity. It also considers the protocol and, depending on its design, other details of the connection. An active record can handle many packets. Eventually, when the connection closes or the mapping expires, the router can reuse that outside port for other traffic.

Sharing an address still leaves room for separate connections

Now add a third device that’s streaming video while the phone and laptop browse. The router can maintain separate records for all that traffic. Even one browser can have several connections open to load a page, fetch images, or talk to a different service. The router sorts replies using its connection records. The devices continue to use the same household connection, and all their activity shares the available broadband capacity.

If a large upload makes a video call choppy, the issue may be a busy broadband link or Wi-Fi connection. The router may still be translating and routing every packet correctly. You can see the difference by pausing the upload and checking whether the call recovers while everyone remains on the same network. Address sharing explains where the packets go. Available capacity and delays affect how quickly they get there.

A shared public address also means an external website generally can’t tell just from that address whether your phone or laptop opened a page. A signed-in account, cookies, or a session identifier can distinguish visits even when they share an address. Likewise, a service that limits requests by IP can sometimes apply the same limit to several people using one connection. The address describes the network path that reached the service, while applications have their own ways of keeping track of users and sessions.

When the public address lives somewhere else

Carrier-grade NAT

Some internet providers share a public IPv4 address among multiple customers. Your router can translate your household traffic first. The provider then translates it again before it goes onto the public internet. This second layer is called carrier-grade NAT, or CGNAT.

If your router’s internet-facing address falls between 100.64.0.0 and 100.127.255.255, you’re seeing the shared range reserved for this purpose. A website can report a different IPv4 address because it sees the provider’s public address at the far end of that translation.

Another router upstream

A second layer of translation can also happen at home. Say an internet provider’s gateway runs your main network and you connect your own router behind it. Your new router can receive a private address from that gateway and give its own devices addresses on another private network.

Both arrangements can produce a mismatch between what your router reports and what a website sees. To tell them apart, check whether you have two devices operating as routers and whether the provider confirms that your line uses carrier-grade NAT.

Ordinary browsing can work through either arrangement because requests begin from inside and each translation layer tracks its own replies. The difference tends to matter when an outside service needs to initiate a connection back into your home. Your household router controls its own settings. A translation layer at the provider belongs to the provider, so ask what type of connection you have before assuming the address displayed by an IP-check website is assigned to your router.

IPv6 can give each device its own internet address

IPv6 has a much larger address space. On a home network with IPv6 service, the provider can give the router a block of addresses, and devices can have their own globally routable IPv6 addresses. They still share the same physical broadband connection. Their IPv6 traffic can travel through the router without being translated into one shared address in the way typical home IPv4 traffic is.

Your phone may have several IPv6 addresses, including a local one and a global one. A device may also use temporary IPv6 addresses that change over time. Many networks run IPv4 and IPv6 side by side. One website might show the shared IPv4 address, while another shows the IPv6 address used by the device that visited it. A globally routable IPv6 address still works alongside a firewall, which can block unsolicited incoming connections.

See which addresses your own devices use

  1. Connect a phone and laptop to the same home network. Open each device’s network details and find the local IPv4 address. You will normally see two different addresses. Check the gateway too. On the same local network, both devices will typically point to the same router.
  2. Compare what the internet sees. Visit the same IP-checking page on both devices. Compare the IPv4 entries if the page reports IPv4 and IPv6 separately. A VPN, proxy, or privacy relay can change the address a particular browser presents, so account for those when you interpret the result.
  3. Read the router’s internet status page. Look for the WAN or internet IPv4 address, which is on the router’s outward-facing side. If it matches what the website reports for the same IPv4 connection, that’s consistent with the public address being assigned directly to your router. If it’s in a private or shared range and the website reports something else, there’s another layer to account for.
  4. Switch the phone from Wi-Fi to mobile data and repeat. The phone’s internet traffic now follows the mobile carrier’s network. The address reported by the site will generally change, even though you’re holding the same phone. You’ve changed the connection carrying the request.

Notice which pair of numbers you’re comparing at each step. Two different local IPv4 addresses alongside a single outward-facing IPv4 address are normal. A local IPv4 address and a global IPv6 address can also appear on the same device. To make sense of a result, match the address family, the device or router interface, and the route the traffic actually took.

Common questions about home IP addresses

Can my public IP change while I keep the same router?

Yes. The provider can assign a public address dynamically, and it can stay the same for a long time or change when the connection is re-established or the provider changes how it serves your line. A static public address is a separate arrangement. Your local addresses follow the settings on your local network, so they can stay the same when the outward address changes.

Why does my VPN show a different IP in the browser?

If the browser’s traffic goes through the VPN, the website sees the address from which the VPN sends it onward. Your phone or laptop can keep its usual home Wi-Fi address during that session. Some VPN setups send only selected traffic through the tunnel, so two applications on the same device can appear to take different paths.

Does a private address tell people where I live?

An address such as 192.168.1.10 is reused on many unrelated networks, so it provides little information about your location. A public address can sometimes be associated with a provider or an approximate area. The location shown by IP lookup services can vary, particularly when traffic leaves through a mobile carrier or VPN.

Can a smart TV and phone share a public address if one is wired?

Yes. A TV connected by Ethernet and a phone on Wi-Fi can use the same router and internet connection. Their local links work differently, but the router can translate both sets of IPv4 connections using the same outward-facing address.

Do ports tell the router which person opened a website?

The translation records help the router deliver packets to a device and connection. They do not identify the person holding the device. Website accounts and app sessions handle user identity separately. Two people using the same laptop can use different accounts while the network still delivers traffic to that one laptop.

TC

Taryn Crooks

Senior Netguide Specialist

Senior Agricultural Researcher & Livestock Husbandry Specialist at Netguide. Dedicated to advancing sustainable flock management, genetic conservation, and precision ovine nutrition.

Leave a Comment