今天一大早就碰到怪事哦。对方无法远程连接本地主机,双方均为ADSL接入INTERNET,网络状态一切正常。使用PING命令测试,测试结果如下:
C:\ ping 58.33.46.92
Pinging [58.33.46.92] with 32 bytes of data:
Reply from 61.152.81.25: TTL expired in transit.
Ping statistics for 58.33.46.92:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
返加代表TTL expired in transit 代表TTL(生命周期)在传输过程中过期,什么意思呢?我来解释一下!
导致这个问题出现的原因有两个:
1)TTL值太小!TTL值小于你和对方主机之间经过的路由器数目。
2)路由器数量太多,经过路由器的数量大于TTL值!
接下来要找出问题所在就要用 TRACERT命令查看所经过的路由,测试结果如下:
C:\ >tracert -d 58.33.46.92
Tracing route to [58.33.46.92]
over a maximum of 30 hops:
1 6 ms 5 ms 5 ms 192.168.0.1
2 10 ms 6 ms 5 ms 192.168.0.251
3 245 ms 131 ms 146 ms 61.129.99.217
4 18 ms 19 ms 20 ms 202.101.63.13
5 20 ms 16 ms 18 ms 61.152.81.14
6 22 ms 17 ms 19 ms 61.152.81.5
7 16 ms 14 ms 20 ms 61.152.81.6
8 21 ms 15 ms 19 ms 61.152.81.25
9 20 ms 16 ms 18 ms 61.152.81.26
10 20 ms 19 ms 15 ms 61.152.81.5
11 15 ms 14 ms 19 ms 61.152.81.6
12 20 ms 19 ms 15 ms 61.152.81.25
13 17 ms 19 ms 19 ms 61.152.81.26
14 17 ms 19 ms 15 ms 61.152.81.5
15 18 ms 18 ms 20 ms 61.152.81.6
16 17 ms 18 ms 15 ms 61.152.81.25
17 17 ms 19 ms 19 ms 61.152.81.26
18 16 ms 19 ms 14 ms 61.152.81.5
19 16 ms 19 ms 14 ms 61.152.81.6
20 17 ms 19 ms 14 ms 61.152.81.25
21 16 ms 20 ms 19 ms 61.152.81.26
22 16 ms 19 ms 20 ms 61.152.81.5
23 16 ms 20 ms 19 ms 61.152.81.6
24 17 ms 19 ms 19 ms 61.152.81.25
25 17 ms 18 ms 20 ms 61.152.81.26
26 17 ms 20 ms 19 ms 61.152.81.5
27 18 ms 17 ms 24 ms 61.152.81.6
28 18 ms 20 ms 19 ms 61.152.81.25
29 19 ms 19 ms 20 ms 61.152.81.26
30 19 ms 20 ms 18 ms 61.152.81.5
Trace complete.
通过监测,可以清楚的发现,路由产生环路,在61.152.81.5,61.152.81.6,61.152.81.25,61.152.81.26,这四个路由之间转不出来了。所以造成TTL expired in transit。由于从192.168.0.1(网关)出去,到192.168.0.251(本地路由),再到61.129.99.217(专线关网),最后出去202.101.63.13-》61.152.81.14(电信路由)一切都比较正常,说明问题不是出在本地,所以应该是电信的问题。
打电话给电信报修了一下,业务人员还不知道是怎么回事说了一大堆,他也不是很明白,只好说是叫一个技术再打电话过来,过了一会儿电信的技术人员打电话来问情况,专业人员到底不一样,一说就知道是什么问题了,我把IP报给他,再把在哪几个路由产生环路也报了一下,他就去检查了,一会儿问题就得到解决,再用PING测试一下看看:
C:\ >ping yurenliang.vicp.net
Pinging yurenliang.vicp.net [58.33.46.92] with 32 bytes of data:
Reply from 58.33.46.92: bytes=32 time=37ms TTL=246
Reply from 58.33.46.92: bytes=32 time=40ms TTL=246
Ping statistics for 58.33.46.92:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 35ms, Maximum = 40ms, Average = 37ms
问题是得到了解决,但问题出在什么地方呢?事后电信的技术人员又打电话过来解释了一下。问题原来是这个样子的。由于58开头的这批新IP地址没有得到优化,所以可能经过的路由数会非常多,有时还可能会去国外兜一圈再回来。(晕哦。这是引用电信技术的原话)
现在解决这个问题的办法有两个:
1. 当发现IP为58开头时,重新拨号,最好能拨到61开头的,这样一定不会有问题。
2. 像电信申请,更换一个端口。