Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have two network adapters. One is connected to a 3g-router and the second network adapter is connected to the local network.

I want to route all traffic on specific ip-addresses/hosts to the 3g-router using the "route add"-command and the rest should use the local connection.

Both connections work on their own but when they are enabled together neither of them work as expected, not even when one is set to a higher metric. Both are set up as "Private-networks".

All requests time-out. When I add a route to the 3g-router, tracing it works but surfing wont.

Any ideas?

share|improve this question
add comment

2 Answers 2

up vote 2 down vote accepted

Vista supports only one internet connection, and in addition has the annoying habit of always preferring wired connections over non-wired, on the supposition that they are faster (have better metric).

See this article for a solution with many screenshots :
"Windows Vista Multiple Networks: Wireless To Public WIFI and Wired To Private LAN".

The basic solution is to use the command:

route delete 0.0.0.0 IF 11

where the IF 11 refers to Inteface List # 11 (which is displayed by route print command output, in the Interface List section). Replace 11 by the number of the interface that you don't want to use for surfing.

share|improve this answer
add comment

I'd like to add more details. I needed to route local 10.* requests to the ethernet adapter and every other request (internet) to wifi adapter. This is what I did:

  1. Find out gateway IP of the ethernet adapter using ipconfig. My was 10.0.150.1

  2. Find out ethernet adapter number using route print. My was 11

  3. route delete 0.0.0.0 IF 11

  4. route add 10.0.0.0 MASK 255.0.0.0 10.0.150.1

This way every LAN request routed through LAN adapter.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.