dhcpcd icon indicating copy to clipboard operation
dhcpcd copied to clipboard

Is it possible to update the metric of a configured interface?

Open brjoha opened this issue 9 months ago • 1 comments

dhcpcd uses the interface metric (priority) with respect to default route and DNS configuration.

My multi-interface use-case is taking other factors into consideration, resulting in a dynamic interface metric.

dhcpcd wlan0 -m <val> --reconfigure had no effect, whereas dhcpcd wlan0 -m <val> --rebind did.

However, the latter involves an unnecessary exchange with the server. Am I missing something that would allow the former?

brjoha avatar Apr 03 '25 17:04 brjoha

I don't see a reason why --recconfigure shouldn't work. I'll see if I can find the time to look into it.

rsmarples avatar Apr 25 '25 19:04 rsmarples