Just installed Ubuntu Server 14.04 and set-up a static IP scheme for the machine. However when I try to ping google.com I get destination host unreachable. I can ping the machine IP just fine, the gateway also reports destination host unreachable. The machine is connected to a switch and we have a set range of IPs from the ISP. I previously set-up a Windows 7 machine to static IP scheme and have used the same DNS and Gateway. On the Windows machine I am able to connect to the internet just fine. Network set-up (found in /etc/network/interfaces) is as follows:
auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 128.159.180.xxx netmask 255.255.255.0 network 188.8.131.52 broadcast 184.108.40.206 gateway 220.127.116.11 dns-nameservers 18.104.22.168
A few things to note: This is Ubuntu Server 14.04 so it is CLI only no desktop GUI and I have check to make sure that DHCP is not running and have uninstalled the DHCP client from the machine. Please help discover why I have no internet connection.
EDIT: for ifconfig eth0
eth0 Link encap:Ethernet HWaddr: 00:25:90:d0:ad:5a inet addr: 128.159.180.xxx Bcast: 22.214.171.124 Mask: 255.255.255.0 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Memory:fb820000-fb840000
for ip route list:
default via 126.96.36.199 dev eth0 188.8.131.52/24 dev eth0 proto kernel scope link src 128.159.180.xxx