gnrc_ipv6_nib: handle route information option and add config to add to final RAs#16568
gnrc_ipv6_nib: handle route information option and add config to add to final RAs#16568miri64 merged 3 commits intoRIOT-OS:masterfrom
Conversation
|
|
|
Should the route information option also be behind a pseudomodule? We didn't parse this before but I see my Fritz!Box adding it to it's RAs |
I am not sure how you mean that. IMHO reading the RIO from an NA should be enough to be optional, but of course from a memory saving perspective parsing the RIO in the first place could be optional as well. |
|
hm looks like we are overflowing ROM on some boards now. |
Let's make it an optional pseudo-module then, similar to |
|
Ok, I added |
There was a problem hiding this comment.
ACK. I used my home setup to test (OpenWRT's odhcpd also sends RIOs in its RAs). Without the module:
XXXX:XXXX:XXXX:1f10::/64 dev #6
XXXX:XXXX:XXXX:1f10::/62 dev #7
default* via fe80::7810:c2ff:fe67:b226 dev #6
with the module
XXXX:XXXX:XXXX:1f14::/62 dev #7
XXXX:XXXX:XXXX:1f10::/64 dev #6
XXXX:XXXX:XXXX:1f00::/56 via fe80::7810:c2ff:fe67:b226 dev #6
default* via fe80::7810:c2ff:fe67:b226 dev #6
|
Not sure how to test the NA stuff though. |
|
Please squash. |
248bc74 to
18e88fd
Compare
|
Turns out we can do without the RIO inside the neighbor advertisements, we just have to delay setting This is actually useful for DHCPv6 too, if we don't send the RIO the upstream router may think the nodes on the downstream subnet are on-link. |
d3744bb to
63fbfaa
Compare
bc386ee to
7c96e96
Compare
7c96e96 to
c9408a0
Compare
c9408a0 to
586f13e
Compare
586f13e to
90d836e
Compare
Sending a RA with ltime = 0 does not get us added to the default router list, but the options (and therefore the RIO) are still parsed. This even appears to work with Linux as a receiver.
9351ffd to
71ae768
Compare
Contribution description
This adds the ability to parse route information options in router
and neighboradvertisements.(Adding the option also the neighbor advertisements was proposed bydraft-templin-6man-rio-redirect-08.txtand comes in handy for #16536)Testing procedure
Issues/PRs references
requires #16557 to be useful