can you use PING for an IPv6 address?
IN the Redhat 5.3 distribution when you bring upo the ping man page you get a concatenation of ping and ping6. It implies that the syntax of
ping -I <interface name> <IPv6 address to be pinged>
the above command fails with a "unknown host" message. this occurs with a link local as well as a global address.
[jtr@LinuxServer-1 ~]$ ping -I eth1 3001:2234:1122:301:20c:29ff:fe41:a733
ping: unknown host 3001:2234:1122:301:20c:29ff:fe41:a733
[jtr@LinuxServer-1 ~]$
[jtr@Linux-1 ~]$ ping6 -I eth1 3001:2234:1122:301:20c:29ff:fe41:a733
PING 3001:2234:1122:301:20c:29ff:fe41:a733(3001:2234:1122:301:20c:29ff:fe41:a733) from 3001:2234:1122:101:20c:29ff:fe93:cb27 eth1: 56 data bytes
64 bytes from 3001:2234:1122:301:20c:29ff:fe41:a733: icmp_seq=0 ttl=126 time=4.23 ms
ping fails but ping6 works just fine. I use ping6 but I have been asked to research this.
My beleif is that the man page for ping/ping6 should have one more sentence added for the -I switch that states "the -I option is only for ping6 and ping does not work for IPv6 addresses.
do you think that this is a valid assumption about ping. All of the research I have done on this always indicate to use the ping6 command.
the same thing occurs being logged in as root or a regular user.
regards
Jerry
|