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 18.104.22.168, and gateway is supposed to be 22.214.171.124):
auto eth0 iface eth0 inet static address 126.96.36.199 netmask 255.255.255.252 gateway 188.8.131.52
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?