How do I set preferred NIC in Fedora 31

I have a wireless card i use to connect to the internet. I am also connected through wired connection to another network without any connection to the internet. How can i set the Wireless card as the main NIC for internet. Right now I have to disable the wired connection to be able to browse the internet and it seems to ignore the priority in the settings.

On Windows Central website there is an article called “How to change the priority order of network adapters on Windows 10” that shows how to do this in windows.

Just remove the gateway from the wired ports config

Set the route metric. Lower the metric, higher the priority.

Usually wireless gets a higher metric than wired.

1 Like