The latest development version of this page may be more current than this released 2.3.0 version.
CONFIG_NET_VLAN

Enable virtual lan support

Type: bool

Help

Enables virtual lan (VLAN) support for Ethernet.

Direct dependencies

NET_L2_ETHERNET && NETWORKING

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At subsys/net/l2/ethernet/Kconfig:27

Included via Kconfig:8Kconfig.zephyr:34subsys/Kconfig:22subsys/net/Kconfig:85subsys/net/l2/Kconfig:69

Menu path: (Top) → Networking → Link layer and IP networking support → Link layer options → Enable Ethernet support

config NET_VLAN
    bool "Enable virtual lan support"
    depends on NET_L2_ETHERNET && NETWORKING
    help
      Enables virtual lan (VLAN) support for Ethernet.

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