Windows 7 / Networking

IPv6 Route Determination Process

In step 2 of the preceding procedure, the host determines the next-hop address and nexthop interface by using its local routing table. The details of this process are as follows:

  1. For each routing table entry, the first N bits in the route's network prefix are compared with the same bits in the destination address in the packet header, where N is the number of bits in the route's prefix length. If these bits match, the route is determined to be a match for the destination.
  2. The list of all matching routes is compiled. If only one matching route is found, this route is chosen and the route determination process is ended.
  3. If multiple matching routes are found, the matching route having the largest prefix length is chosen and the route determination process is ended.
  4. If multiple matching routes having the largest prefix length are found, the matching route having the lowest metric is chosen and the route determination process is ended.
  5. If multiple matching routes having the largest prefix length and lowest metric are found, one of these routes is selected and the route determination process is ended.

The effective result of this IPv6 route determination process is as follows:

  1. If a route can be found that matches the entire destination address in the packet header, then the next-hop address and interface specified in this route are used to forward the packet.
  2. If a route of the type described in step 1 is not found, the most efficient (that is, lowestmetric) route that has the longest prefix length matching the destination address is used to forward the packet.
  3. If a route of the type described in step 2 is not found, the packet is forwarded using the default route (with network prefix ::/0).
[Previous] [Contents] [Next]

In this tutorial:

  1. Deploying IPv6
  2. Understanding IPv6
  3. Understanding IPv6 Terminology
  4. Understanding IPv6 Addressing
  5. Understanding IPv6 Prefixes
  6. Understanding IPv6 Address Types
  7. Understanding Unicast Addresses
  8. Identifying IPv6 Address Types
  9. Understanding Interface Identifiers
  10. Comparing IPv6 with IPv4
  11. Understanding IPv6 Routing
  12. How IPv6 Routing Works
  13. IPv6 Route Determination Process
  14. IPv6 Routing Table Structure
  15. Understanding ICMPv6 Messages
  16. Understanding Neighbor Discovery
  17. Understanding Address Autoconfiguration
  18. Understanding Name Resolution
  19. Understanding Name Queries
  20. Understanding Name Registration
  21. PTR Records and IPv6
  22. IPv6 Enhancements in Windows 7
  23. Summary of IPv6 Enhancements in Windows 7
  24. Configuring and Troubleshooting IPv6 in Windows 7
  25. Configuring IPv6 in Windows 7 Using the User Interface
  26. Configuring IPv6 in Windows 7 Using Netsh
  27. Other IPv6 Configuration Tasks
  28. Enabling or Disabling IPv6
  29. Disabling Random Interface IDs
  30. Resetting IPv6 Configuration
  31. Displaying Teredo Client Status
  32. Troubleshooting IPv6 Connectivity
  33. Planning for IPv6 Migration
  34. Blocking Teredo
  35. Understanding ISATAP
  36. Migrating an Intranet to IPv6
  37. Step 1: Upgrading Your Applications and Services
  38. Step 2: Preparing Your DNS Infrastructure
  39. Step 3: Upgrading Your Hosts
  40. Step 4: Migrating from IPv4-only to ISATAP
  41. Step 5: Upgrading Your Routing Infrastructure
  42. Step 6: Upgrading Your DHCP Infrastructure
  43. Step 7: Migrating from ISATAP to Native IPv6
  44. The Advantages of IPv6
  45. Address Resolution in IPv6