0

For example, we typically get 192.168.1.XXX addresses from a home router, but an Android phone gives out addresses on another 192.XXX which makes it problematic for connecting devices with each other in the same house.

Why does it do that? If it's only for security reasons, can it be reverted to use the home router's subnet?

2
  • 2
    Which hotspot mode are you talking about? When the phone has "Wi-Fi hotspot" enabled, it is usually not connected to your home Wi-Fi in the first place (...because its Wi-Fi radio is busy acting as the hotspot). Is this the mode you mean?
    – user1686
    Apr 9, 2021 at 10:41
  • 1
    The private IP address range use by mobile hotspot and your router is of no relevance unless you have a device that has can establish two [Wifi] network connections at the same time.
    – Robert
    Apr 9, 2021 at 11:01

2 Answers 2

2

Note: This answer also applies to Apple iOS and other operating systems, which have hotspot (tethering) capability.

The WiFi or cellular network you connect to, is usually IP wise under the management of that networks DHCP server. It controls who get which IP. If your phone joined that network and would start handing out IPs that are "owned" by that network, you would over time run into an IP conflicts.

To solve this you could "bridge" those two networks, allowing your tethered devices to request an IP from the original DHCP server. But this will often fail, especially in cellular networks, as you will only be entitled to a single IP on that connection.

So for maximum compatibility, operating systems will use NAT when deploying hotspots (tethering). NAT hides the facts that your phone is sharing its connectivity with additional devices, allowing them to access the Internet.

...can it be reverted to use the home router's subnet?

Technically you could, but those networks would remain separate thanks to NAT. You would end up with two 192.168.1.xxx which could not talk to each other. If you need your devices to talk to each other, your best option is to connect them to the same WiFi network. This will work best with private networks, as many public/Hotel WiFi might prevent this behavior.

1

Your phone is not connected to your router when the hotspot is enabled. It creates its own network and makes cellular data available over WiFi to devices on that network. Even if changing the IP range to 192.168.1.* would be possible, it wouldn't make a difference, because your router's network and phone hotspot's network are two different networks.

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .