Follow Ben’s blog

I have changed things a bit. I created three vlan instead of 2.

Adding Static Routes

sudo vim /etc/network/interfaces.d/static-routes

auto enp0s3
iface enp0s3 inet dhcp
    post-up ip route add 192.168.1.0/24 via 10.0.0.223 dev enp0s3
    post-up ip route add 192.168.9.0/24 via 10.0.0.223 dev enp0s3
    post-up ip route add 192.168.3.0/24 via 10.0.0.223 dev enp0s3