:orphan: .. title:: NET_MAX_ROUTERS .. option:: CONFIG_NET_MAX_ROUTERS *How many routers are supported* Type: ``int`` Help ==== The value depends on your network needs. Direct dependencies =================== !\ :option:`NET_RAW_MODE ` && \ :option:`NETWORKING ` *(Includes any dependencies from ifs and menus.)* Defaults ======== - 2 if \ :option:`NET_IPV4 ` && \ :option:`NET_IPV6 ` - 1 if \ :option:`NET_IPV4 ` && !\ :option:`NET_IPV6 ` - 1 if !\ :option:`NET_IPV4 ` && \ :option:`NET_IPV6 ` Kconfig definition ================== .. highlight:: kconfig At ``subsys/net/ip/Kconfig:254`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:34`` → ``subsys/Kconfig:37`` → ``subsys/net/Kconfig:87`` Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → IP stack .. parsed-literal:: config NET_MAX_ROUTERS int "How many routers are supported" range 1 254 default 2 if \ :option:`NET_IPV4 ` && \ :option:`NET_IPV6 ` default 1 if \ :option:`NET_IPV4 ` && !\ :option:`NET_IPV6 ` default 1 if !\ :option:`NET_IPV4 ` && \ :option:`NET_IPV6 ` depends on !\ :option:`NET_RAW_MODE ` && \ :option:`NETWORKING ` help The value depends on your network needs. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*