-
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
stale border router does not get replaced #12210
Labels
Area: network
Area: Networking
Type: bug
The issue reports a bug / The PR fixes a bug (including spelling errors)
Type: question
The issue poses a question regarding usage of RIOT
Comments
benpicco
added
Type: bug
The issue reports a bug / The PR fixes a bug (including spelling errors)
Type: question
The issue poses a question regarding usage of RIOT
Area: network
Area: Networking
labels
Sep 12, 2019
I also tried with
But no:
|
FYI everyone, I know about this issue, I talked with @benpicco offline about it, but I have to do some research myself before I can give a qualified answer 😅 |
benpicco
added a commit
to benpicco/RIOT
that referenced
this issue
Apr 24, 2020
Previously the MAC address of the border router was entirely random. That meant that as a DHCPv6 client it would get a new prefix with every reboot. Due to RIOT-OS#12210 the nodes will never use the new address. Fix this by using luid_get_eui48() which will always return the same address across reboots. It also makes the code simpler.
bergzand
pushed a commit
to bergzand/RIOT
that referenced
this issue
Jul 15, 2020
Previously the MAC address of the border router was entirely random. That meant that as a DHCPv6 client it would get a new prefix with every reboot. Due to RIOT-OS#12210 the nodes will never use the new address. Fix this by using luid_get_eui48() which will always return the same address across reboots. It also makes the code simpler.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Area: network
Area: Networking
Type: bug
The issue reports a bug / The PR fixes a bug (including spelling errors)
Type: question
The issue poses a question regarding usage of RIOT
Description
When playing around with border routers I noticed some strange behavior: An offline border router is retained for an unknown time. Even resetting a node does not get it to use the new border router as the old border router information is still being advertised by neighboring nodes.
I am not sure if this is to spec as the border router live time is indeed exceptionally high. But this seems more like a bug as it makes roaming nodes impossible. Even worse, a roaming node could 'pollute' other nodes with an unreachable border router, making them ignore a border router that is reachable.
I think the solution could be to check if a border router is reachable before considering border router information valid or to drop existing border router information if a 'fresh' border router becomes available.
This makes me wonder, is is possible to protect against rogue border routers?
Steps to reproduce the issue
gnrc_networking
example and observe that the border router is being usedgnrc_border_router
example and runThe RIOT border Router should now announce it's prefix.
Expected results
After some time, the new border router should be used as the old border router is not reachable anymore.
Actual results
The old border router will be used for the next ~45 days
some more information:
Versions
RIOT master
The text was updated successfully, but these errors were encountered: