HowTo: Ping IPv6 Address Using Windows Vista / Xp or Windows Server 2008 / 2003 Server

How do I ping IPv6 enabled address using Windows XP or Vista or Windows ME/Server edition?

Only following Windows product support IPv6 via ping.exe command:

=> Windows Vista

=> Windows Server 2008

=> Windows XP with SP1 or later

=> Windows version 7/8

=> Windows Server 2003 or above

WARNING! You must have IPv6 tunnel installed or native IPv6 transport from your ISP to use IPv6 over the Internet. You can always use IPv6 inside your LAN/WAN if you have IPv6 enabled networking gear such as routers and other equipments. You need to install the correct protocol (TCP/IPv6) in LAN settings on MS-Windows.

Ping IPv6 using DNS host name on MS-Windows

Open command prompt and type the following command
ping -6 {host.name}
ping -6 ipv6.google.com

OR
ping -6 sxi.io

Where ipv6.google.com or sxi.io is a name that can be resolved to an IPv6 address through entries in the local hosts file, or through AAAA resource records that are present in your Domain Name System (DNS) infrastructure. When you identify the target host by name rather than IPv6 address, it is necessary to include the -6 parameter.

To ping using an IPv6 address, use the Ping.exe syntax as follows:
ping IPv6Address [%ZoneID]
ping 2001:4860:0:2001::68

2001:4860:0:2001::68 is gloable IPv6 address. To ping to the link-local address fe80::260:97ff:fe02:6ea5 using zone ID 4 (the interface index of an installed Ethernet adapter), use the following command:
ping fe80::260:97ff:fe02:6ea5%4

Posted by: SXI ADMIN

The author is the creator of SXI LLC and a seasoned sysadmin, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.