CONFIG_NET_MAX_ROUTERS
How many routers are supported
Type: int
Help
The value depends on your network needs.
Direct dependencies
(Includes any dependencies from ifs and menus.)
Defaults
Kconfig definition
At <Zephyr>/subsys/net/ip/Kconfig:281
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:44
→ <Zephyr>/subsys/Kconfig:39
→ <Zephyr>/subsys/net/Kconfig:83
Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → IP stack
config NET_MAX_ROUTERS
int "How many routers are supported"
range 1 254
default 2 if NET_IPV4 && NET_IPV6
default 1 if NET_IPV4 && !NET_IPV6
default 1 if !NET_IPV4 && NET_IPV6
depends on !NET_RAW_MODE && NETWORKING
help
The value depends on your network needs.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)