How to prioritize a wired connection over Wi-Fi

In the age of ubiquitous wireless technologies, many users forget about the classic Ethernet cable, considering it a relic of the past. However, for gamers, streamers, and professionals working with large amounts of data, a physical connection remains the gold standard for stability. A common situation arises when a computer is connected to a router via a cable, but the operating system still tries to use Wi-Fi for traffic, ignoring the more reliable channel.

This leads to paradoxical results: when the cable is plugged in, the speed may drop, and the ping in games may jump. Interface priority — is a system setting that dictates the operating system which internet connection to use when both options are available. In this guide, we'll explore the technical nuances of this interface metric and show you how to force Windows or macOS to prefer the cable.

Ignoring this setting can negate all the benefits of a gigabit router. You're paying your ISP for high speeds, but getting the results typical of a congested wireless network. Setting the correct priority is a basic, yet often overlooked, step in optimizing your home network.

Why might the system ignore the cable?

Operating systems like Windows have built-in route selection logic called automatic metricsBy default, the system attempts to determine the most efficient path based on connection speed and response time. The problem is that this algorithm doesn't always work correctly, especially if the Wi-Fi adapter shows a high signal strength or the Ethernet cable is old or damaged.

In some cases, wireless adapter drivers can aggressively take over network control. This is especially common on laptops, where energy saving is a priority. The system may decide that Wi-Fi is "good enough" and not switch to a wired connection, even if it is physically enabled. Windows 10 And Windows 11 periodically change the behavior of network interfaces after major updates, which can reset your manual settings.

⚠️ Note: Network settings interfaces in Windows may vary slightly depending on the OS build version. If you can't find a setting, check the official Microsoft documentation for your specific system version, as the menu location is constantly changing.

Additionally, there are IP address or DNS server conflicts. If a wired connection receives settings from one DHCP server and the Wi-Fi from another (for example, a guest server), the system can become confused about routing. As a result, some traffic goes through the cable and some through the air, creating chaos in data packets.

📊 What connection type do you use most often?
Wi-Fi only
Cable only (Ethernet)
Both at the same time
Mobile Internet

Setting priority in Windows via adapter settings

The most reliable way to force a computer to use a cable is to manually change the interface metric. This method operates at the TCP/IP protocol level and is the most fundamental. You don't need any third-party software; everything is performed using standard operating system tools.

First, you need to open the Network Connections window. This can be done through the Control Panel or the command line. In the window that opens, you will see a list of all available adapters. Find yours. Ethernet adapter (usually called "Ethernet" or "Local Area Connection") and a wireless network adapter.

ncpa.cpl

Enter this command in the Run window (Win + R) to instantly open the list of network connections. Next, right-click the Ethernet icon and select Properties. In the list of components, find Internet Protocol Version 4 (TCP/IPv4), select it, and click Properties, then Advanced.

Here's the key point. At the bottom of the window, you'll see a checkbox labeled "Automatically assign metrics." It needs to be checked. take offIn the "Interface Metric" field, enter the number 10. The lower the number, the higher the priority. For the Wi-Fi adapter, follow the same steps, but set the metric to, for example, 50 or 100.

☑️ Checking metric settings

Completed: 0 / 1

After applying the settings, the system will recalculate the routing table. Now, if there's an active cable, all traffic will go through it. If the cable is disconnected, the system will automatically switch to Wi-Fi, as the default gateway for the wireless adapter will remain active, just with a lower priority.

Using the command line to manage routes

For advanced users who prefer control via the terminal, the utility is perfect routeIt allows you to manage the routing table directly, bypassing graphical interfaces. This method is especially useful if the network settings graphical interface is buggy or blocked by group policies.

First, you need to find out your current network configuration. Open the command prompt as administrator and enter the command ipconfig /allFind the "Default Gateway" line for your wired connection. Write down this IP address; you'll need it to create a static route.

Next, we use the add route command. The syntax requires the destination network, mask, and gateway. To prioritize the wired connection for the entire internet, we use a mask of 0.0.0.0. This means "any address."

route -p add 0.0.0.0 mask 0.0.0.0 192.168.1.1 metric 10

In this team -p means that the route will be permanent (will persist after reboot). 192.168.1.1 Replace with your router's IP address. Specifying a metric of 10 ensures that this route will be selected before others. For Wi-Fi, you can add a similar route with a metric of 50 if the system itself can't handle it.

⚠️ Warning: Errors when entering commands in route may result in loss of network access. Always check the gateway IP address before using the command. If the internet is lost, use the command route delete 0.0.0.0 to reset erroneous entries.

Using the command line provides flexibility that's difficult to achieve through the GUI. You can create complex scenarios where traffic to certain servers is routed via Wi-Fi, and the rest via cable. However, for most home users, simply changing the metric in the adapter properties is sufficient.

What is route metric?

A metric is a numerical value that a routing protocol uses to determine the preferred path. The algorithm always chooses the path with the lowest metric. If the metrics are equal, load balancing or chaotic switching may occur.

Network prioritization in macOS

Apple computer users may also need to manually manage the service order. In macOS, this feature is implemented more intuitively than in Windows and is located in System Preferences. The logic remains the same: the system scans the list of networks from top to bottom and uses the first available one.

To change the order, go to System Preferences (or System Preferences (in older versions) and select the "Network" section. In the right part of the window, where connections (Wi-Fi, Ethernet, Thunderbolt Bridge) are listed, you'll see a list. At the bottom of the list, there's often a button with three dots or a gear icon where you should select "Set Service Order."

In the window that opens, simply drag "Ethernet" (or "USB 10/100/1000 LAN" if you're using an adapter) to the very top of the list. Wi-Fi should be below. Click "OK" and then "Apply." Now macOS will always attempt to connect via a cable if one is connected.

It is important to note that in new versions macOS Sonoma And Sequoia The interface may look different, but the drag-and-drop functionality remains the same. Also, make sure "Automatically connect to this network" is unchecked in your Wi-Fi settings if you want to completely prevent accidental switching when the cable signal temporarily drops.

Parameter Windows (Metrica) macOS (Order) Impact on the network
Wired (Ethernet) 10 (High priority) Top line Main traffic channel
Wireless (Wi-Fi) 50-100 (Low priority) Bottom line Backup channel
Mobile hotspot 200+ (Minimum) The last line Emergency exit
VPN tunnel Depends on the setting Depends on the setting Encrypted traffic

Diagnostics and verification of results

After making changes, you need to verify that the system is actually using a wired connection. Simply seeing the cable icon in the system tray isn't enough. The most reliable way to check is to analyze the routing table and test real traffic.

Open command prompt and enter the command route print (for Windows) or netstat -rn (for macOS/Linux). You're looking for the "Active Routes" section. Find the line with the network destination. 0.0.0.0The "Gateway" column should contain the IP address of your router corresponding to the Ethernet port, and the "Interface" column should contain the IP address assigned by the cable.

You can also use traffic monitoring utilities such as Resource Monitor In Windows, the "Network" tab lets you see in real time how much data each process is sending and through which interface. Start a file download or video stream and see if the byte counter on the Ethernet adapter increases.

Another method is to check your external IP address. If your ISP has different IP addresses for your wired and wireless connections (which is rare, but possible if you use different ranges), you can check the address on their website. 2ip.ru before and after disabling the Wi-Fi module.

Common problems and their solutions

Even after proper configuration, issues may arise. Users often encounter situations where settings are reset after a reboot or driver update. This may be due to an aggressive power saving policy or a software conflict with the motherboard manufacturer.

Check the Device Manager. Find your network adapter, go to Properties, and under the "Power Management" tab, uncheck "Allow the computer to turn off this device to save power." This will prevent the card from turning off when idle, which sometimes results in it losing priority when waking up.

⚠️ Note: Third-party antiviruses and firewalls (Kaspersky, ESET, Norton) may have their own network management modules. These may override priority settings. Check the "Firewall" or "Network Protection" settings in your antivirus.

If all else fails, try uninstalling and reinstalling your Wi-Fi adapter driver. However, avoid installing proprietary Wi-Fi management software (such as Intel PROSet or ASUS/TP-Link utilities) and leave the default Windows driver installed. Third-party software often conflicts with system priority settings.

How router settings affect priority

It's important to remember that the client device is only half the equation. The router itself can also influence how traffic is handled. In modern models with support QoS (Quality of Service) You can set priorities at the level of the equipment itself.

Log into your router's web interface (usually 192.168.0.1 or 192.168.1.1). Find the QoS or Bandwidth Control section. Here, you can set a rule that will prioritize traffic coming through LAN ports over wireless traffic. This is especially important if you have many Wi-Fi devices connected to the router, creating noise.

It also makes sense to differentiate between frequency bands. If your computer only supports 2.4 GHz Wi-Fi, and a cable provides access to 5 GHz or higher, the cable has clear priority. However, if you're using Wi-Fi 6 (802.11ax), the speed difference may not be as noticeable, but a cable (full duplex) connection will still be more stable than a half-duplex connection.

Is it possible to use Wi-Fi and Ethernet at the same time to increase speed?

You can't combine two channels to double the speed using standard Windows tools. The system will choose one as the priority. Bonding requires specialized hardware or enterprise-grade software, as well as support from your ISP. In home settings, this often leads to conflicts.

Why did the Internet disappear after setting priority?

You most likely specified the wrong gateway or metric for the active connection. If the cable is damaged or not connected to the ISP, and you've prioritized Wi-Fi too low, your internet connection will be lost. Check the physical connection and reset the TCP/IP settings using the command netsh int ip reset.

Does cable length affect priority?

No, cable length (up to 100 meters for the Ethernet standard) does not affect the logical priority in the OS. However, an excessively long or poor-quality cable can cause a drop in connection speed (for example, from 1 Gbps to 100 Mbps), which the system may interpret as a reason to de-trust this interface.

Do I need to reboot my router after changing the metric on my PC?

No, the metric change occurs on the client side (your computer). The router simply sees the incoming connection. However, a reboot of the network adapter or the computer itself is required for the new routing table settings to apply.

Does this method work for virtual machines?

Yes, but there are some nuances. The virtual machine uses a virtual network adapter. Priority must be configured within the guest OS if it has direct network access (Bridge mode). If NAT is used, priority depends on the host system.