V
V
Vladimir Kivva2021-11-11 08:54:41
Computer networks
Vladimir Kivva, 2021-11-11 08:54:41

Is it possible for win10 to prioritize wifi instead of ethernet?

The bottom line is that you often need to set up some kind of piece of hardware, the connection to which is made by a laptop via a wire. The piece of iron has DHCP, immediately gives out the address, the laptop sees it - this is convenient. For example, a new router at the facility, when a connection to the provider has not yet been configured on it. I would like to remotely connect to this laptop, but when you connect the wire, the Wi-Fi connection automatically turns off. I tried Windows policies according to the instructions of the Internet - it does not help, perhaps they simply stopped working in new releases of Windows.
Also, Windows 10 ignores metrics, in foreign guides they say "I stopped respecting metrics." Those. there is no difference if you put "999" metric on Ethernet and "1" on Wi-Fi

Does anyone have an up-to-date solution?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Akina, 2021-11-11
@Akina

When the wire is connected, the Wi-Fi connection will automatically turn off.

What does "go out" mean? the adapter is physically disconnected? the network interface attached to it is logically disconnected? Try to use more sane terms, you are a technical specialist.
The piece of iron has DHCP, immediately issues an address

Not only the address, but a handful of other parameters, including the default gateway. In this case, the existing one immediately receives an increase in the metric and ceases to be used.
There is only one solution - after connecting the cable, remove both default routes from the routing table and re-add only the one you need. Run every time after unplugging/plugging/rebooting.
Windows 10 ignores metrics, foreign guides say "No respect for metrics". Those. there is no difference if you put "999" metric on ethernet and "1" on wifi

Sheer and blatant stupidity. Absolute misunderstanding of what an interface metric is and how it affects routing.

V
vovaxa44, 2021-11-12
@vovaxa44

You need to set not only the route metric in Windows, but also the gateway metric manually too. And you will be happy

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question