Operating System - HP-UX
1833378 Members
3242 Online
110052 Solutions
New Discussion

Not able to ping mapped IPV4 addresses on HPUX

 
SOLVED
Go to solution
Manish_33
Advisor

Not able to ping mapped IPV4 addresses on HPUX

Is it that IPV4 mapped addresses are not supported on HPUX. I know they are supported on all other major unix flavours but when i try to ping my HPUX machine with mapped address i get the following error

/> ping ::ffff:9.182.195.157
ping: unknown host ::ffff:9.182.195.157

However i am able to ping my IPV6 address and ::1 . I am also able to ping ::ffff:9.182.195.157
from other machines.

I configured IPV6 using : ifconfig lan0 inet6 up

Have I missed anything. Thanks for suggestions.

4 REPLIES 4
Peter Godron
Honored Contributor
Solution

Re: Not able to ping mapped IPV4 addresses on HPUX

Hi,
see "man ping" -f option. Also the host section of "man ping"
Manish_33
Advisor

Re: Not able to ping mapped IPV4 addresses on HPUX

Thanks for that insight
Peter Godron
Honored Contributor

Re: Not able to ping mapped IPV4 addresses on HPUX

Hi,
you may also want to read Chapter 1 page 7
of docs.hp.com/hpux/pdf/T1306-90004.pdf

Check your files:
/etc/rc.config.d/netconf-ipv6
/etc/hosts for IPV6 format ip resolutions
and ipnodes in /etc/nsswitch.conf
Manish_33
Advisor

Re: Not able to ping mapped IPV4 addresses on HPUX

From the man pages of ping

The ping command does not accept IPv4-mapped IPv6
addresses. To ping an IPv4 node, an IPv4 address
should be used. IPv4-mapped IPv6 addresses are used
to address IPv4-only nodes from an IPv6 node in a
socket program only. IPv4-mapped IPv6 addresses are
always converted to an IPv4 address before they are
used in packets sent over the network.