Adding route to other network using Windows "route" command
Posted on 2009-04-01
My windows machine is on 192.168.1.X network. There's another machine installed two network cards and each one is connected to two different networks. For ex the eth0 is on the same network where my first windows machine is (192.168.1.X). The eth1 is connected to 14.1.1.X network.
Now i used the following command on my first windows machine.
route add 188.8.131.52 mask 255.255.255.0 192.168.1.1
Here the 192.168.1.1 is the machine installed with two nics and have access to both the networks.
When I execute the above said command, i get the following error.
"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
Can some one help here..? Thanks in advance.