-
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
[WIP] gnrc_border_router usability improvements #16840
base: master
Are you sure you want to change the base?
Conversation
Finally had the chance to flash a As suggested by @chrysn, I connect to the RIOT shell by running I did some quick tests and here are my observatiions:
|
After some further testing:
I further collected some more details on the packet loss, again pinging different addresses from a RIOT node that is conneccted to the BR node via IP over BLE:
-> 7 packets lost Pinging a Pi in my local network from the same node (
-> similar picture, 12 packets lost Pinging the link local address of the BLE interface on the BR node (
-> no packet loss These are not one-time results but I redid them with different parameters and the results are always similar to the ones postet here... |
Nice I was able to reproduce the setup when plugged directly into my laptop! Would be really nice to see this one in! |
// Is taking the routable one(s) really *better* than taking the ULA? | ||
// The ULA might be what is more stable, or what persists through | ||
// renumberings ... but probably picking routable *is* best, and when | ||
// that prefix becomes unavailable we'll just wait for a network | ||
// reconfiguration to bring everyone up on ULAs instead. (If of course | ||
// we had the capacity for multiple prefixes on all devices...). | ||
bool take_only_routable = true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we eventually add a configuration for this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could, but I'd rather have good defaults primarily. A usable BR should be provided in RIOT to be set up as easily as setting up a WiFi access point -- and that usually doesn't require knowledge of whether or not particular types of addresses are around.
A better version could express some policy: Use as many prefixes as possible, but use globally routable ones first. Or use a globally routable ones first, but if there is a ULA use that too if there is space (because that's expected to be more stable). Maybe better choices in the numbers chosen (adjusting CONFIG_DHCPV6_CLIENT_PFX_LEASE_MAX to match the number of prefixes we can use) can be taken, and maybe then (if we only request one prefix) this will push the problem of selecting the right prefix(es) upstream to where more data is available and a better decision can be made.
(Hard thing is: I don't know how most of these numbers play together, and if we can assume any of them to be synchronized)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you want me to ignore this issue, please mark it with the "State: don't stale" label. Thank you for your contributions. |
USEMODULE += netstats_neighbor_count | ||
USEMODULE += netstats_neighbor_rssi | ||
USEMODULE += netstats_neighbor_lqi | ||
USEMODULE += netstats_neighbor_tx_time |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What are you using those for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IIRC, these are relics from testing some commits that were prerequisites for running MRHOF.
Contribution description
This draft PR describes the changes necessary to get the gnrc_border_router easy to use without configuration. It roughly contains the changes I had to make to the 6LBR running at my home system, and I expect that what's in here explicitly right now to evolve into more and more of a tracking issue of non-draft PRs.
Testing procedure
Issues/PRs references (including TBD)
This would also benefit greatly from:
because then I think it's something each and every one of us should just have running 24/7 in their homes just to see the practical operation when we're not using the
[affe:affe::]
network.CC'ing @haukepetersen on following up on exchanged mails.