gnrc_rpl: nib route not updated when topology / DODAG changes #17327
Labels
Area: network
Area: Networking
Type: bug
The issue reports a bug / The PR fixes a bug (including spelling errors)
Description
This issue can happen with a mobile node, but it can also arise if the DODAG changes at run-time (e.g. with #14623)
Steps to reproduce the issue
Setup ZEP dispatcher
In
dist/tools/zep_dispatch
replace theexample.topo
withThis constitutes a simple linear network.
Start the ZEP dispatcher with
make run
.Setup border router
Start the
gnrc_border_router
withgnrc_rpl
enabled:You should see the node being added by the ZEP dispatcher
and the border router receiving a prefix on it's downstream interface
Setup mesh nodes
Start 3 mesh nodes and initialize RPL on interface 7
You should see them being added in the dispatcher:
If you have foren6 running you can observe the topology:
Verify that the last (or any) node in the line can ping the border router:
DODAG change
Next we change the topology and connect D directly to A:
We have to re-start the ZEP dispatcher for this to take effect.
Expected results
All nodes can still reach the border router
Actual results
Even though node
bc
has accepted node98
as it's parent, it is still trying to route packets via the now unreachable73
Versions
Riot master
The text was updated successfully, but these errors were encountered: