Operating System - HP-UX
1833476 Members
2971 Online
110052 Solutions
New Discussion

Cannot connect to default gateway

 
Mukul_Upadhyaya
Advisor

Cannot connect to default gateway

Hi,
I installed HPUX 11iv2 Dec 2007 on a A500 server. The server is able to ping all the machines on the local subnet but not the default gateway. The subnet mask etc. check out.
Suggestions?

Regards
Mukul
3 REPLIES 3
Tim Nelson
Honored Contributor

Re: Cannot connect to default gateway

The default gateway must be on the same subnet.

The default gateway must be configured to answer ping requests.

If you can answer yes to the above two then something else is awry. Typing error ? More info that you have not included ? Dual NICs ? other software ?

Matti_Kurkela
Honored Contributor

Re: Cannot connect to default gateway

Can any other host on the subnet ping the gateway and get a response?

If not, the gateway is obviously configured to ignore any ping packets. With some HP-UX versions, you'll need this ndd setting if a gateway is not pingable:

ndd -set /dev/ip ip_ire_gw_probe 0

It disables the "dead gateway detection" algorithm.

To make this setting permanent, add lines like this to /etc/rc.config.d/nddconf:

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

If other hosts can successfully ping the gateway, it appears the gateway may have some firewall functions built-in. Check with the administrator of the gateway and find out if the current firewall settings are appropriate for your server.

MK
MK
VK2COT
Honored Contributor

Re: Cannot connect to default gateway

Hello,

I regularly work for customers that
disable ICMP and one cannot use standard
tools like ping, traceroute, arp, and similar.

In fact, one of my largest customers
completely disabled pings. We cannot
even reach the default gateway via ICMP.
Still, everything works fine :)

Matti is right. Dead gateway detection is
what you need to set up in that case.

In fact, dead gateway detection is
one of the many tests I run for
Hp-UX audits:

http://www.circlingcycle.com.au/Unix-sources/HP-UX-check-OAT.pl.txt

Cheers,

VK2COT
VK2COT - Dusan Baljevic