Troubleshooting IPv6 Connectivity
The standard approach for troubleshooting TCP/IP network connectivity issues on IPv4 networks is to follow these steps:
- Type ipconfig /all at a command prompt to verify the IPv4 configuration of the computer that is experiencing the problem.
- If verifying the computer's IPv4 configuration doesn't resolve the issue, try using the
ping command to test for network connectivity, beginning with the local computer
and working outward until the cause of the problem is determined. Specifically, follow
these steps in the order listed:
a. Ping the IPv4 loopback address 127.0.0.1 to verify that TCP/IP is installed and configured properly on the computer.
b. Ping the IPv4 address of the local computer.
c. Ping the IPv4 address of the default gateway.
d. Ping the IPv4 address of an IPv4 host on a remote subnet.
Other TCP/IP troubleshooting steps you can use on IPv4 networks include:
- Use the route print command to verify the configuration of the local computer's routing table.
- Use tracert to verify that intermediate routers are configured properly.
- Use the pathping command to identify packet loss over multihop paths.
- Clear the ARP cache by typing netsh interface ip delete arpcache at a command prompt.
- Verify the computer's DNS configuration, clear the DNS client resolver cache, and verify DNS name resolution.
Troubleshooting IPv6 network connectivity issues requires many of the same tools you use when troubleshooting IPv4. However, you use some of these tools in a different way because of the nature of IPv6 addressing and the way IPv6 is implemented in Windows 7 and Windows Vista. The differences include:
- You might need to specify a zone ID when attempting to verify IPv6 network connectivity with a target host using the ping command. The syntax for using ping with IPv6 is ping IPv6Address%ZoneID, where ZoneID is the zone ID (or scope ID) of the sending interface. For example, if the target host has the link-local unicast IPv6 address FE80::D3:00FF:FE28:9C5A and the sending interface has a zone ID of 12, to verify IPv6 connectivity with this host, you type ping FE80::D3:00FF:FE28:9C5A%12 at a command prompt. To determine the zone ID for an interface, you can either use the ipconfig /all command or type netsh interface ipv6 show interface at a command prompt. Note that because the zone ID is locally defined, a sending host and a receiving host on the same link may have different zone IDs. (Global and unique local unicast IPv6 addresses do not need a zone ID.)
- You should view and clear the neighbor cache on your computer before attempting to use ping to verify IPv6 network connectivity. The neighbor cache contains recently resolved link-layer IPv6 addresses; you can view it by typing netsh interface ipv6 show neighbors and flush it by typing netsh interface ipv6 delete neighbors at an elevated command prompt.
- You should also view and clear the destination cache on your computer before attempting to verify IPv6 network connectivity using ping. The destination cache contains next-hop IPv6 addresses for destinations. You can view the cache by typing netsh interface ipv6 show destinationcache; you can flush it by typing netsh interface ipv6 delete destinationcache at an elevated command prompt.
- You should use the -d option when attempting to trace the route to a remote IPv6 host using tracert or the -n option when using pathping. These options prevent these commands from performing DNS reverse queries on every near-side router interface along the routing path. Using these options can help speed up the display of the routing path.
Note Disabling IPv4 can also be a useful troubleshooting technique for developers who need to verify that their applications are IPv6-capable.
In this tutorial:
- Deploying IPv6
- Understanding IPv6
- Understanding IPv6 Terminology
- Understanding IPv6 Addressing
- Understanding IPv6 Prefixes
- Understanding IPv6 Address Types
- Understanding Unicast Addresses
- Identifying IPv6 Address Types
- Understanding Interface Identifiers
- Comparing IPv6 with IPv4
- Understanding IPv6 Routing
- How IPv6 Routing Works
- IPv6 Route Determination Process
- IPv6 Routing Table Structure
- Understanding ICMPv6 Messages
- Understanding Neighbor Discovery
- Understanding Address Autoconfiguration
- Understanding Name Resolution
- Understanding Name Queries
- Understanding Name Registration
- PTR Records and IPv6
- IPv6 Enhancements in Windows 7
- Summary of IPv6 Enhancements in Windows 7
- Configuring and Troubleshooting IPv6 in Windows 7
- Configuring IPv6 in Windows 7 Using the User Interface
- Configuring IPv6 in Windows 7 Using Netsh
- Other IPv6 Configuration Tasks
- Enabling or Disabling IPv6
- Disabling Random Interface IDs
- Resetting IPv6 Configuration
- Displaying Teredo Client Status
- Troubleshooting IPv6 Connectivity
- Planning for IPv6 Migration
- Blocking Teredo
- Understanding ISATAP
- Migrating an Intranet to IPv6
- Step 1: Upgrading Your Applications and Services
- Step 2: Preparing Your DNS Infrastructure
- Step 3: Upgrading Your Hosts
- Step 4: Migrating from IPv4-only to ISATAP
- Step 5: Upgrading Your Routing Infrastructure
- Step 6: Upgrading Your DHCP Infrastructure
- Step 7: Migrating from ISATAP to Native IPv6
- The Advantages of IPv6
- Address Resolution in IPv6