Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 646
  • 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
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

 
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.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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