I'm trying to set up a static IP on an Ubuntu machine that is connected to the internet via a Comcast gateway (SMC). Following their instructions I added this to the /etc/network/interfaces (the static IP is, for example 220.127.116.11, and gateway is supposed to be 18.104.22.168):
auto eth0 iface eth0 inet static address 22.214.171.124 netmask 255.255.255.252 gateway 126.96.36.199
However, after I restart networking I loose internet access. (and I can't investigate further as I'm remotely connected.)
Any ideas on what I'm missing?