Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Route add command in Windows 98 5

Status
Not open for further replies.

Tool

MIS
Jul 28, 1999
65
US
Hi,<br>
<br>
Does anyone know how to add a persitent route in Windows 98. I tried using the -p switch but that doen't seem to work.<br>
<br>
Thanks in advance<br>
<br>
Tool
 
Has nobody here noticed that the error code 87 is unexplained so far? Does anybody know where I can
find a listing of route error numbers?

Cheers

Jan
 
error code 87 is caused by selecting a gateway address other than local IP. For example, if the PC's ip is 192.168.10.10, use route add 10.0.1.0 mask 255.255.255.0 192.168.10.10. If another IP for the gateway is used such as 192.168.5.1, this error is returned. 127.0.0.1 or interface on the same PC with another IP may also be used for gateway.
 
Try using Arp, you can specify permanent address entries in the arp table on your PC, another way could be to add an entry to your hosts table in the \windows folder. Both will permanently reslove to the address entered.

HS
 
My gateway for the internet is 192.168.20.3 I have a router here that is 192.168.20.5. I have four remote locations that have routers 192.168.30.5, 192.168.40.5, 192.168.450.5, and 192.168.60.5. I use a batch file in this building to get an application to an ip address route add ***.***.***.*** 192.168.20.3. when in this building it works fine and people can use the application. In other buildings it doesn't work. Do I need to put the IP address of the router for that location as the final IP?
 
Hi,

I have a CP FW1 4.1 (NT4) with a routing problem.
FWNIC1 has address 62.16.192.n, FWNIC2 has address 192.168.1.16. The first one being the external address, the
latter the internal.
I have a second computer (192.168.1.60) that needs to have
a valid external address of its own.
The FW is set up to do static NAT or that PC and has its
external interface set up to accept traffic for 62.16.192.m via arp. It receives the traffic, too.

I should be able to set up a route for traffic directed to
this address to be forwarded to the PC like this:
route add 62.16.192.m mask 255.255.255.224 192.168.1.60
However, this does not work. Why? Any suggestions on how
to get the traffic to reach the PC?

Thanks in advance
Markus
 
Help,
I have a WinNt machine that I want to permanently route to an IP address. I use the -p and when I reboot and do a 'route print' the list is cleared. I basically have to reroute everytime I reboot the machine. I'd rather not do a batch file. Any ideas.
Thanks in advance,
Jane
 
Have you tried just using the hosts and lmhosts files? Glen A. Johnson
Microsoft Certified Professional
gjohn76351@msn.com

&quot;Nothing can be done quickly and prudently at the same time.&quot;
Publilius Syrus (1st century B.C.); Roman writer.
 
Me again! I just realized why my route command isn't holding. Apparently Winnt does not like the way I did the route add command. I did a route add 0.0.0.0 mask 0.0.0.0 ###.###.###.### (being a router ip address). Only using this because I was told to. Is there a problem with using 0.0.0.0 instead of specifying the address. Is this why Winnt would not hold it?

Jane
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top