Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have just upgraded from 10.04 to 12.04. I didn't notice the problem at first. But when installing horde with the pear installer it failed to download all of the packages.

So I did a little hunting and realised not all hosts are reachable:


 root@sub:~#  ping
 PING ( 56(84) bytes of data.
 64 bytes from ( icmp_req=1 ttl=51 time=11.1 ms
 64 bytes from ( icmp_req=2 ttl=51 time=11.1 ms
 --- ping statistics ---
 2 packets transmitted, 2 received, 0% packet loss, time 1002ms
 rtt min/avg/max/mdev = 11.166/11.177/11.188/0.011 ms


root@sub:~# ping
PING ( 56(84) bytes of data.

--- ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 1006ms

At first I could not reach any hosts so I added nameserver to my /etc/resolv.conf file. This was blank after the upgrade.

So why can i not ping and other random domains but I can

share|improve this question
up vote 4 down vote accepted

That's because CNN blocks ICMP-Echo-Request packets and Google doesn't, which makes ping not work. Ping is no longer a reliable reachability test for Internet hosts due to the number of firewalls that block all ICMP traffic as a risk-vector.

share|improve this answer
Thanks very much, this has cleared it up for me :) why o why did I have to pick cnn as a test domain ;) – Miss Tina Mar 31 '13 at 23:34

Not all addresses return pings. Since you can ping, you do have connectivity to the internet. Not having a nameserver in /etc/resolv.conf was probably the problem you had at first.

If you want to check connectivity to, you will have to browse there, or do a wget.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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