[Network] Traceroute & Tracert/Tracepath 工具指南

Intro

Traceroute - Wikipedia

可顯示封包在IP網路經過的路由器的IP位址。

Windwos平台指令:tracert

Linux平台指令:traceroute or tracepath

traceroute(8) — Linux manual page

Linux 可以額外安裝 traceroute 套件,與內建 tracert 不相同

$ traceroute  www.google.com.tw

# TCP on port 443
$ traceroute -T -p 443 www.google.com.tw

MTR

MTR(My traceroute,原名Matt's traceroute)網路診斷工具包含traceroute與ping的功能,並支援TCP & UDP封包

MTR Github Repository

mtr (8) - Linux Man Pages

$ mtr www.google.com.tw

$ mtr --tcp www.google.com.tw

Leave a Reply

Your email address will not be published. Required fields are marked *