1833780 Members
2536 Online
110063 Solutions
New Discussion

default route unstable

 
SOLVED
Go to solution
DEVCR
Advisor

default route unstable

I have to set every 3 min. the default route.
beyond this 3 min. the default route always appears on sam but the server cannot find his default route.

The gateway is correct, the ping command works on it, other servers find the same default route and are accessible
14 REPLIES 14
Laurent Menase
Honored Contributor
Solution

Re: default route unstable

check ndd -get /dev/ip ip_ire_status
that the gateway is not DEAD
Laurent Menase
Honored Contributor

Re: default route unstable

check also with netstat -nrv that you don't have more than one default gw
Mel Burslan
Honored Contributor

Re: default route unstable

why do you have to set the default route every 3 minutes ? Is it disappearing from your routing table ? Or is it just becoming dysfunctional ?

Also, at the expense of pointing the obvious, are you sure that you do not have a cabling problem, like an intermittently bad ethernet cable ?

If you can post the output of netstat -rn command, most probably you can get better answers.
________________________________
UNIX because I majored in cryptology...
Laurent Menase
Honored Contributor

Re: default route unstable

check that gated is not configured
DEVCR
Advisor

Re: default route unstable

thanks you for all your answers

check ndd -get /dev/ip ip_ire_status
that the gateway is not DEAD
=> command returns gateway as DEAD

check also with netstat -nrv that you don't have more than one default gw
=> just one gateway (declared as default)

why do you have to set the default route every 3 minutes ? Is it disappearing from your routing table ? Or is it just becoming dysfunctional ?
=> because it seems that the server can't see the gateway beyond 3 minutes, however the routing table is correct, it appears dysfunctional for the server to see the gateway

check that gated is not configured
=> she's configured but not allow to respond (from ping command), you must know that I have others servers (debian,windows) capable to reach another networks
Laurent Menase
Honored Contributor

Re: default route unstable

so your gateway doesn't answers to pings,
so disable dead gateway probing
setting ndd ip_ire_gw_probe to 0
ndd -set /dev/ip ip_ire_gw_probe 0
DEVCR
Advisor

Re: default route unstable

setting ndd ip_ire_gw_probe to 0
ndd -set /dev/ip ip_ire_gw_probe 0
=> it seems to work... and after a reboot the problems re-appears
Laurent Menase
Honored Contributor

Re: default route unstable

you must put it in nddconf for next reboot
DEVCR
Advisor

Re: default route unstable

the syntaxe?
Laurent Menase
Honored Contributor

Re: default route unstable

/etc/rc.config.d/nddconf

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

- depends if there is already entries in your nddconf.

consult man nddconf for more info
DEVCR
Advisor

Re: default route unstable

ok, it works...let's see how the server will behave on next days
DEVCR
Advisor

Re: default route unstable

it works good!
DEVCR
Advisor

Re: default route unstable

thanks a lot for all
DEVCR
Advisor

Re: default route unstable

the solution has been found
thanks a lot for all of thus