Backport DAD handling to the stable
branch
#300
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This backports the functionality of #232 to the
stable
branch so it can be used soon.We were experiencing issues on our Debian 10 hosts similar to those in #30 where
up route add ...
on IPv6 interfaces would fail due to the address still being in a tentative state when the command is ran. I saw the DAD features were added in #232 but those are on themaster
branch which seems (for me at least) to be broken and probably in the middle of a rewrite.I only have one outstanding issue that I can think of at the moment, shown below. Thanks!
Testing
ipv6_dad_handling_enabled
in a policyconfig file such as/etc/network/ifupdown2/policy.d/dad.json
the logic operates as it does currentlydad-attempts
and/ordad-interval
to a config file on any address will be picked up correctlydad-attempts 0
set which will forcibly bring up the address withnodad
, even ifdad-attempts
is set somewhere else