Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How to assign persistent route to windows 98 pc

Posted on 2004-04-28
9
Medium Priority
?
637 Views
Last Modified: 2007-12-19

    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
Comment
Question by:priyankg
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 2
9 Comments
 
LVL 57

Expert Comment

by:Pete Long
ID: 10940956
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
 
LVL 57

Expert Comment

by:Pete Long
ID: 10940961
-p make it persistant (ie static)
0
 
LVL 57

Accepted Solution

by:
Pete Long earned 360 total points
ID: 10941268
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
Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

 
LVL 5

Expert Comment

by:Anthony_E
ID: 10944150
or even better u can put it autoexec.bat then it would do it b4 windows loads
0
 
LVL 57

Expert Comment

by:Pete Long
ID: 10944333
no it wont - protocols are loaded after vxd's in win 9x and route add is a w32 command
0
 
LVL 5

Expert Comment

by:Anthony_E
ID: 10944604
ah yes sorry bout that
0
 
LVL 57

Expert Comment

by:Pete Long
ID: 10950730
no probs Anthony thanks for trying to help :)
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
Make the most of your online learning experience.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question