Chinaunix

标题: ping IP 时出现Time to live exceeded [打印本页]

作者: singsm    时间: 2013-11-25 14:18
标题: ping IP 时出现Time to live exceeded
我从服务器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:~ #
作者: chenyx    时间: 2013-11-25 14:29
你先ping下10.1.26.1看看能ping通不.
如果网关能通,测试下降eth1 down掉看看能通不
作者: singsm    时间: 2013-11-25 16:33
10.1.26.1是通的。
eth1 现在不能down, 周末再试试。
作者: chenyx    时间: 2013-11-25 16:35
我觉得你最好咨询下网络管理员,看看是不是路由器有ip是在你的eth1的网段之内




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2