kgoetz@gateway:~$ sudo route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
0.0.0.0 192.168.0.254 0.0.0.0 UG 0 0 0 eth1
kgoetz@gateway:~$ cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# Internal network link, not to modem
#iface eth0 inet dhcp
auto eth0
iface eth0 inet static
address 192.168.1.254
network 192.168.1.0
# gateway 192.168.1.254
netmask 255.255.255.0
hostname "gateway"
# Link to modem
#iface eth1 inet dhcp
auto eth1
iface eth1 inet static
address 192.168.0.253
network 192.168.0.0
gateway 192.168.0.254
netmask 255.255.255.0
hostname "gateway"
sudo route add -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.0.253 <- makes my ssh connection (through the .1. network) drop