Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
brjoha opened this issue Apr 3, 2025 · 1 comment
Open

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

brjoha opened this issue Apr 3, 2025 · 1 comment
Labels

Comments

@brjoha
Copy link

brjoha commented Apr 3, 2025

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?

@rsmarples
Copy link
Member

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 rsmarples added the bug label Apr 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants