How to assign persistent route to windows 98 pc


    Dear All,

              I would like to assign persistent staic route to windows 98 machine. I want the route to be updated to routing table after every reboot and this updation should be before i logon to network.

  Regards
 Priyank Gaddala
priyankgAsked:
Who is Participating?
 
Pete LongTechnical ConsultantCommented:
My appologies

NOTE : The -p switch is not supported on either Microsoft Windows Millennium Edition-based, Microsoft Windows 98-based, or Microsoft Windows 95-based computers.
http://www.jsiinc.com/SUBK/tip5000/rh5063.htm

in this case you would need to fool the OS into doing it every time it boots

open notepad

put in the following lines

@echo off
route add <network> mask <subnet> <next hop ip>


Save the file (change text files to "all files" on the save as type box and save it as route.bat in the startup folder, that way every time you boot the route is remapped, its a crude workaround but it works.

Pete
0
 
Pete LongTechnical ConsultantCommented:
http://www.brienposey.com/kb/making_windows_98_aware_of_foreign_subnets.asp

basically route print will display the routing table

route add <Network address of destination> mask <subnet mask of destination> <next hop IP> -p

will do the jod
0
 
Pete LongTechnical ConsultantCommented:
-p make it persistant (ie static)
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
Anthony_ECommented:
or even better u can put it autoexec.bat then it would do it b4 windows loads
0
 
Pete LongTechnical ConsultantCommented:
no it wont - protocols are loaded after vxd's in win 9x and route add is a w32 command
0
 
Anthony_ECommented:
ah yes sorry bout that
0
 
Pete LongTechnical ConsultantCommented:
no probs Anthony thanks for trying to help :)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.