V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
fuxkcsdn
V2EX  ›  问与答

traceroute 远程主机,倒数第二跳出现内网地址是咋回事?

  •  
  •   fuxkcsdn · 2015-04-11 12:28:12 +08:00 · 2593 次点击
    这是一个创建于 3326 天前的主题,其中的信息可能已经有所发展或是发生改变。
    这是从国内traceroute过去的
    traceroute -n remoteserver.com
    traceroute to remoteserver (xx.xxx.x.xxx), 30 hops max, 60 byte packets
    1 xxx.xx.xxx.x 4.406 ms 4.758 ms 5.521 ms
    2 192.168.14.1 4.438 ms 192.168.13.1 4.907 ms 5.292 ms
    3 xxx.xx.xxx.xxx 0.576 ms 192.168.3.2 2.398 ms 117.25.145.225 0.647 ms
    4 59.43.81.65 0.722 ms 117.25.145.229 0.639 ms 0.733 ms
    5 59.43.74.169 0.832 ms 59.43.47.2 2.263 ms 2.331 ms
    6 59.43.47.2 2.458 ms 59.43.19.125 9.633 ms 9.648 ms
    7 59.43.247.82 9.819 ms 9.755 ms 59.43.19.125 9.563 ms
    8 59.43.247.82 9.718 ms 59.43.246.170 10.374 ms 10.342 ms
    9 59.43.246.170 10.329 ms 10.223 ms *
    10 * * 59.43.248.130 151.715 ms
    11 59.43.182.178 165.595 ms 59.43.248.130 151.478 ms 59.43.182.178 165.487 ms
    12 * * 59.43.182.178 165.508 ms
    13 * 129.250.66.25 160.201 ms 159.622 ms
    14 129.250.66.25 159.523 ms 159.748 ms 159.739 ms
    15 129.250.4.5 171.846 ms 171.994 ms 172.327 ms
    16 129.250.6.177 318.434 ms 129.250.6.238 218.227 ms 129.250.6.177 314.562 ms
    17 129.250.6.177 323.321 ms 129.250.2.235 346.367 ms 129.250.6.177 315.012 ms
    18 129.250.16.47 371.053 ms 129.250.2.235 346.595 ms 129.250.16.47 360.366 ms
    19 129.250.16.47 354.556 ms 356.598 ms 351.094 ms
    20 10.0.10.34 352.652 ms 356.447 ms 357.651 ms
    21 xx.xxx.x.xxx 355.346 ms 370.231 ms 360.331 ms

    这是从香港 traceroute 过去的
    traceroute -n remoteserver.com
    traceroute to remoteserver.com (xx.xxx.x.xxx), 30 hops max, 38 byte packets
    1 xxx.x.xx.xxx 1.224 ms 1.228 ms 1.162 ms
    2 10.193.233.117 1.650 ms 1.684 ms 1.638 ms
    3 218.102.40.58 2.119 ms 218.102.40.74 2.116 ms 2.015 ms
    4 63.218.240.41 135.544 ms 63.218.254.69 10.141 ms 4.378 ms
    5 63.216.142.2 3.536 ms 3.628 ms 63.218.210.158 3.444 ms
    6 63.216.142.2 3.359 ms 4.297 ms 4.894 ms
    7 129.250.2.120 63.888 ms 58.581 ms 54.330 ms
    8 129.250.4.65 313.866 ms 129.250.2.120 57.074 ms 129.250.4.65 347.851 ms
    9 129.250.4.126 321.054 ms 333.684 ms 129.250.4.65 317.873 ms
    10 129.250.4.126 335.949 ms 333.314 ms 331.867 ms
    11 129.250.16.47 355.293 ms 369.922 ms 361.121 ms
    12 * 129.250.16.47 361.027 ms 367.645 ms
    13 * xx.xxx.x.xxx 375.145 ms 370.086 ms
    5 条回复    2015-04-12 10:48:14 +08:00
    Tomilay
        1
    Tomilay  
       2015-04-11 13:28:52 +08:00
    就是走了內網ip唄,,有啥奇怪的。。。很常見呀。
    fuxkcsdn
        2
    fuxkcsdn  
    OP
       2015-04-11 13:42:27 +08:00
    @Tomilay
    目标服务器是西班牙主机
    那为什么从香港走过去没走内网IP?香港的倒数第2条和国内的倒数第3跳是同一个IP啊

    而且国内走过去有时候到倒数第二跳的那个内网IP就停住了
    AntiGameZ
        3
    AntiGameZ  
       2015-04-11 14:38:36 +08:00
    因为这个确实是内网的IP呗。

    第一跳是你本段网关,第二跳是你所在网络的边界路由设备的内网地址。
    Tomilay
        4
    Tomilay  
       2015-04-11 14:52:51 +08:00
    @fuxkcsdn 所見即真相,倒數第二跳就是在內網IP跳的。。。
    至於,香港的為什麼沒跳內網 ~~~那是遠端路由器的策略,不需要你關心~~
    MikuM97
        5
    MikuM97  
       2015-04-12 10:48:14 +08:00 via iPhone
    ISP内部的设备之间直连常用内网地址,不必大惊小怪。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2320 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 08:35 · PVG 16:35 · LAX 01:35 · JFK 04:35
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.