-
Notifications
You must be signed in to change notification settings - Fork 48
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
🐛 Ignore IPv6 Route advertisement in case DHCPv6 wasn't requested #788
base: main
Are you sure you want to change the base?
Conversation
Just FYI, #797 is related as well. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved, but will wait to merge contingent on test results.
@akutz thanks, sorry for the delay, been busy, you know :P I got a test environment here and am doing with my change rebased over main. will let you know. Mostly I am only adding the line |
1cb8a74
to
489b564
Compare
Minimum allowed line rate is |
What does this PR do, and why is it needed?
On some networks IPv6 is announced via RA. Networkd (and maybe netplan) separates DHCPv6 and RA enablement, meaning that even when users set to ignore/disable DHCPv6, IPv6 is still configured on the Host VM if there is some Route Advertisement for IPv6.
Turns out on some setups this may break the desired behavior, as DNSv6 and others may also end up being configured on the node using IPv6.
This PR sets the accept-ra value to the same value as DHCPv6, so in case user didn't explicitly requested IPv6 dynamic configuration, DHCPv6 nor Route Advertisements will be used.
This fix needs cloud-init 24.2 on Photon5 to work correctly.
Which issue(s) is/are addressed by this PR? (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #
Are there any special notes for your reviewer:
Please add a release note if necessary: