Operating System - HP-UX
1835916 Members
2598 Online
110087 Solutions
New Discussion

Can't ssh to a server becuase of "dead router detection"

 
SOLVED
Go to solution
Derek Brown
Frequent Advisor

Can't ssh to a server becuase of "dead router detection"

Guys, can anyone advise on this problem please .............

I need to ssh from a server called tldnms to a server called ldh003. Both the servers and the default router are part of a DMZ. ssh has been set up correctly but I can only ssh from tldnms for a sgort while then the "dead router detection" kicks in and I lose connection because it can't see the default gateway anymore.

I've figured out that I need to switch off dead router detection off via :

ndd -set /dev/ip ip_ire_gw_probe 0

This works great and allows me to ssh OK. However, this command won't survive a reboot so I've tried creating these entries in /etc/rc.config/secconf to overcome that :

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

then rebooted and it didn't work !!
ip_ire_gw_probe got reset to 1 during the reboot. Can anyone advise as to how to do this properly please ? Many thanks


3 REPLIES 3
Jeff Schussele
Honored Contributor

Re: Can't ssh to a server becuase of "dead router detection"

Hi Derek,

That needs to be set in the /etc/rc.config.d/nddconf file.
Make sure that the index - in the [ ] brackets is unique.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: Can't ssh to a server becuase of "dead router detection"

You have a typo TRANSPORT_NAMEi[0] # drop the 'i'.

These changes should go in /etc/rc.config.d/nddconf.
If it ain't broke, I can fix that.
Derek Brown
Frequent Advisor

Re: Can't ssh to a server becuase of "dead router detection"

~Excellent . thanks guys