-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: gnrc_rpl: some nodes are not reachable in the network #17332
Comments
This is likely related to #17327.
And I don't even have to change the topology for that. |
Thank you for your fast reply and the link to the probably related issue! I run my setup again but this time I also print out the routing table: For me the routing tables are looking fine, except the missing entries at node 7 for the unreachable nodes. However, I am not sure if I understood the problem completely. |
Just a quick comment without looking so much into the details for now:
You should set a global IPv6 address only for the root node (in your case node 7). All other nodes will generate an IPv6 address based on their link-layer address as soon as they join the DODAG. I could imagine that you already maxed out the IPv6 address memory space (the NIB array, what is used for printf when you type |
Thank you very much, increasing the array size solved my issue! I am using 8 nodes currently, but they are nearly forming a complete graph. |
RPL has native support for auto-address configuration via its prefix information option, so you already get a global address. Since space is limited, the default configuration only allows for a limited number of IPv6 addresses, so if you already add a global address, you might run into a similar problem as previously mentioned, since the address array is too small. See also https://doc.riot-os.org/group__net__gnrc__netif__conf.html#ga366596e311b4a450887a1a180ae66fb3. |
Ok, that's clear - thank you for the explanation! |
Description
I build up a RPL network with 8 nodes. Some nodes are not reachable via ping. The unreachable nodes also do not reach any other nodes. The reachable part of the network works as expected. With different root nodes or change between 2.4 GHz and SubGHz the reachable or unreachable nodes change. The unreachable nodes show that they are part of the RPL network.
I try to figure out the problem already for quite some time. I also wonder, if I made any configuration mistakes. I am happy to provide further information if needed or try out specific approach that can solve my issue or lead to its solution.
Steps to reproduce the issue
Nodes are normally reachable within one, sometimes two hops. The unmodified gnrc_networking example was used for the test.
The hardware:
The following steps shows the issue:
ifconfig 7 add 2001:db7::x
where x is the node numberrpl init 7
for interface 7rpl root 1 2001:db7::7
ping -c 30 -i 1000 2001:db7::1 ?s40
I attached some log files for every node showing the problem for one specific try:
Expected results
Every node respond to every other nodes ping.
Actual results
Some nodes do not respond any ping except if send pings to themself.
Versions
RIOT: 2021.10 (also some random previous versions)
The text was updated successfully, but these errors were encountered: