Set downstream route to delegated prefix in 6lbr example #21115
+1
−0
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.
Contribution description
The gnrc_border_router example uses by default the start_networking script when used via
make term
. This script in turn uses the KEA DHCPv6 server which does not automatically configures a downstream route toward the delegated prefix. Hence, it is the responsibility of the caller to setup the route themselves. This can be done with RIOT whenSTATIC_ROUTES
is set to1
. (This will add a static link-local address to the border router's upstream interface (fe80::2
) and a route via this address to the delegated prefix will be configured by the start_networking script.)Testing procedure
BOARD=nrf52840dongle make -C examples/gnrc_border_router clean all flash ULINK=cdc-ecm PREFIX_CONF=dhcpv6
.#6
) has the addressfe80::2
configured.gnrc_networking
.