Testing IPv6 Connectivity by Using the Ping Command (Windows CE 5.0)
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
- To obtain the IPv6 address of a Windows CE-based device, run ipconfig /all at a command prompt.
- 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
Diagnosing Connections | IPConfig | Ping
Send Feedback on this topic to the authors