Create a VLAN-tagged interface.
Section: Bridges, VLANs, and Tunnels
Create VLAN subinterface
bash
bash
sudo ip link add link eth0 name eth0.100 type vlan id 100Explanation
Create a VLAN-tagged interface.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Bridges, VLANs, and Tunnels