Ubuntu – Why can’t I access internet through static IP set-up Ubuntu Server 14.04

14.04internetnetworkingserver

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 128.159.180.0
  broadcast 128.159.180.255
  gateway 128.159.180.254
  dns-nameservers 208.69.150.252

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: 128.159.180.255 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 128.159.180.254 dev eth0
128.159.180.0/24 dev eth0 proto kernel scope link src 128.159.180.xxx

Best Answer

After a system reboot and retrying the tcp dump suggested by Doug Smythies the system appears to have connected successfully! There must have been some settings that did not take after the configuration, however the issue seems to be resolved. Thank you for your comments!

Related Question