CONFIG_NET_IF_UNICAST_IPV4_ADDR_COUNT

Max number of unicast IPv4 addresses per network interface

Type: int

Direct dependencies

NET_IPV4 && !NET_RAW_MODE && NETWORKING

(Includes any dependencies from ifs and menus.)

Defaults

Kconfig definition

At subsys/net/ip/Kconfig.ipv4:28

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:22subsys/net/Kconfig:80subsys/net/ip/Kconfig:100

Menu path: (Top) → Networking → Link layer and IP networking support → IP stack → IPv4

config NET_IF_UNICAST_IPV4_ADDR_COUNT
    int "Max number of unicast IPv4 addresses per network interface"
    default 2 if NET_IPV4_AUTO
    default 1
    depends on NET_IPV4 && !NET_RAW_MODE && NETWORKING

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)