Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have the route table below on a Vista machine, I can see the same problem on Windows 7 too.

If I ping, I would expect the OS to honor the metric and choose either      3

or      3

It turns out that it actually choose to use the     30

route. So if I remove that route from the table, it works. By working, I mean the packets are sent over the interface rather than the interface.

Am I missing something or is this a bug in the OS?

IPv4 Route Table  
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
      3         On-link     30         On-link      3         On-link     30         On-link      3         On-link     30         On-link      3         On-link     30         On-link      3      2         On-link    306         On-link    306         On-link    306         On-link      3         On-link      3         On-link      3         On-link    306         On-link     30         On-link      3         On-link    306         On-link     30         On-link      3
Persistent Routes:
share|improve this question

migrated from Apr 5 '11 at 9:36

This question came from our site for professional and enthusiast programmers.

up vote 3 down vote accepted

I'm having the same problem with Server 2008. I posted a detailed question here Windows Server 2008 Ignores Persistent Route With Lower Metric.

It seems Microsoft went their own way when they redesigned their new TCP stack implementation.

The solution proposed by Microsoft tech support is to set the network card to ignore all default routing rules and recreate all routing rules manually as persistent routes. It sucks, but that might be the only option.

To ignore default routes:

netsh interface ipv4 set interface [ID] ignoredefaultroutes=enabled

To get the ID of your NIC:

netsh interface ipv4 show interface
share|improve this answer

This may help:

In short: Network and Sharing Center, Change adapter settings, Advanced, Advanced Settings, and then move adapter for the up in the list.

share|improve this answer
netsh interface ipv4 set interface "Local Area Connection" metric=999
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.