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

When DHCP is enabled default gateway gets removed even if the interface is not connected to a DHCP server. #74

Open
cmjishnu opened this issue Jul 31, 2024 · 3 comments

Comments

@cmjishnu
Copy link

When the DHCP value changes, we receive a RTM_DELROUTE message from rtnetlink, prompting us to delete the default gateway. If the interface is not connected to a DHCP server, it will become unreachable

@raviteja-b
Copy link
Contributor

@wak-google @ratagupt since upstream supports both Static and DHCP IP addresses to coexist
static gateway can't be deleted which breaks static network unless DHCP gateway assigned on ethernet interface right

@raviteja-b
Copy link
Contributor

raviteja-b commented Aug 6, 2024

@wak-google can you please share your views on this issue.

I think its better to remove static IP address when there is RTM_DELROUTE message from rtnetlink

@raviteja-b
Copy link
Contributor

@ratagupt @wak-google can you please share your view on this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants