Ubuntu 20.04 - Is it possible to prioritize network connection?
I'm using a desktop having 2 networks - Wired (192.168.2.1
)& Wifi (192.168.3.1
). Both are from same router that WAN gets it ( WAN -> 192.168.2.1
-> 192.168.3.1
)
Wifi is separated mostly to reduce traffic (IPCAMS) from 192.168.2.1
and sometime internet is disconnected from it to check IOT devices.
Sometimes when Wifi is without internet, Desktop "loses" internet as well (when disconnecting WiFi - internet is back on ). This is not a connectivity issue, Wifi is OK.
So, my question is if there's a way to prioritize Wired network over Wifi ?
Solution 1:
Options
-
ifmetric
(ref).
Related:
- How prioritize ethernet over wifi in Ubuntu 18.04?
- https://superuser.com/questions/331720/how-do-i-set-the-priority-of-network-connections-in-ubuntu