侧边栏壁纸
博主头像
落叶人生博主等级

走进秋风,寻找秋天的落叶

  • 累计撰写 130562 篇文章
  • 累计创建 28 个标签
  • 累计收到 9 条评论
标签搜索

目 录CONTENT

文章目录

traceroute 节点查询

2023-12-03 星期日 / 0 评论 / 0 点赞 / 71 阅读 / 2504 字

traceroute 調查連接到某部主機時,每個節點的連線速度 語法: 說明: - [root@test root]#traceroute [-i interface] [-g gateway]

traceroute

調查連接到某部主機時,每個節點的連線速度

 

語法: 說明:

 

- [root@test root]# traceroute [-i interface] [-g gateway] [host|IP]

- 參數說明:

- -i :使用這個 interface 來連出去!例如 eth0, ppp0 等!

- -g :使用這個 gateway 來連出去!例如 192.168.1.2, 140.116.141.29 等!

- 範例:

- [root@test root]# traceroute tw.yahoo.com

.

- traceroute to tw.yahoo.com (202.1.237.21), 30 hops max, 38 byte packets

-  1  140.116.141.253 (140.116.141.253)  123.958 ms  96.357 ms  97.810 ms

-  2  140.116.140.253 (140.116.140.253)  103.548 ms  87.607 ms  78.227 ms

-  3  163.28.112.253 (163.28.112.253)  99.522 ms  84.379 ms  79.858 ms

-  4  210.242.251.246 (210.242.251.246)  104.429 ms  86.622 ms  79.857 ms

-  5  211.22.226.50 (211.22.226.50)  97.897 ms  86.031 ms  87.177 ms

-  6  TaiPei-TANET-P1.BR.HiNet.NET (168.95.207.242)  101.981 ms  58.149 ms  60.231 ms

-  7  168.95.17.162 (168.95.17.162)  69.198 ms  63.294 ms  58.594 ms

-  8  210.65.200.10 (210.65.200.10)  65.950 ms  67.336 ms  63.503 ms

-  9  211.22.35.169 (211.22.35.169)  67.572 ms  92.535 ms  83.105 ms

- 10  211.22.41.89 (211.22.41.89)  106.855 ms  92.540 ms  87.201 ms

- 11  alteon6.tpe.yahoo.com (202.1.237.253)  122.347 ms  92.235 ms  91.266 ms

.

 

這個指令相當的有用途,他可以用來判斷當一部遠端主機無法連線時候,到底封包是停頓在哪一個節點上!

 

因為很多時候,您常常會發現『咦!網路速度怎麼變慢了?』然後自己的主機似乎沒有問題呀!

 

這個時候就可以使用這個指令查檢查一下,是否在連線的過程當中,有些節點被擋下來了呢?!很好用的啦!

 

不過,萬一如果出現了 *** 在 traceroute 的輸出結果中,那就表示該 router 應該有點問題吶!得趕緊向上頭報告去維修喔!

 

 

广告 广告

评论区