What is Windows XP's automatic metric feature?

A. XP introduced the TCP/IP automatic metric feature. The OS uses metrics to assign costs to IP routes that let the IP component select the "cheapest" cost route when sending packets. Traditionally, you could manually assign a cost to a route--XP lets you automatically assign a route cost according to the link's connection speed, as shown below:

Link Speed Metric
Greater than 200Mbps 10
Greater than 20Mbps, and less than or equal to 200Mbps 20
Greater than 4Mbps, and less than or equal to 20Mbps 30
Greater than 500Kbps, and less than or equal to 4Mbps 40
Less than or equal to 500Kbps 50

Assigning route costs is useful when you have multiple network connections to one destination. In such a scenario, XP will use the fastest link connection because it will have the lowest cost.

To see the end result, from the command prompt type

route print 

The following sample shows metric values assigned for multiple IP routes:

Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
       20       1       20       30       20       30       20       30       20       30       1               4       1       1
Default Gateway:

In this sample, you can see two interfaces: and The first interface has a metric value of 20 and the second interface has a metric value of 30. The first interface,, is a 100Mbps LAN link and the second interface,, is an 11Mbps wireless network that connects to my 1Mbps broadband link. Where both interfaces are available, XP would use the lowest metric (i.e., 20), which corresponds to the 100Mbps link.

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.