Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

When I query the local interfaces on windows 8 in the command line, I could see the results listed below:

C:\> netsh interface show interface

Admin State    State          Type             Interface Name
-------------------------------------------------------------------------
Disabled       Disconnected   Dedicated        Wireless Network Connection
Enabled        Connected      Dedicated        Local Area Connection 5
Enabled        Disconnected   Dedicated        Local Area Connection 3
Enabled        Connected      Dedicated        Local Area Connection 2
  1. Does the order in the list indicate the network bind order?

  2. If so, how could I modify the order of those interfaces. For example, I would like to promote the Local Area Connection 2 to the top of the list.

Command line command is preferable but GUI steps are also welcome. Thanks a lot!

share|improve this question
    
Why does it matter what order they are listed in? Tell us what you are actually trying to achieve - there is probably a better way. –  Grant Jul 4 at 12:22
    
Let's say here is one PC connected to two different networks: Local Area Connection 5 and Local Area Connection 2. I would like to have all the traffic been routed through Local Area Connection 2 without modifying the route table of the PC. –  Hongzheng Jul 4 at 13:34
    
This is done by adjusting the metric in the routing table. Why do you want to avoid that? –  Grant Jul 4 at 13:48
    
@Grant you are right. I totally forgot about the metric value. Thanks a lot –  Hongzheng Jul 4 at 13:50
    
I have posted it as an answer so you can accept (and upvote) it. Glad I could help :) –  Grant Jul 4 at 14:32

1 Answer 1

up vote 5 down vote accepted

To specify which network adapter to use you need to set the metric value in the routing table. The order of the list of interfaces has no bearing on which will be used - its all in the routing table.

share|improve this answer

Your Answer

 
discard

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.