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!

auto addition to routing table on bootup

Status
Not open for further replies.

gfunk123

IS-IT--Management
May 22, 2001
143
GB
I need to run a command so that a specific route is added to the routing table if the machine is rebooted.

I have been advised that i should create a file in the /etc/rc2.d folder with the 'add route ' command in there

but how do i make it run just after the network services are started on bootup - i am running solaris 2.6

any help would be greatly appreciated

thanks
 
Create a file in /etc/rc2.d called S99route and add the commands in there, it will then boot at startup
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top