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

[ipv6] Support/Use DHCPv6 assigned address if there is no Prefix option in RA #1163

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

guvenc
Copy link

@guvenc guvenc commented Feb 29, 2024

It is a valid case that RAs dont have any Prefix options but still set the router/gateway when they are received. In such a case, the ipv6 address received via DHCPv6 needs to use the RA sender address as gateway.

This is outlined in the linked RFC 4861 section 6.3.4
https://www.rfc-editor.org/rfc/rfc4861#section-6.3.4

The current implementation doesnt take into the consideration the received RA sender address as a gateway, as required by
RFC 4861, when there is no Prefix option attached to the RA message.

This PR is an attempt to correct this behavior.
This is related to the issue here as well: #1141 and to #449

…on in RA

It is a valid case that RAs dont have any Prefix options but still set
the router/gateway when they are received. In such a case, the ipv6
address received via DHCPv6 needs to use the RA sender address as gateway.

Signed-off-by: Guvenc Gulce <[email protected]>
@MalteJ
Copy link

MalteJ commented Mar 19, 2024

+1

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

Successfully merging this pull request may close these issues.

None yet

2 participants