Q. I'm unable to ping an IPv6 address. I'm getting error:
ping 2001:db8::1428:57ab
ping: unknown host 2001:db8::1428:57ab
My network is configured for IPv6 with IP address. How do I ping an IPv6 address?
A. Regular ping command only works with IPv4 address. Use ping6 command to send ICMP ECHO_REQUEST to network hosts from a host or gateway.
ping to IPv6 host
Type the command as follows:
$ ping6 localhost
$ ping6 host.domain.com
$ ping6 IPv6-address
$ ping6 2001:4860:b002::68
The best way is to ping global website such as ipv6.google.com, enter:
$ ping6 ipv6.google.com
Sample output:
ping6 ipv6.google.com PING ipv6.google.com(2001:4860:b002::68) 56 data bytes 64 bytes from 2001:4860:b002::68: icmp_seq=0 ttl=59 time=58.4 ms 64 bytes from 2001:4860:b002::68: icmp_seq=1 ttl=59 time=56.4 ms 64 bytes from 2001:4860:b002::68: icmp_seq=2 ttl=59 time=62.1 ms 64 bytes from 2001:4860:b002::68: icmp_seq=3 ttl=59 time=56.8 ms 64 bytes from 2001:4860:b002::68: icmp_seq=4 ttl=59 time=56.5 ms 64 bytes from 2001:4860:b002::68: icmp_seq=5 ttl=59 time=59.5 ms --- ipv6.google.com ping statistics --- 6 packets transmitted, 6 received, 0% packet loss, time 5002ms rtt min/avg/max/mdev = 56.443/58.329/62.150/2.045 ms, pipe 2
Read ping6 man page for more information:
$ man ping6
- Email FAQ to a friend
- Printable version
- Rss Feed
- Last Updated: 1-23-09

{ 2 comments… read them below or add one }
ping ipv6 between windows and linux
ping ipv6 in windows