How to save Static Route via command line 'route'

  • Thread starter Thread starter Jason Morrill
  • Start date Start date
J

Jason Morrill

I'm running a basic Windows 2000 server. I have a number of routes set
up but the computer is not a router. The routes are simply local
routes to tell the server where to send data when a request comes in.

Example:
The server default gateway is 10.1.1.254
A request comes from 10.1.2.90
Server response through 10.1.1.252 (NOT the default gateway)

All works well. Then I reboot the server and it forgets the static
routes I set up with the route command.

How can I save the static local routing table so it survives a reboot?

Thanks!
Jason Morrill
IT Manager
Child & Family Agency
 
I'm running a basic Windows 2000 server. I have a number of routes set
up but the computer is not a router. The routes are simply local
routes to tell the server where to send data when a request comes in.

Example:
The server default gateway is 10.1.1.254
A request comes from 10.1.2.90
Server response through 10.1.1.252 (NOT the default gateway)

All works well. Then I reboot the server and it forgets the static
routes I set up with the route command.

How can I save the static local routing table so it survives a reboot?

Thanks!
Jason Morrill
IT Manager
Child & Family Agency


See tip 4220 in the 'Tips & Tricks' at http://www.jsiinc.com


Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com
 
Either 'route help' or 'route /?' or 'route -h' provides more help. Read
about -p switch and proper syntax.
 
Back
Top