static route via mobile phone network interface
hi all i am trying to get my pc to connect to the internet via my mobile phone while at the same time having access to the LAN (which has routes to the internet. the requirment is that the pc should only use the mobile phone to connect to the net. not connect to the internet via the LAN. let me explain... initially the pc is connected to the LAN and all works fine. sites i visit see the ip address of my router. i then disconnect the LAN cable and connect the mobile phone's USB cable and dial a connectin to my provider the pc now connects to the net using my phone fine again... now, without terminating the mobile phone's internet connection i reconnect the LAN cable and visit a site again. the site now sees the address of my router again. not the mobile phone provider's it seems like the router gets preference over my mobile phone. why is this? can i force internet traffic to go via the mobile phone irrespective of whether the pc is connected to the LAN or not? here's some info C:\>route print =========================================================================== Interface List 25...80 00 60 0f e8 00 ......Microsoft Windows Mobile Remote Adapter 12...00 1a 80 27 f0 90 ......Marvell Yukon 88E8055 PCI-E Gigabit Ethernet Contr oller 11...00 1d e0 90 93 57 ......Intel(R) Wireless WiFi Link 4965AGN 1...........................Software Loopback Interface 1 13...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter 16...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #2 26...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #3 =========================================================================== IPv4 Route Table =========================================================================== Active Routes: Network Destination Netmask Gateway Interface Metric 0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.2 25 127.0.0.0 255.0.0.0 On-link 127.0.0.1 306 127.0.0.1 255.255.255.255 On-link 127.0.0.1 306 127.255.255.255 255.255.255.255 On-link 127.0.0.1 306 169.254.0.0 255.255.0.0 On-link 169.254.184.207 276 169.254.2.0 255.255.255.0 On-link 169.254.2.2 286 169.254.2.2 255.255.255.255 On-link 169.254.2.2 286 169.254.2.255 255.255.255.255 On-link 169.254.2.2 286 169.254.184.207 255.255.255.255 On-link 169.254.184.207 276 169.254.255.255 255.255.255.255 On-link 169.254.184.207 276 192.168.1.0 255.255.255.0 On-link 192.168.1.2 281 192.168.1.2 255.255.255.255 On-link 192.168.1.2 281 192.168.1.255 255.255.255.255 On-link 192.168.1.2 281 224.0.0.0 240.0.0.0 On-link 127.0.0.1 306 224.0.0.0 240.0.0.0 On-link 169.254.184.207 276 224.0.0.0 240.0.0.0 On-link 192.168.1.2 281 224.0.0.0 240.0.0.0 On-link 169.254.2.2 286 255.255.255.255 255.255.255.255 On-link 127.0.0.1 306 255.255.255.255 255.255.255.255 On-link 169.254.184.207 276 255.255.255.255 255.255.255.255 On-link 192.168.1.2 281 255.255.255.255 255.255.255.255 On-link 169.254.2.2 286 =========================================================================== Persistent Routes: None IPv6 Route Table =========================================================================== Active Routes: If Metric Network Destination Gateway 1 306 ::1/128 On-link 12 276 fe80::/64 On-link 11 281 fe80::/64 On-link 11 281 fe80::6dce:afef:1583:b26b/128 On-link 12 276 fe80::d4c1:260e:25fc:b8cf/128 On-link 1 306 ff00::/8 On-link 12 276 ff00::/8 On-link 11 281 ff00::/8 On-link =========================================================================== Persistent Routes: None i tried adding a static route to go via the mobile phone's interface but it doesn't seem to have worked: route add 0.0.0.0 mask 0.0.0.0 if 25 Any ideas? Many thanks, Kos
May 8th, 2010 9:31am

increase the ipv4 "metric" setting of the LAN so it is less favorable than the tethered cellphone. (if that doesn't help, try the ipv6 metric next). how to choose a prefered NIC that goes to internet
Free Windows Admin Tool Kit Click here and download it now
May 8th, 2010 12:32pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics