Operating System - HP-UX
1755742 Members
4786 Online
108837 Solutions
New Discussion юеВ

Route default gateway not configured after reboot

 
carodn
Advisor

Route default gateway not configured after reboot

Hello, I have a problem with a Vpar in a rx-8620 system, with HP-UX B.11.23 U ia64 operating System, when I reboot the Vpar and the system is ready, after 5 minutes, the route of the default gateway disappear, I lost the remote connections and I have to configure through the console, when the route is restored, the system continue working normally. This incident happens every reboot on this Vpar and it doesn't happen with the others, which have the same settings.
If anyone could help me I really appreciate that.
Thanks a lot,
Regards, Carolina.
7 REPLIES 7
siva0123
Trusted Contributor

Re: Route default gateway not configured after reboot

Hi,

How r u setting the route.

Is there a entry for the gateway in the /etc/rc.config.d/netconf file?


Thanks,
Siva
carodn
Advisor

Re: Route default gateway not configured after reboot

Hello Siva!, thanks for your fast answer, look, in the /etc/rc.config.d/netconf file there's a setting for the default gateway:

ROUTE_DESTINATION[16]=default
ROUTE_DESTINATION[17]=""
ROUTE_MASK[0]=""
ROUTE_GATEWAY[16]=10.11.11.1
ROUTE_GATEWAY[17]=""
ROUTE_COUNT[16]=1
ROUTE_COUNT[17]=""
ROUTE_ARGS[0]=""

and when the route disappear (I don't know how this can be happen), I add it from the SAM..
siva0123
Trusted Contributor

Re: Route default gateway not configured after reboot

Carolina.

Not sure whether this info will be helpful or not .

Sometime back we had a somewhat similar issue and all our network settings changed automatically after reboot and the investigation revelaed that the rc scripts didnt start successfully.

What about /etc/rc.log ? Though it may not solve the issue it is worth having a look at that too.

Thanks,
Siva
Jim Mallett
Honored Contributor

Re: Route default gateway not configured after reboot

I had a problem with this a while ago when our Network Admins started rejecting ICMP packets on our gateway. One possibility is that your system has dead gateway detection turned on. This doesn't really mean the gateway is down, it just means it's not accepting pings.

Take a look and see if dead gateway detection is turned on:
# ndd -get /dev/ip ip_ire_gw_probe

If a 1 is returned, you can try setting it to 0 by:
# ndd -set /dev/ip ip_ire_gw_probe 0

Then add your default route back in:
# route add default X.X.X.X 0

Now wait 5 minutes and see if your don't lose connectivity.

If you don't, then you need to change some startup params to automatically update the setting.

Edit /etc/rc.config.d/nddconf:
TRANSPORT_NAME[0]=ip
NDD_NAMEM[0]=ip_ire_gw_probe
NDD_VALUE[0]=0


Hope this helps....
Jim
Hindsight is 20/20
Victor Fridyev
Honored Contributor

Re: Route default gateway not configured after reboot

Hi,

Is it possible to see an output of
#>netstat -rn
and
#>ifconfig lanx for the active lans

BTW, why the index so big ? Do you have 15 routers ? Possible, that one of these router definititions destroys default router.

HTH
Entities are not to be multiplied beyond necessity - RTFM
carodn
Advisor

Re: Route default gateway not configured after reboot

Hello, my problem was resolved, there's a variable in the /etc/rc.config.d/netconf file

# Dynamic routing daemon configuration. See gated(1m)
#
# GATED: Set to 1 to start gated daemon.
# GATED_ARGS: Arguments to the gated daemon.

GATED=0
GATED_ARGS=""

the GATED variable was setted in 1, so I changed to 0, and reboot the system, so the route default gateway never disappeared again.
Thanks a lot for everyone
Regars, Carolina.
carodn
Advisor

Re: Route default gateway not configured after reboot

I'm really appreciate the help and fast responses of all the collaborators.