Routing Possible? . . .

  • Thread starter Thread starter Jason Flatt
  • Start date Start date
J

Jason Flatt

Good day, folks.

I have a network that has two servers: One Windows 2003 for
application/file/print services, and one Windows 2000 for Terminal
Services. There are currently several remote users that use Remote Desktop
to access the Win2K server and run an application that is served from the
Win2003 server.

We now have a user that also needs to make a dial-up connection through the
Win2K server to a remote service. (Due to the fact that files need to be
transferred from the Win2K server to the remote service, this cannot be
easily done on the remote workstation itself.) Since, by default, all
traffic goes through the NIC IF, I tried to use the route command to force
traffic to the IP of the remote service through the modem's IF, but I keep
getting an error of either:

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.

or:

The route addition failed: The parameter is incorrect.

As near as I can tell, the parameter it is referring to is the gateway of
the modem (but I'm not entirely sure). Now, from the 'route print' command,
the gateway is specified as the IP of the modem, but from the
'ipconfig /all' command, it is blank.

The command I've been using is:
route add 206.5.110.15 mask 255.255.255.255 <modem-ip> 0x#000004

Is what I'm trying to do even possible? If so, what am I missing or not
doing correctly to make it work?
 
Jason,

"route add 206.5.110.15 mask 255.255.255.255 <modem-ip>" should be good
enough and should give you no error message if the modem has an ip address
while you add this route.
You shouldn't need to add the interface number.
The "0x#000004" in "route add 206.5.110.15 mask 255.255.255.255 <modem-ip>
0x#000004" is bad syntax.

Peter
 
Thank you for your response, Peter.

When I try it the way you mentioned (w/o the IF), I get the second error I
mentioned:

The route addition failed: The parameter is incorrect.

If I change the gateway IP to that of the NIC, the route gets set. Is there
anything else I should be looking at or changing?
 
Yes, add "-p" at the end of your command to make it a persistent route.
Otherwise, your route will disappear after rebooting the pc.
Peter
 
Back
Top