免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 16758 | 回复: 3
打印 上一主题 下一主题

[网络管理] ping IP 时出现Time to live exceeded [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2013-11-25 14:18 |只看该作者 |倒序浏览
我从服务器ping一个IP时出现Time to live exceeded,traceroute没看到路由。但另一台相似网络配置的服务器却没有问题。是网络配置的问题吗?跪求解决方法。


Cesbg_Longhua:/etc/sysconfig/network # ping 10.64.10.103
PING 10.64.10.103 (10.64.10.103) 56(84) bytes of data.
From 10.64.192.254: icmp_seq=1 Time to live exceeded
From 10.64.192.254 icmp_seq=1 Time to live exceeded
From 10.64.192.254 icmp_seq=2 Time to live exceeded

Cesbg_Longhua:/etc/sysconfig/network # route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.1.26.0       0.0.0.0         255.255.255.0   U     0      0        0 eth0
10.139.20.0     0.0.0.0         255.255.252.0   U     0      0        0 eth1
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         10.1.26.1       0.0.0.0         UG    0      0        0 eth0


Cesbg_Longhua:/etc/sysconfig/network # traceroute 10.64.10.103
traceroute to 10.64.10.103 (10.64.10.103), 30 hops max, 40 byte packets using UDP
1  * * *
2  * * *
3  * * *
4  * * *
5  * * *
6  * * *
^C
Cesbg_Longhua:/etc/sysconfig/network #
Cesbg_Longhua:/etc/sysconfig/network # traceroute 10.128.127.2
traceroute to 10.128.127.2 (10.128.127.2), 30 hops max, 40 byte packets using UDP
1  10.128.127.2 (10.128.127.2)  275.913 ms * *
Cesbg_Longhua:/etc/sysconfig/network #



另外一台主机,相同的路由,却可以ping得通,traceroute也没问题。

fnn_95:~ # route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.1.26.0       0.0.0.0         255.255.255.0   U     0      0        0 eth0
10.0.0.0        0.0.0.0         255.255.0.0     U     0      0        0 eth1
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         10.1.26.1       0.0.0.0         UG    0      0        0 eth0
fnn_95:/etc/sysconfig/network/scripts # ping 10.64.10.103
PING 10.64.10.103 (10.64.10.103) 56(84) bytes of data.
64 bytes from 10.64.10.103: icmp_seq=1 ttl=126 time=286 ms
64 bytes from 10.64.10.103: icmp_seq=2 ttl=126 time=283 ms
^C
--- 10.64.10.103 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 283.173/285.079/286.985/1.906 ms
fnn_95:~ # traceroute 10.64.10.103
traceroute to 10.64.10.103 (10.64.10.103), 30 hops max, 40 byte packets using UDP
1  10.128.127.2 (10.128.127.2)  284.880 ms   284.624 ms   284.962 ms
2  dc-exfe1.power.com (10.64.10.103)  288.009 ms * *
fnn_95:~ # traceroute 10.128.127.2
traceroute to 10.128.127.2 (10.128.127.2), 30 hops max, 40 byte packets using UDP
1  10.128.127.2 (10.128.127.2)  277.412 ms * *
fnn_95:~ #

论坛徽章:
381
CU十二周年纪念徽章
日期:2014-01-04 22:46:58CU大牛徽章
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大牛徽章
日期:2013-03-13 15:38:52CU大牛徽章
日期:2013-03-14 14:08:55CU大牛徽章
日期:2013-04-17 11:17:19CU大牛徽章
日期:2013-04-17 11:17:32CU大牛徽章
日期:2013-04-17 11:17:37CU大牛徽章
日期:2013-04-17 11:17:42CU大牛徽章
日期:2013-04-17 11:17:47CU大牛徽章
日期:2013-04-17 11:17:52CU大牛徽章
日期:2013-04-17 11:17:56
2 [报告]
发表于 2013-11-25 14:29 |只看该作者
你先ping下10.1.26.1看看能ping通不.
如果网关能通,测试下降eth1 down掉看看能通不

论坛徽章:
0
3 [报告]
发表于 2013-11-25 16:33 |只看该作者
10.1.26.1是通的。
eth1 现在不能down, 周末再试试。

论坛徽章:
381
CU十二周年纪念徽章
日期:2014-01-04 22:46:58CU大牛徽章
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大牛徽章
日期:2013-03-13 15:38:52CU大牛徽章
日期:2013-03-14 14:08:55CU大牛徽章
日期:2013-04-17 11:17:19CU大牛徽章
日期:2013-04-17 11:17:32CU大牛徽章
日期:2013-04-17 11:17:37CU大牛徽章
日期:2013-04-17 11:17:42CU大牛徽章
日期:2013-04-17 11:17:47CU大牛徽章
日期:2013-04-17 11:17:52CU大牛徽章
日期:2013-04-17 11:17:56
4 [报告]
发表于 2013-11-25 16:35 |只看该作者
我觉得你最好咨询下网络管理员,看看是不是路由器有ip是在你的eth1的网段之内
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP