CONFIG_NET_MAX_ROUTERS¶
How many routers are supported
Type: int
Help¶
The value depends on your network needs.
Kconfig definition¶
At <Zephyr Subsystem>/net/ip/Kconfig:280
Included via Kconfig:8 → Kconfig.zephyr:44 → <Zephyr Subsystem>/Kconfig:39 → <Zephyr Subsystem>/net/Kconfig:87
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.)