Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

route add

Status
Not open for further replies.

DvDvDvDv

Programmer
May 24, 2001
100
PT
Hi all

Maybe somabody can help me.

I have a net based in frame relay and sub nets in my company.

The default gateway is the door to the open world. But I need the servers in tha base to "see" the other subnets... so I'm routing using the command:

route add [] MASK [] []

The problem is if one of the machines is rebooted I need to route again all the subnets. Is there any automatic way to don't worry about it ?

I tried to create a bat but it runs the command line in loop and never ends...

Help please
 
If you mean how to make a route mapping permanent in the routing stack, there is a parameter [-p] that writes it and makes it permanent between boots.
route add[] mask[] [gateway] [-p]

Hopes this helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top