Raspberry PI VLANs | Peter Kropf
peterkropf.com › archives › 867$ sudo apt-get install vlan $ sudo vconfig add eth0 2 $ sudo bash -c 'echo "interface eth0.2" >> /etc/dhcpcd.conf' $ sudo ifconfig eth0.2 up Install the vlan package. Add vlan 2 to interface to eth0. Change 2 to which ever VLAN you need and eth0 to the physical ethernet interface.