VLAN v linuxu

VLAN v linuxu

sudo apt-get install vlan
sudo modprobe 8021q
echo 8021q | sudo tee -a /etc/modules
cat /etc/modules
vi /etc/network/interfaces

auto eth1.48
iface eno1.48 inet static
address 192.168.X.Y
netmask 255.255.255.0
gateway 192.168.X.Z