OpenThread-BR: use correct ipv6 configuration - #14829
Merged
Merged
Conversation
MickLesk
approved these changes
May 31, 2026
CrazyWolf13
approved these changes
May 31, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
✍️ Description
This PR fixes the 100% CPU Load issue with the OpenThread-BR script.
The issue was that
net.ipv6.conf.all.forwarding=1disabled Route Advertisement. By default PVE should havenet.ipv6.conf.all.accept_raset to 1 which therefore gets passed into the LXC. But when enabling forwarding, RA gets disabled unless it is specifically set to 2.This prevented otbr from noticing that thread nodes switched IP addresses and thus trying to reach them in a forever loop, causing the high CPU load.
Additionally, i added the
accept_ra_rtr_prefandaccept_ra_rt_info_max_plenparameters since those are documented as a requirement for OTBR to handle RA correctly.I also added all 4 parameters for the interfaces
all,defaultandeth0. The logic whenallgets used / will be overidden is a bit tricky so i addedeth0(default when creating the LXC) to make sure the parameters always gets used.The
defaultinterface defines that those parameters will also be used for new (currently not existing) interfaces. So if a user adds a second NIC to the LXC, it will use those parameters as well.All those parameters are namespaced so it won't affect the host kernel (both privileged and unprivileged) 😉
Here are the docs tho the parameters i added:
https://openthread.io/codelabs/openthread-border-router#ping-from-a-linuxmacos-host
🔗 Related Issue
Fixes #14621
✅ Prerequisites (X in brackets)
🛠️ Type of Change (X in brackets)
README,AppName.md,CONTRIBUTING.md, or other docs.