Configuration
To configure a VLAN in Talos Linux, create a VLANConfig document like:2 is created on top of the physical interface enp0s3, and the VLAN interface is named enp0s3.2.
The name of the VLAN interface can be customized as needed.
The vlanMode field specifies the VLAN tagging protocol to use, with 802.1q being the most common.
The parent field specifies the underlying physical or logical interface on which the VLAN is created.
Addresses and routes can be configured in the same document as shown in static link configuration.
DHCP can be enabled on the VLAN interface as shown in dynamic link configuration.