4

I want to use my phone and data plan as a temporary solution for providing Internet for my whole home network.

I have plugged it into my OpenWRT router via USB and it's network device usb0 is so far member of the bridge br0 so that all my network can use it. All is working fine except for one thing:

The phone now acts as DHCP Server and the subnet (192.168.42.0) is not controllable and different to the previous subnet in my home network (192.168.2.0). I have a few fixed IPs that I don't want to change.

It would be great if I can change the phone's tethering subnet to be 192.168.2.*. Is this possible?

  • What phone and OS version do you have? Also, are you using the built-in tether from your carrier or one from the Play Store? Who is your carrier? I can configure these settings for my Sprint Samsung Galaxy S III on Android 4.1.2. This may be different for different phones AND different carriers. – Gabriel Graves May 9 '13 at 0:29
  • It's an old Xperia X8 running CyanogenMod 7 (Android 2.3). I also have a spare Nexus S but the Xperia is better suited for that purpose :-) – ce4 May 9 '13 at 8:43
0

Instead of changing the IP of the phone's network, you might simply change your router's config so usb0 is not in the brige any more but is configured more like a "WAN" port, complete with the usual NAT. In this configuration, the phone's DHCP server will only serve an address to your router (to use for the usb0 interface), and all the router's clients will get their IP from your router instead.

The advantage also is that if/when you want to get your internet access from elsewhere (e.g. DSL/cable/younameit), you'll only need to change this part, but all the local network config will stay the same.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.