CONFIG_ETH_NATIVE_POSIX_RANDOM_MAC

Random MAC address

Type: bool

Help

Generate a random MAC address dynamically.

Direct dependencies

ENTROPY_GENERATOR && ETH_NATIVE_POSIX && NET_L2_ETHERNET

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definition

At drivers/ethernet/Kconfig.native_posix:89

Included via Kconfig:8Kconfig.zephyr:37drivers/Kconfig:14drivers/ethernet/Kconfig:31

Menu path: (Top) → Device Drivers → Ethernet Drivers → Native Posix Ethernet driver

config ETH_NATIVE_POSIX_RANDOM_MAC
    bool "Random MAC address"
    default y
    depends on ENTROPY_GENERATOR && ETH_NATIVE_POSIX && NET_L2_ETHERNET
    help
      Generate a random MAC address dynamically.

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