* * *在traceroute中


8

如果我通过多种方法跟踪路由到服务器,则外部ip似乎无法正常工作。但是,服务器处于联机状态,并且可以通过此ip访问。

本地主机:

michaelxu@michaelxu-server:~$ traceroute 127.0.0.1
traceroute to 127.0.0.1 (127.0.0.1), 30 hops max, 60 byte packets
 1  localhost.localdomain (127.0.0.1)  0.120 ms  0.069 ms  0.064 ms

内部IP:

michaelxu@michaelxu-server:~$ traceroute 192.168.1.3
traceroute to 192.168.1.3 (192.168.1.3), 30 hops max, 60 byte packets
 1  michaelxu-server (192.168.1.3)  0.122 ms  0.065 ms  0.067 ms

外部IP:

michaelxu@michaelxu-server:~$ traceroute 24.24.174.153
traceroute to 24.24.174.153 (24.24.174.153), 30 hops max, 60 byte packets
 1  * * *
 2  * * *
 3  * * *
 4  * * *
 5  * * *
 6  * * *
 7  * * *
 8  * * *
 9  * * *
10  * * *
11  * *^C
michaelxu@michaelxu-server:~$

...它一直持续到30 ...如果我通过dns服务器进行路由跟踪,也会发生相同的情况

如果我通过另一个在线服务也这样做:

   Tracing route to cpe-24-24-174-153.socal.res.rr.com [24.24.174.153]...

hop rtt rtt rtt     ip address  fully qualified domain name
1   1   1   1       70.84.211.97    61.d3.5446.static.theplanet.com
2   0   0   0       70.87.254.5 po101.dsr02.dllstx5.networklayer.com
3   0   0   1       70.85.127.109   po52.dsr02.dllstx3.networklayer.com
4   0   0   0       173.192.18.230  ae17.bbr02.eq01.dal03.networklayer.com
5   0   0   0       66.109.9.97 ae-11-0.pr0.dfw10.tbone.rr.com
6   41  40  39      66.109.6.208    ae-6-0.cr0.dfw10.tbone.rr.com
7   39  39  40      66.109.6.0  ae-3-0.cr0.lax30.tbone.rr.com
8   37  39  39      66.109.6.65 
9   42  40  39      72.129.9.3  agg1.lamrcadq-ccr02.socal.rr.com
10  36  36  35      72.129.10.73    
11  53  60  49      24.24.209.18    ge17-0-spsdca1-ars1.socal.rr.com
12  *   *   *           
13  *   *   *           
14  *   *   *           
15  *   *   *       

* * *是什么意思?有没有什么办法解决这一问题”


看来RoadRunner当时正在阻止ICMP。我也到达24.24.209.18,然后他们停止回答。*表示缺少ICMP响应。
— LilCodger 2013年

Answers:


7

这有两个原因。

1)超时。尽管通常您最终会在rtt职位之一(例如70 * *)中得到回复。

2)一些路由器被配置为阻止ICMP协议的某些部分正常工作(确切地说,ICMP回显)。这通常是为了帮助防止DDOS攻击等。Traceroute取决于ICMP回显的工作方式。

本质上,traceroute工具无法计算IP地址,因此您将获得* * *被阻止的主机。最终,您可能会收到其他主机的响应,因此您可能会看到跳数较大的响应。

请参阅有关traceroute的维基百科文章。在您的情况下,这是原因2,您对此无能为力。尝试将traceroute运行到另一个目标,您可能会获得完整的跟踪。


我可以ping通这个IP,这也是icmp协议吗?
— 2013年

哪个IP?我可以ping 24.24.209.18,但不能ping 24.24.174.153。有些路由器只是不响应icmp echo。
— 马特H

嗯,那很奇怪,我可以在ubuntu上ping 24.24.174.153,但不能通过cmd提示
— 2013年
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.