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!

Static Route

Status
Not open for further replies.

cesarcheng

Technical User
Mar 22, 2001
4
US
How can add a static route to the routing table and have it stay after a reboot?

I have tried the following
route add host X.X.X.X X.X.X.X

but it does not stay after a reboot. Any help will be appreciated and thanks in advance..
 

You can add that command line into the /etc/rc2.d/S72inetsvc startup script at the end.
 
Add the statement at the bottom of the inetinit file and it will remain after reboot.
 
Where is this inetinit file? Can't find it on Solaris. Any help of course will be appreciated.

Cesar
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top