M
M
Maxim2020-05-02 11:15:04
network hardware
Maxim, 2020-05-02 11:15:04

How to disable automatic switching to a second network card?

Reformulated the description of the problem.
Windows 10.
There are two networks:
1) built-in network adapter (metric 35)
2) smartphone in USB modem mode (metric 75)
Windows uses the built-in network by default, as I need.
The problem is that if you lose connection with the Internet on the built-in - Windows immediately switches to the USB modem. How to make sure this doesn't happen?
Ps Disable is not an option: the USB modem is used in the virtual machine (network bridge -> usb modem). With the help of USB forwarding, the virtual machine can only see the smartphone, but not the modem.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
G
ggruno, 2020-05-02
@ggruno

Set the default gateway handles for the network so that it has priority
In Windows, I don’t know how to google
Ip route default gateway "ip gateway"
Something like this

1
15432, 2020-05-02
@15432

disable the modem in the manager or its network connection on the host, forward the USB to the virtual machine and let the Internet give itself to itself?

Y
Yan, 2020-05-02
@Slayer_nn

Google network card connections via powershell
https:
//ip-calculator.ru/blog/ask/upravlenie-prior
...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question