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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SCO routing

Status
Not open for further replies.

brendangriffin

Technical User
Feb 22, 2001
69
GB
Hi,

I am using the command ROUTE ADD xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx, this works fine but once the machine has been rebooted it losses this setting,

Is there anyway that I can set this up to be a persistant route or at least one that can be re-initialised at boot up.

Thanks

Brendan
 
You could add a script a start up script.
Place all of your routing statements into /etc/rc2.d/S99route

Something like this:

# S99route statement
# vi S99route
# echo "Setting up default route"
# /etc/route add default 192.168.1.1
# chown root S99route
# chgrp sys S99route
# chmod 744 S99route


echo "Setting up default route"
/etc/route add default 192.168.1.1

-Danny
techie@snoboarder.net






 
You could add start up script.
Place all of your routing statements into /etc/rc2.d/S99route

-Danny
techie@snoboarder.net






 
Please do not advise adding scripts like this without understanding the version. The advice is NOT appropriate for 5.0.6 and there are better ways on 5.0.4 and 5.0.5

The faq faq58-1436 fully covers this.
Tony Lawrence
SCO Unix/Linux Resources tony@pcunix.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top