VLAN - ArchWiki
wiki.archlinux.org › title › VLAN# ip link add link eth0 name eth0.100 type vlan id 100 Run ip link to confirm that it has been created. This interface behaves like a normal interface. All traffic routed to it will go through the master interface (in this example, eth0) but with a VLAN tag.
VLAN - ArchWiki - Arch Linux
https://wiki.archlinux.org/title/VLANAdd an IP. Now add an IPv4 address to the just created VLAN link, and activate the link: # ip addr add 192.168.100.1/24 brd 192.168.100.255 dev eth0.100 # ip link set dev eth0.100 up Turning down the device. To cleanly shut down the setting before you remove the link, you can do: # ip link set dev eth0.100 down Removing the device