[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 644
  • Last Modified:

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
0
priyankg
Asked:
priyankg
  • 5
  • 2
1 Solution
 
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
 
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
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
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

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

  • 5
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now