Testing IPv6 Connectivity by Using the Ping Command

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

You can test IPv6 connectivity, and reachability for a specific destination, by using the ping command.

To test IPv6 connectivity by using the ping command

  1. To obtain the IPv6 address of a Windows Embedded CE-based device, run ipconfig /all at a command prompt.

  2. To ping another IPv6 node, use one of the commands shown in the following table.

    IPv6 node to ping Action

    To ping the link-local address of another node on your link (also known as a subnet)

    Type ping Address%ScopeID, where Address is the link-local address of the other node and ScopeID is the interface index for the interface from which you want to send ping packets. You can obtain the interface index by typing ipconfig /all or ipv6 if and then pressing ENTER.

    If the ping command fails, verify the link-local address of the other node and the scope ID.

    To ping another node by source address

    Type ping –s count, where count specifies the source address in the Echo request message.

    To ping the global address of another node

    Type ping Address, where Address is the global address of the other node.

    If the ping command fails, verify the global address of the other node.

    To ping another node by name

    Type ping -6 Name, where Name 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.

    If the ping command fails, verify that the name can be resolved to an IPv6 address.

See Also

Concepts

Diagnosing Connections
IPConfig
Ping