Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have two NICs:

  1. Network 1
  2. Network 2

Network 1 is awesomely fast but blocks access to Site A. How can I route traffic to just Site A through network 2?

When I have them both connected, Windows somehow knows to use network 1 for everything (I assume this is via the metric setting?).

Site A can be an IP address (vs. a domain name) if it makes this easier.

share|improve this question
up vote 3 down vote accepted

You need to use the "Route" command.

route ADD (site ip) MASK (site umask) (gateway) IF (number of the interface you want to use)

So to get to on interface 2:


if you want to make the route change permanent, add the -p flag. The metric doesn't really matter very much in this context, it's more of a statement of priority, so the system knows which route to choose, all other things being equal.

share|improve this answer
Presumably that gateway corresponds to whatever IF2's GW actually is? – Michael Haren Feb 23 '11 at 21:06
@haren: Yes indeed. – Satanicpuppy Feb 23 '11 at 21:11

Your Answer


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

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