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 <Zephyr>/drivers/ethernet/Kconfig.native_posix:102

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:42<Zephyr>/drivers/Kconfig:20<Zephyr>/drivers/ethernet/Kconfig:55

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.)