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

Restoring static routes

Status
Not open for further replies.

stawolg

Technical User
Sep 25, 2001
28
0
0
DE
After a detach of an interface all routes are lost.
I have to restore them, but cant use /cfginet on hacmp cluster. Probably they must be set directly by "route add" after extracting the route information from odm by lsattr -El inet0 or odmget. Or is there an easier way? Or is there a little script for this available?
 
The only thing you've to do is a mkdev -l inet0.
With this command you will back static route definitions as stored in configuration database.
Regards


 
We use a fairly simple script called rc.routes. It is called from the app start script when a resource comes up on the node. All it does is
Code:
route add
's. ODM would only have route information if you added routes using
Code:
chdev -l inet0 -a route=.....
.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top