Operating System - HP-UX
1837932 Members
2780 Online
110124 Solutions
New Discussion

Re: Default Gateway Problem

 
sriharikumar_1
Contributor

Default Gateway Problem

Hi,

In our HP 9000 L1000 server running HP-UX 11.00, whenever the server is rebooted, the default gateway vanishes. So now we are adding it everytime after rebooting the server.

Can anyone prescribe a way to avoid this problem.

Awaiting for all of your valuable replies.

Thanks and Regards.
6 REPLIES 6
Philip Chan_1
Respected Contributor

Re: Default Gateway Problem

Hi,

How did you setup the gateway? I found using the "set_parms" command is the most reliable way of doing this. Also, if you could post the /etc/rc.config.d/netconf file of your system that would made the trouble shooting process much easier.

Rgds,
Philip
Rita C Workman
Honored Contributor

Re: Default Gateway Problem

It should be entered in your /etc/rc.config.d/netconf file. You may want to double check this file and make sure it's solid...

/rcw
Ajitkumar Rane
Trusted Contributor

Re: Default Gateway Problem

One more way SAM ->Networking and communication -> Internet Addresses : Action, Default Gateway, enter the ipaddress and the name of your gateway.

Goodluck.
Amidsts difficulties lie opportunities
janders
Advisor

Re: Default Gateway Problem

Hi,
Check for errors in the /etc/rc.log file.
The default gateway/route should be defined in the /etc/rc.config.d/netconf near the bottom of the file. Also check for duplicates/backups of this file in the /etc/rc.config.d directory as I've seen some situations where this causes weird problems.

Hope that helps.
Jason
Vincent Stedema
Esteemed Contributor

Re: Default Gateway Problem

Hi,

HP-UX 11.00 has a "feature" called Dead Gateway Detection. Basically, the OS tries to ping its default gateway. If the default gateway doesn't respond, the OS just deletes the route entry. Nice feature, huh?

To prevent the OS from doing so you have to use ndd. This can be done on the fly:

ndd -set /dev/ip ip_ire_gw_probe 0

But, if you want this setting to remain active after a reboot, edit your /etc/rc.config.d/nddconf accordingly:

TRANSPORT_NAME[0]=ip
NDD_NAME[0]=ip_ire_gw_probe
NDD_VALUE[0]=0

Hope this helps..

Vincent
Marcel Boon
Trusted Contributor

Re: Default Gateway Problem

Hi,

Setup is done in the /etc/rc.config.d/netconf file under the config of your interface:

ROUTE_DESTINATION[0]=default
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]=172.10.1.254
ROUTE_COUNT[0]=0
ROUTE_ARGS[0]=""

For a hub/router/switch you will want to set
ROUTE_COUNT=1.
For local interface card you will set
ROUTE_COUNT=0.

Marcel
See the man pages