Skip to content
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

dhcp: Add priority option to dhcp. #1091

Merged

Commits on Sep 16, 2024

  1. dhcp: Add priority option to dhcp.

    Currently, we can not set the metric of routes in dhcp.
    It's ok if there is only a network interface.
    
    But if there are multiple network interfaces, and both have a default route,
    We need to set the metric of the route to make the traffic
    go through the correct network interface.
    
    For host-local and static, we can set the metric with the route.priority option.
    But there is no such option for dhcp.
    
    Signed-off-by: Songmin Li <[email protected]>
    lisongmin committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    442e8bb View commit details
    Browse the repository at this point in the history