Use Galaxy S2 / S3 as router for PC lan gaming I have a computer with no network interfaces (the only one it had went faulty). My friend's PC's network interfaces are working fine. We want to play PC LAN games, but when I set my Galaxy phone to tether / hotspot mode, the IP of the PC connected via WIFI hotspot is out of range of the PC connected via USB tethering (the one IP is on 192.168.42.n and the other IP is on 192.168.43.n), and as such we cannot get our PC's to communicate.

Is there a way to force a Galaxy S2 or S3 to put the tethering and hotspot IP's within range of each other? Our phones are rooted.
As near as I can tell, you need to run "ip route add" as root. I don't have root, so I can't try it. But something like this should work:

ip route add 192.168.42.0/24 dev rndis0 scope global proto kernel
ip route add 192.168.43.0/24 dev wlan0 scope global proto kernel


You can use ip route show to show the current routing rules.