1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-16 01:53:51 +01:00

examples/gnrc_networking_subnets: update documentation

This commit is contained in:
Benjamin Valentin 2021-09-28 17:01:43 +02:00
parent 6742fb8076
commit c1a50b0ca2

View File

@ -1,16 +1,24 @@
# Auto-configuration for nested subnets on a (simple) tree topology # Auto-configuration for nested subnets on a tree topology
This example demonstrates IPv6 subnet auto-configuration for networks on a This example demonstrates IPv6 subnet auto-configuration for networks on
tree topology. a tree topology.
This allows to connect multiple links with individual subnets and route This allows to connect multiple links with individual subnets and route
between them. between them.
Each link can have an arbitrary number of hosts, but there can be only Each link can have an arbitrary number of hosts and routers.
a single router on each link.
Routers can have multiple interfaces to connect different downlinks. Routers can have multiple interfaces to connect different downlinks.
![](../../doc/doxygen/src/gnrc_ipv6_auto_subnets.svg)
If you can ensure there is only a single router on each link, you can
skip the coordination protocol and save some resources by enabling
the `gnrc_ipv6_auto_subnets_simple` module.
![](../../doc/doxygen/src/gnrc_ipv6_auto_subnets_simple.svg) ![](../../doc/doxygen/src/gnrc_ipv6_auto_subnets_simple.svg)
Routers can still have multiple downstream interfaces but there can be
only a single router in each subnet.
## Setup on native ## Setup on native
To simulate such a network on `native` a `setup_taps.sh` script is provided that To simulate such a network on `native` a `setup_taps.sh` script is provided that