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

Permanent Static Route 1

Status
Not open for further replies.

mribeiro

MIS
Apr 27, 2000
2
BR
I´d like to create some Permanents Static Routes in my server. <br><br>I use the command route add net XXX.XXX.XXX.XXX netmask XXX.XXX.XXX.XXX YYY.YYY.YYY.YYY<br><br>If I reboot my server, these routes are lost!<br><br>Do you know to create PERMANENTS routes in HP-UX that are not deleted when we reboot the server?<br><br>Thank you!
 
Permanent routes need to be specified in the <b>/etc/rc.config.d/netconf</b> file. There will be an empty route description in this file already, just fill in the relevent details.&nbsp;&nbsp;And if you want more than one route make a copy of the description and increment the numbers in the squared brakets by one for each new entry.<br><br>EXAMPLES:<br><br>ROUTE_DESTINATION[0]=&quot;172.16.130.0&quot;<br>ROUTE_MASK[0]=&quot;&quot;<br>ROUTE_GATEWAY[0]=&quot;172.16.100.22&quot;<br>ROUTE_COUNT[0]=&quot;1&quot;<br>ROUTE_ARGS[0]=&quot;&quot;<br><br>ROUTE_DESTINATION[1]=&quot;172.16.121.0&quot;<br>ROUTE_MASK[1]=&quot;&quot;<br>ROUTE_GATEWAY[1]=&quot;172.16.100.22&quot;<br>ROUTE_COUNT[1]=&quot;1&quot;<br>ROUTE_ARGS[1]=&quot;&quot;<br><br>It's Easy When You Know How(TM)<br><br> <p>Seth Yates<br><a href=mailto:syates@hawtal.co.uk>syates@hawtal.co.uk</a><br><a href= > </a><br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top