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 a networking issue As I have now two network cards and each one should connect to a specific network; one should be used to connect to the internet and the other one for intranet.

I want to manage the routing table as I think it will help me with this but I don't know if I do it wrong or it's not the way solve the problem ?!

Tech info :

I'm using win server 2008

Interface List

 23.....802.11 USB Wireless LAN Card
 10.....Intel(R) 82567LM-3 Gigabit Network Connection

I need the Intel(R) 82567LM-3 one to connect to the intranet

To explain it clearly

my network like

network        Netmask         gateway           metric           20   ---> for interface [10] that I need to use it for intranet

network        Netmask         gateway           metric        30   --->  for interface [23] that I need to use it for internet
share|improve this question

migrated from Oct 16 '11 at 13:06

This question came from our site for professional and enthusiast programmers.

And I need to work on both networks together – AshOoO Oct 18 '11 at 8:45

Adding a static route for that network is the correct way to do that.

You can add a route with the route command.

Example: route add x.x.x.x MASK y.y.y.y z.z.z.z METRIC m IF i


x.x.x.x = The network that you want to route to.

y.y.y.y = The netmask for that network.

z.z.z.z = The gateway for that network.

m = metric for that route.

i = the interface index for the NIC that you want the traffic to use.

Add -p to the route add command if you want the route to be persistend after a system restart.

share|improve this answer
How to do that ? – AshOoO Oct 16 '11 at 13:43
@AshOoO I updated my answer with a sample route add command. You will have to fill in the blanks for your environment since you didn't provide any details. – MDMarra Oct 16 '11 at 16:34
I know the add route command but what I need to know which Ip,netmask or gateway to use with use the ip,netmask and gateway for the first interface then use the metric and the interface index for the second interface !! – AshOoO Oct 18 '11 at 8:37
Thank you :) for your help .. Now please review my orginal post again after clearing it more – AshOoO Oct 18 '11 at 8:47

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.