Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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
C:\Documents and Settings\Administrator>route print

IPv4 Route Table

Interface List 0x1 
........................... MS TCP Loopback interface 0x10003  
...00 14 22 10 7f ea ...... Intel(R) PRO/1000 MT Network Connection #2 0x10004 
...00 14 22 10 7f e9 ...... Intel(R) PRO/1000 MT Network Connection

Active Routes:  
Network Destination  Netmask          Gateway         Interface       Metric       10          1   10       10   10     10   10003            1    1
Default Gateway:

Persistent Routes: None

C:\>route -p add x.x.x.x mask 
The route addition failed: Either the interface index is wrong or the gateway 
does not lie on the same network as the interface. 
Check the IP Address Table for the machine.

I can't add the above routing. Why?

share|improve this question

I am assuming x.x.x.x is something you replaced for confidentiality and was a proper IP-address in the original command. is on a different network, the gateway must be on the same network.

Your local netmask is probably correct (mask for subnet

Are your sure the third octet (96 not 12) of your gateway is correct?

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .