How to prioritize network adapters?

I did some searching and the only post I found that seemed like it might have helped was in the archived manjaro forum which looks like its dead now.

How do you set network adapter prioritization? Meaning being connected to two networks at one time, but select one to be used as the priority. Manjaro seems to default to the ethernet adapter if its connected.

1 Like

Look at split tunneling. I don’t have anything with me, but the Interwebs is vast…

That is selected by the “metric” value… see: systemd.network.html#Metric
The higher the metric = the lower the relative priority.vs another entry with lower metric.

1 Like

That instantly taught me a great deal:

" Metrics are used to prefer an interface over another one, lowest wins. dhcpcd will supply a default metric of 200 + if_nametoindex(3). An extra 100 will be added for wireless interfaces. I haven’t been able to find any documentation about dhclient’s approach to assigning the metric value."

Thats the kind of info I was looking for. Thank you.

:point_right:systemd.network.html#RouteMetric :wink:

1 Like

That was a quote from the internet. First search return.

Thank you for your assistance. Already made the changes and will test tomorrow.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.