Operating System - HP-UX
1753491 Members
4580 Online
108794 Solutions
New Discussion юеВ

Re: Dead gateway detection

 
Ani1980
Occasional Advisor

Dead gateway detection

HI ,

We are receiving lots of alerts like

""Jun 26 09:51:56 abcserv vmunix: Dead gateway detection can't ping the last remaining default gateway at 0xa8da60bd .See ndd -h ip_ire_gw_probe for mor
e info"

 

please let me know how i will find the ip address from this hexno :-0xa8da60bd

 

Regards,

ANi

 

Regards,
Ani
7 REPLIES 7
Naj
Valued Contributor

Re: Dead gateway detection

Hi

 

>please let me know how i will find the ip address from this hexno :-0xa8da60bd

 

#lanscan |grep 0x001A4B08B200
0/4/2/0  0x001A4B08B200 1   UP    lan1 snap1     1   ETHER     Yes     119


#ifconfig lan1
lan1: flags=1843<UP,BROADCAST,RUNNING,MULTICAST,CKO>
        inet (server ip address) netmask fffff800 broadcast (broadcast ip)

 

 

::To check routing table

 

#netstat -rn

you can check "default gateway"

 

::To check NW Configuration

#more /etc/etc/rc.config.d/netconf

 

Thanks

 

BR

Naj

 


____________________________________________
:: Really appreciate if you could assign some points.
:: Don't know how to assign point? Click the KUDOS! star!
Ani1980
Occasional Advisor

Re: Dead gateway detection

HI, Tnx for your quick response.but i am unable to find it from lanscan.

 

abcserv -> /root
root # lanscan|grep -i 0xa8da60bd

abcserv -> /root
root # lanscan
Hardware Station        Crd Hdw   Net-Interface  NM  MAC       HP-DLPI DLPI
Path     Address        In# State NamePPA        ID  Type      Support Mjr#
0/0/1/1/0/6/0 0x001E0B83D16A 0   UP    lan0 snap0     1   ETHER     Yes     119
0/0/1/1/0/6/1 0x001E0B83D16B 1   UP    lan1 snap1     2   ETHER     Yes     119
0/0/12/1/0 0x001A4B07F992 2   UP    lan2 snap2     3   ETHER     Yes     119
0/0/12/1/1 0x001A4B07F993 3   UP    lan3 snap3     4   ETHER     Yes     119

abcserv -> /root
root #

 

regards,

Ani

Regards,
Ani
Naj
Valued Contributor

Re: Dead gateway detection

Hi,

Sorry for the output..
your ip should be 168.218.96.189

You may use this tool to convert the hex ip
http://www.silisoftware.com/tools/ipconverter.php

Thanks

____________________________________________
:: Really appreciate if you could assign some points.
:: Don't know how to assign point? Click the KUDOS! star!
Ani1980
Occasional Advisor

Re: Dead gateway detection

HI Naz, Thank you . I want to assign points . once i click kudos it is showing 1. but i want to give you more then 1 ..pls tell me how to do it ...this new HPSC it diff. for me :(

Regards,
Ani
Michael_Pelleti
Occasional Advisor

Re: Dead gateway detection

The lanscan command shows the MAC address, not the IP address.

 

If you don't have web access on the system, you can use the "bc" command:

 

# bc

ib=16

A4

164

...etc...

 

The "ib" stands for "input base" and when you type "A4" (with caps), it will show you the base-10 equivalent since the output base is still 10. Each part of an IP address is an 8-bit number, two hex digits.

 

Does anyone know whether dead gateway detection actually unplumbs the interface? How many failed pings does it wait before ceasing traffic to the allegedly dead gateway?

 

As you may have found out already, Ani, the HP system has ip_ire_gw_probe enabled, which causes it to ping the default gateway(s) every 3 minutes and disable the gateway if there's no response. If your router drops ICMP packets on the floor, this will affect any HP 11i system.

DeafFrog
Valued Contributor

Re: Dead gateway detection

Hi Michael ,

 

This is whad i have saved , before all the bookmarks went bad ,

 

ndd -get /dev/ip ip_ire_status | grep -e IRE_GATEWAY -e flag   <==note

This results in a list of all gateways, the flags will indicate a dead gateway.
Another option ip_ire_gw_probe_interval is available which changes the
frequency in which such probes will be performed.

 

Regards,

FrogIsDeaf
Pete Randall
Outstanding Contributor

Re: Dead gateway detection

> I want to assign points . once i click kudos it is showing 1. but i want to give you more then 1 ..pls tell me how to do it

 

You can only assign one kudo to each post.  The only way to give a particular person more than one kudo would be if they had responded more than once - then you could kudo each response.


Pete