VLAN config 1

pi@fwipt01 ~ $ sudo apt install vlan
pi@fwipt01 ~ $ vi /etc/network/interfaces
#interfaces(5) file used by ifup(8) and ifdown(8)
#Include files from /etc/network/interfaces.d:
source /etc/network/interfaces.d/*


auto lo eth0 eth1
iface lo inet loopback

iface eth0 inet static
	address 10.0.99.1
	netmask 255.255.255.0

auto eth0.2
	iface eth0.2 inet static
	address 10.0.10.1
	netmask 255.255.255.0
	network 10.0.10.0
	broadcast 10.0.10.255
	vlan-raw-device eth0

iface eth1 inet static
	address 192.168.1.254
	gateway 192.168.1.1
	netmask 255.255.255.0
	dns-nameserver 192.168.1.1
	dns-nameserver 8.8.8.8
pi@fwipt01 ~ $ sudo systemctl disable dhcpcd.service 
pi@fwipt01 ~ $ sudo systemctl enable networking
pi@fwipt01 ~ $ sudo reboot