Solved

How to assign persistent route to windows 98 pc

Posted on 2004-04-28
9
607 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
  • 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 90 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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
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

New My Cloud Pro Series - organize everything!

With space to keep virtually everything, the My Cloud Pro Series offers your team the network storage to edit, save and share production files from anywhere with an internet connection. Compatible with both Mac and PC, you're able to protect your content regardless of OS.

Question has a verified solution.

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

Even if you have implemented a Mobile Device Management solution company wide, it is a good idea to make sure you are taking into account all of the major risks to your electronic protected health information (ePHI).
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

896 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now