Search This Blog

2014-11-26

Windows Network Interface Priority

If you have two default gateways it can be tricky to figure out which interface it will take to get out to the internet.

Windows will use the following criteria to choose which path to take:
  1. Lowest Metric - Calculated via link speed (The faster the link the lower the metric
  2. If the metrics are the same it will use the first detected NIC - configured through adapter settings

What this means is that if you have two similar speed interfaces the primary method of configuring priority is through the following interface:
 

In the above example if the metrics are both the same the interface named "Ethernet" will take priority.

Refereces:
http://technet.microsoft.com/en-us/library/cc779696%28v=ws.10%29.aspx
http://w3facility.org/question/routing-decision-when-there-are-two-default-gateways-on-windows/
http://superuser.com/questions/198544/how-does-windows-7-decide-which-route-to-take-if-2-connections-to-an-internet-so
http://serverfault.com/questions/59442/routing-decision-when-there-are-two-default-gateways-on-windows
http://theregime.wordpress.com/2008/03/04/how-to-setview-the-nic-bind-order-in-windows/
http://techrena.net/view-change-network-adapter-card-priority-binding-order-windows-7/
http://windows.microsoft.com/en-ca/windows/change-network-protocol-bindings-order#1TC=windows-7

No comments:

Post a Comment