Export (0) Print
Expand All

Test IPv6 connectivity by using the ping command

Updated: January 21, 2005

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

To test IPv6 connectivity by using the ping command

  1. To obtain the IPv6 configuration for a computer, open Command Prompt, and then type netsh interface ipv6 show interfaceInterfaceName, where InterfaceName is the name of an interface on your computer. For example, if you have an interface named Local Area Connection, type:

    netsh interface ipv6 show interface "Local Area Connection"

    If IPv6 is not installed, see Related Topics.

  2. Use one of the following commands to ping another IPv6 node:

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

      ping Address%ZoneID

      where Address is the link-local address of the other node and ZoneID is typically the interface index for the interface from which you want to send ping packets. You can obtain the interface index from the display of the netsh interface ipv6 show interface command.

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

    • To ping the site-local address of another node:

      ping Address%ZoneID

      where Address is the site-local address of the other node and ZoneID is the site identifier (Zone ID for Site) from the display of the netsh interface ipv6 show interface level=verbose command. If you are not using site identifiers or have only a single site, the %ZoneID portion of the command is not required.

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

    • To ping the global address of another node:

      pingAddress

      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:

      ping -6Name

      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 to ensure that IPv6 addresses are used.

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

Note

  • To open a command prompt, click Start, point to All programs, point to Accessories, and then click Command prompt.

Information about functional differences

  • Your server might function differently based on the version and edition of the operating system that is installed, your account permissions, and your menu settings. For more information, see Viewing Help on the Web.

See Also

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft