I installed 16.04 and nothing setup to internet connection.

DHCP fails to get dynamic IP

so I changed to static, detail is: ip : gateway : netmask :

But in both of two cases, ping doesn't work to gateway or other computers which in same gateway. Only shows "destination host unreachable", even if target computer is in same hub..

(Computer's IP running correctly is and other options are identical)

ifconfig shows me that Rx bytes is increasing whenever I typed it in case both of DHCP and static.

I don't know why Rx bytes is increasing, and where packets come from.

How can I fix it? I think this is nonsense.

  • 1
    Please add the exact contents of /etc/network/interfaces to your question. – Jos Mar 29 '17 at 9:57
  • Solved with dumbfounded. The reason is UTP CABLE. thanks to all! – ppakxe Mar 30 '17 at 8:03

First of all, start troubleshooting by pinging your loopback address to make sure that your TCP/IP protocol stack is working properly:

$ ping -c 4 -i 1

Temporarily, configure your network interface (this will not survive a reboot, that's why I say temporarily):

$ sudo ifconfig [INTERFACE] netmask 0xffff0000 broadcast

Ping your new IP address to see that it's working:

$ ping -c 4 -i 1

On another computer, do the same thing (assign it an address of and try pining the host from it. Then report what kind of results you observe. I'll amend my post as you progress in your troubleshooting activities. At this point there is not much that can be said given the scarce information we've been provided.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.