Windows – Interface Metrics – How to manage Wired / Wireless connections

August 25, 2013


Configuring Metrics, or how to choose the default connection between Wired and Wireless Connections.

It is very common in today computers (especially Laptops) to have Wired Network Card (NIC) as well as Wireless. Often users end up in a conflict and they do not know how to control the system.

Windows Network configures each card to have its own TCP/IP.
The two cards can live together in peace and harmony provided they are configured to work with Set Priority.

The TCP/IP configuration has a special setting (under the Advance menu) for Metrics.

If you put a different number in the Metrics entry of the cards, the network connection would default to the connection with the lower number.

As an Example, if you put Metrics of 10 in the Wired Network connection, and Metrics of 20 in the Wireless Connection, the system would default to the wired connection

When the Wire is unplugged (or Not present) it would automatically switch to Wireless connection (if present).  When the Wired is plugged back it would take over the connection since it has lower Metrics.

How to configure?

1. In the Network and Sharing Center.

2. Click on the Active Connection.

4. Click on Properties.

3. Click Internet Protocol (TCP/IP), and then click Properties.

4. On the General tab, click Advanced.

5. To specify the Metrics, on the IP Settings tab click to clear the Automatic metric check box, and then enter the Metric that you want in the Interface Metric field.


So far so good for setting a priority to an Interface Adapter.

But you can define as well a Provider Order for the Adapters.

How to configure?

1. In the Network and Sharing Center.

2. Left side click on Change Adapter Settings.

4. Click Advanced in the menu.

3. Click Advanced Settings …

Here you can change the Provider Order.


But in my case none of these was a solution I was looking for ? Sad smile

I had a Wired Connection with a Default Gateway and a

Wireless Connection with a different Default Gateway.

Now the Wired Connection Gateway was down Sad smile and I wanted to reach the internet without losing connection to the LAN ??

How to configure?

Step 1 is to use the commande netstat -rn or route print to get access to the current Routing Table settings

Step 2 use the command to delete the default Gateway route of the LAN (


Run command As Administrator : route delete mask

You can now see that the Default Gateway is not the Wired LAN anymore.


All LAN traffic goes over the Wired Connection and the Internet Traffic goes over the Wireless Lan.

PS : Remember when reconnecting the Default Gateway will be back as before.

It’s not an automatic failover but it Worked well !!