Troubleshooting
Using mtr to troubleshoot network anomalies
The primary function of the mtr tool is to investigate the point of failure when there is packet loss between two points, and to collect path data. It is a combination of ping and tracert. Compared to ping, it displays routing nodes, and compared to tracert, it displays packet loss at intermediate routing nodes, which helps to analyze potential anomaly points and report them to the respective ISP.
Due to potential asynchronous routing on backbone Internet paths (that is, the paths of packets do not match in both directions, and there might not be any apparent anomaly in one direction, but anomalies are displayed in the other direction) and ECMP (the ISP load balances on multiple paths, and if there is an anomaly in one path, some IPs will lose packets), we recommend conducting bidirectional mtr.
Use mtr on Windows
Usage (take winmtr as an example)
1、Enter the target domain name or IP address (make sure not to add a space before), and click start to begin detection
2、 After running for a while, click stop to stop the detection. You can also select Copy Text to clipboard: to copy the test results in text format to the clipboard.
Use mtr on Linux
Download and installation
For centos system, you can use yum install -y mtr to install. Other operating systems are recommended to use relevant download tools
Usage
1、Enter mtr + target domain name or IP address, and press enter to execute the command
2、Wait for the route trace to end
Use mtr on Mac
Usage
1、Enter mtr + target domain name or IP address, hit enter to execute, and wait for the route trace to end