ping google.com或8.8.8.8失败

时间:2013-11-13 19:28:24

标签: networking centos ping yum ifconfig

我正在使用Cent OS 6.4,它在官方实验室中。

ping google.com提供以下输出并挂起:

[root @ LAB1~] #ping google.com
PING google.com(74.125.236.195)56(84)字节数据。

ping 8.8.8.8也会产生相同的结果。我可以从浏览器(Mozilla)访问互联网。网络设置或配置是否有问题?

以下是traceroute的输出 - n 8.8.8.8 [root @ LAB1~] #traceroute -n 8.8.8.8 traceroute到8.8.8.8(8.8.8.8),最多30个跃点,60个字节的数据包
 1 * * *
 2 * * *
 3 * * *
 4 * * *
 5 * * *
 6 * ^ Z

如果有帮助

,下面是路由-n的输出

[root @ LAB1~] #route -n
内核IP路由表
目标网关Genmask标志指标参考使用Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0

由于我是网络新手,我无法确定问题所在。这里的任何帮助都非常感谢...

编辑:我尝试上述ping的主要原因是解决无法解析镜像站点的yum update命令...

1 个答案:

答案 0 :(得分:2)


ICMP不允许通过您访问Internet的防火墙/路由器传出。

这个

[root@LAB1 ~]# ping google.com
PING google.com (74.125.236.195) 56(84) bytes of data.

您可以浏览网页的事实意味着您正在解析google.com(DNS协议)

traceroute使用ICMP二。

相关问题