tools/dhcpv6-pd_ia: fix: Add explicit subnet id#20776
Merged
mguetschow merged 1 commit intoRIOT-OS:masterfrom Jul 9, 2024
Merged
tools/dhcpv6-pd_ia: fix: Add explicit subnet id#20776mguetschow merged 1 commit intoRIOT-OS:masterfrom
mguetschow merged 1 commit intoRIOT-OS:masterfrom
Conversation
Required for Kea 2.6.0
mguetschow
approved these changes
Jul 9, 2024
Contributor
mguetschow
left a comment
There was a problem hiding this comment.
Thanks for finding and fixing!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Adjust prefix delegation config for Kea 2.6.0
Contribution description
https://github.com/isc-projects/kea/blob/master/ChangeLog:
Testing procedure
(for reproducability:
sudo killall kea-dhcp6)cd examples/gnrc_border_router/sudo PREFIX_CONF=dhcpv6 IPV6_PREFIX=2001:db8::/64 make all termWhile the application is running, observe that no kea actually runs:
ps -aux | grep keaKea throws an error that the "id" entry is missing and exits. The error is however silenced by the python script.
Having no DHCP server, the
gnrc_border_router(6LBR) application cannot contact any such server and therefore has no prefix.Finding the error
Finding the error
Find out how kea is started.
Apply this change (patch):
sudo PREFIX_CONF=dhcpv6 IPV6_PREFIX=2001:db8::/64 make all termStart kea manually
sudo kea-dhcp6 -c /tmp/tmpsabotu4_Keep config file
Make the script not delete the file after kea exits, so that the file can be inspected for debugging purposes.
Apply this change (patch):
Retry
sudo PREFIX_CONF=dhcpv6 IPV6_PREFIX=2001:db8::/64 make all termStill: While the application is running, observe that no kea actually runs:
ps -aux | grep keaRun kea manually:
sudo kea-dhcp6 -c /tmp/tmpq8boziokhttps://kea.readthedocs.io/en/kea-2.6.0/arm/dhcp6-srv.html#ipv6-subnet-identifier