:orphan: .. title:: CONFIG_NET_MAX_ROUTERS .. kconfig:: CONFIG_NET_MAX_ROUTERS CONFIG_NET_MAX_ROUTERS ###################### *How many routers are supported* Type: ``int`` Help ==== .. code-block:: none The value depends on your network needs. Direct dependencies =================== !\ :kconfig:`NET_RAW_MODE ` && \ :kconfig:`NETWORKING ` *(Includes any dependencies from ifs and menus.)* Defaults ======== - 2 if \ :kconfig:`NET_IPV4 ` && \ :kconfig:`NET_IPV6 ` - 1 if \ :kconfig:`NET_IPV4 ` && !\ :kconfig:`NET_IPV6 ` - 1 if !\ :kconfig:`NET_IPV4 ` && \ :kconfig:`NET_IPV6 ` Kconfig definition ================== At ``/net/ip/Kconfig:280`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:44`` → ``/Kconfig:39`` → ``/net/Kconfig:87`` Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → IP stack .. code-block:: kconfig 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.)*