This is the documentation for the latest (master) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.
CONFIG_NET_DHCPV4

Enable DHCPv4 client

Type: bool

Direct dependencies

NET_IPV4 && !NET_RAW_MODE && NETWORKING

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

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

Included via Kconfig:8Kconfig.zephyr:34subsys/Kconfig:32subsys/net/Kconfig:87subsys/net/ip/Kconfig:116

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

config NET_DHCPV4
    bool "Enable DHCPv4 client"
    depends on NET_IPV4 && !NET_RAW_MODE && NETWORKING

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