vlan - Ubuntu Wiki
wiki.ubuntu.com › vlan1. Load the 8021q module into the kernel. sudo modprobe 8021q. 2. Create a new interface that is a member of a specific VLAN, VLAN id 10 is used in this example. Keep in mind you can only use physical interfaces as a base, creating VLAN's on virtual interfaces (i.e. eth0:1) will not work. We use the physical interface eth1 in this example.
vlan - Ubuntu Wiki
https://wiki.ubuntu.com/vlanUbuntu supports VLANs out of the box but a userspace tool needs to be installed to create the VLAN aware interfaces. Scenario. We have a router/firewall with two NICs one used to connect to the Internet (WAN) and the other to connect to the local network (LAN).