Operating System - HP-UX
1819836 Members
2598 Online
109607 Solutions
New Discussion юеВ

Static routes added on start up

 
SOLVED
Go to solution
Gavin Westermann
Frequent Advisor

Static routes added on start up

I know how to do this on a Solaris box but not sure what the file is called or where it is on HPUX. I need to have several static routes added to an HPUX OV box I use. Can someone tell me the name and location of this file?

Gavin
3 REPLIES 3
Pete Randall
Outstanding Contributor
Solution

Re: Static routes added on start up

Gavin,

Take a look at /etc/rc.config.d/netconf, particulary the route section. You'll see something like this:

ROUTE_DESTINATION[0]=default
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]=130.1.0.248
ROUTE_COUNT[0]=1
ROUTE_ARGS[0]=""

You can add additional routes here, just remember to change the subscript (0 in this case) for each additional route.


Pete

Pete
Dave Hutton
Honored Contributor

Re: Static routes added on start up

/etc/rc.config.d/netconf is where you put the new routes you want.

Dave
Geno Church_1
Valued Contributor

Re: Static routes added on start up

Gavin,

That would be the /etc/rc.config.d/netconf file.

Geno