[ale] OT: Setting up routes in windows
Christopher Fowler
cfowler at outpostsentinel.com
Fri Nov 14 11:35:10 EST 2003
I'm dialing into a remote linux machine via PPP. Windows XP Home
keeps setting up a default route. I do not want a default route. I
simply need a route to that remote network.
Here are the routes after I delete the default that was placed in
the table.
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x10003 ...00 0b cd 89 20 a8 ...... National Semiconductor Corp. DP83815/816 10/100 MacPhyter PCI Adapter - Packet Scheduler Miniport
0x40004 ...00 53 45 00 00 00 ...... WAN (PPP/SLIP) Interface
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.2.254 192.168.2.119 30
10.10.1.120 255.255.255.255 10.10.1.122 10.10.1.122 1
10.10.1.122 255.255.255.255 127.0.0.1 127.0.0.1 50
10.255.255.255 255.255.255.255 10.10.1.122 10.10.1.122 50
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
192.168.2.0 255.255.255.0 192.168.2.119 192.168.2.119 30
192.168.2.119 255.255.255.255 127.0.0.1 127.0.0.1 30
192.168.2.255 255.255.255.255 192.168.2.119 192.168.2.119 30
224.0.0.0 240.0.0.0 192.168.2.119 192.168.2.119 30
224.0.0.0 240.0.0.0 10.10.1.122 10.10.1.122 1
255.255.255.255 255.255.255.255 192.168.2.119 192.168.2.119 1
Default Gateway: 192.168.2.254
===========================================================================
Persistent Routes:
None
To me this route should work but I can not see why it is failing?
C:\>route add 10.10.1.0 MASK 255.255.255.0 10.10.1.120 METRIC 1
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.
Anyone know why?
Thanks,
Chris
More information about the Ale
mailing list