I used the following command:
Code: Select all
sudo ip route add 10.2.2.0/24 via 10.20.20.2
I tried adding the following to /etc/network/interfaces but it broke my traffic all together:
Code: Select all
# Ethernet
allow-hotplug eth0
iface eth0 inet static
address 10.20.20.16
netmask 255.255.255.0
gateway 10.20.20.1
dns-nameservers 10.20.20.1
up route add -net 10.2.2.0/24 gw 10.20.20.2 dev eth0