Windows 11 Network Internet Metrics no longer work.

Laurence Bunnage 0 Reputation points
2025-02-03T15:26:08.8666667+00:00

I have a system where I have both Ethernet and WiFi.
The WiFi is used to connect to the internet.
The Ethernet is used to connect to other PCs.
By default Ethernet seems to be prioritized for internet even though internet is only available via WiFi.
This was resolved by setting the Internet Metrics in the Network adaptor so that WiFi had a lower metric and hence had a priority than the ethernet.
However recently something has changed and this method no longer works, so I can only use the internet if I disable the ethernet.
I cannot give an exact date when this started happening, but sometime in the last month.
As this PC is in the office and I mainly work from home, I can no longer access that PC using TeamViewer which connects over internet.

Windows Network
Windows Network
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Network: A group of devices that communicate either wirelessly or via a physical connection.
812 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Zunhui Han 2,865 Reputation points Microsoft Vendor
    2025-02-03T15:36:24.26+00:00

    Hello,

    Thank you for posting in Q&A forum.

    By default, the network card or network priority of Windows 11/10 is as follows:

    Ethernet (LAN) > Wi-Fi (WLAN) > Cellular Network

    When connecting to multiple wired networks, the faster the link speed, the higher the priority

    The above conclusions are based on two important concepts and the working mechanism of Windows network:

    Hop: In computer networks, a hop is a value assigned to a specific network card IP route, indicating the cost of using the route. The lower the hop value, the higher the network priority.

    Automatic hop: When the Windows routing table contains multiple routes to the same destination, the system selects the priority network through the automatic hop function.

    I recommend that you open the PowerShell command as an administrator to specify the network connection priority. First execute the following command to view the detailed information of each network card.

    Get-NetIPInterface | Format-Table -AutoSize

    The main focus is on the following columns:

    InterfaceAlias ​​- NIC name

    IfIndex - NIC index number

    InterfaceMetric - NIC metric number

    Execute the following PowerShell command to modify the wlan NIC priority so that its metric number remains the lowest among all NICs.

    Set-NetIPInterface -InterfaceIndex "10 " -InterfaceMetric "15"

    Note: The NIC index number and NIC metric number should be modified according to your actual environment.

    I hope the information above is helpful.

    Best regards

    Zunhui

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.