You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is working aswell. BUT only on tap0, the root ("rpl" shows the incremented rpl instance). As it seems, the function gnrc_rpl_instance_remove_by_id is not notifying the other nodes it shuts the DODAD down.
The other nodes (tap1 and tap2) still run on rpl instance 1. I have tried initializing them again but it did not do the trick.
As I am pretty new to network programming & RIOT I am slightly confused on what function to use to completely clean all nodes & set up a new DODAG.
Every hint & reference is appreciated, thanks in advance!
The text was updated successfully, but these errors were encountered:
Figured out that the RIOT rpl implementation does a global repair (i think so at least) on default - after 5 minutes. I just edited sys/include/net/gnrc/rpl.h lines 291-295:
Hi guys!
I am currently working on implementing RPL on native in RIOT and need help doing a global DODAG repair.
My Setup:
Currently working:
I am doing my initialization of the RPL as shown in the rpl-example (https://github.com/RIOT-OS/RIOT/wiki/Tutorial:-RIOT-and-Multi-Hop-Routing-with-RPL)
On the root (tap0) & all nodes(tap1&tap2):
gnrc_rpl_init(6);
On the root (tap0) only:
So far, this is working & the rpl/DODAG is built correctly, parents can be shown using "rpl".
My Issue:
But my goal is to later disable connections as described in https://github.com/RIOT-OS/RIOT/wiki/Virtual-riot-network (using ebtables DROP).
So I tried to do a global repair by just incrementing the rpl instance. For this purpose I looked into the dodag.h (https://riot-os.org/api/dodag_8h.html) and tried it like this:
This is working aswell. BUT only on tap0, the root ("rpl" shows the incremented rpl instance). As it seems, the function gnrc_rpl_instance_remove_by_id is not notifying the other nodes it shuts the DODAD down.
The other nodes (tap1 and tap2) still run on rpl instance 1. I have tried initializing them again but it did not do the trick.
As I am pretty new to network programming & RIOT I am slightly confused on what function to use to completely clean all nodes & set up a new DODAG.
Every hint & reference is appreciated, thanks in advance!
The text was updated successfully, but these errors were encountered: