Skip to content

ICMP6 RA: recognise PIO PD Preferred flag#1352

Open
bonktree wants to merge 2 commits into
the-tcpdump-group:masterfrom
bonktree:pr-pio-pflag
Open

ICMP6 RA: recognise PIO PD Preferred flag#1352
bonktree wants to merge 2 commits into
the-tcpdump-group:masterfrom
bonktree:pr-pio-pflag

Conversation

@bonktree

@bonktree bonktree commented Aug 9, 2025

Copy link
Copy Markdown
Contributor

This is a 1-bit flag in the Prefix Information RA option defined by RFC9762.
If a compliant RA-accepting node receives a PIO with the P flag set, it is expected to ignore the A flag, if set, and make use of DHCPv6 Prefix Delegation to obtain a prefix and assign addresses from that prefix as described in RFC9663, not individual addresses from the PIO-specified prefix.

This is a 1-bit flag in the Prefix Information RA option defined by
RFC9762. If a compliant RA-accepting node receives a PIO with the P flag
set, it is expected to make use of DHCPv6 Prefix Delegation to obtain a
prefix and assign addresses from that prefix, not individual addresses
from the PIO-specified prefix.

Link: https://tools.ietf.org/html/rfc9762
Link: https://tools.ietf.org/html/rfc9663
Link: https://www.iana.org/assignments/icmpv6-parameters/icmpv6-parameters.xhtml#ipv6-neighbor-discovery-prefix-information-options
@infrastation

Copy link
Copy Markdown
Member

Do you have any packets with this bit set as a material for a new test?

@bonktree

bonktree commented Jan 19, 2026

Copy link
Copy Markdown
Contributor Author

Do you have any packets with this bit set as a material for a new test?

To this day I have not had any practice with a working impl to capture real-life packets, unfortunately. I am aware that e. g. odhcpd have added support (openwrt/odhcpd#301) for this RA PIO flag in their RA sender, so that functionality might be available in a recent OpenWRT release.

I'd be happy to add a test if someone else (or me) manages to provide some captured packets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants