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
You should follow me on twitter here or grab rss feed to keep track of new changes.
Featured Articles:
- 30 Handy Bash Shell Aliases For Linux / Unix / Mac OS X
- Top 30 Nmap Command Examples For Sys/Network Admins
- 25 PHP Security Best Practices For Sys Admins
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- Linux: 20 Iptables Examples For New SysAdmins
- Top 20 OpenSSH Server Best Security Practices
- Top 20 Nginx WebServer Best Security Practices
- 20 Examples: Make Sure Unix / Linux Configuration Files Are Free From Syntax Errors
- 15 Greatest Open Source Terminal Applications Of 2012

- My 10 UNIX Command Line Mistakes
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- The Novice Guide To Buying A Linux Laptop













{ 8 comments… read them below or add one }
ping ipv6 between windows and linux
ping ipv6 in windows
Try pinging the loopback 127.0.0.1 and see what you get.
or try ::1 which is correct for IPv6.
I couldn’t get PING6 to work… but noticed that PING uses PING -6 #### to work…
Good and many many thanks buddy really nice great post and keep up the good work
On Windoze you will use ‘PING -6′, on -NIX you will use ‘PING6′.
I got:
$ ping6 ipv6.google.com
connect: Network is unreachable
Does it means my network didn’t give me an ipv6 address?
On http://ipv6test.google.com/ I got:
“No problems detected.
You don’t have IPv6, but you shouldn’t have problems on websites that add IPv6 support.”