-
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
gnrc/ipv6_auto_subnets: add CONFIG_GNRC_IPV6_AUTO_SUBNETS_STATIC option #17429
Conversation
329b770
to
67bf76b
Compare
Would be great if |
67bf76b
to
e484241
Compare
For that I would first need to add Kconfig to that subsystem |
sys/net/gnrc/routing/ipv6_auto_subnets/gnrc_ipv6_auto_subnets.c
Outdated
Show resolved
Hide resolved
sys/net/gnrc/routing/ipv6_auto_subnets/gnrc_ipv6_auto_subnets.c
Outdated
Show resolved
Hide resolved
In situations with high packet loss, if all sync packets are lost, conflicting subnets will be configured. If the network is static, this can be prevented by always using the highest number of subnets that has been observed. This assumes no nodes are physically added / removed from the network.
e484241
to
b068bd3
Compare
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.
ACK
Murdock results✔️ PASSED b068bd3 gnrc/ipv6_auto_subnets: add CONFIG_GNRC_IPV6_AUTO_SUBNETS_STATIC option
ArtifactsThis only reflects a subset of all builds from https://ci-prod.riot-os.org. Please refer to https://ci.riot-os.org for a complete build for now. |
Contribution description
In situations with high packet loss, if all sync packets are lost, conflicting subnets will be configured.
If the network is static, this can be prevented by always using the highest number of subnets that has been observed.
This assumes no nodes are physically added / removed from the network. This is typically given in a wired sensor network.
Testing procedure
Add
to the
Makefile
ofexamples/gnrc_networking_subnets
.Configure a topology with multiple routers on the same subnet. Now even if you remove a router, the subnet assignments should not change.
Issues/PRs references