Diagnose network issues by combining traceroute and ping into one powerful tool
MTR (My Traceroute) is a network diagnostic tool that combines the functionality of traceroute and ping into a single, powerful utility. It continuously sends packets and provides real-time statistics about each hop between your server and a destination.
Continuously updates statistics
Shows every hop to destination
Identifies slow network segments
Use MTR when you experience slow connections, packet loss, or intermittent connectivity issues. It helps identify whether the problem is on your server, your ISP, or somewhere in between.
sudo apt update && sudo apt install mtr -ysudo dnf install mtr -ysudo dnf install mtr -ysudo pacman -S mtrRun MTR in interactive mode to see real-time updates. Press q to quit.
mtr google.comGenerate a report after a set number of packets. This is the best format for sharing with support teams.
mtr -r -c 100 google.com-r = Report mode (non-interactive)
-c 100 = Send 100 packets before generating report
Include full hostnames and IP addresses in the report.
mtr -r -w -c 100 google.comNetwork issues can occur in either direction. Always run MTR from both ends:
# From your VPS to your location
mtr -r -w -c 100 YOUR_HOME_IP
# From your location to your VPS
mtr -r -w -c 100 YOUR_VPS_IPHOST: vps.example.com Loss% Snt Last Avg Best Wrst StDev
1.|-- gateway 0.0% 100 0.5 0.6 0.4 1.2 0.1
2.|-- isp-router.net 0.0% 100 1.2 1.4 1.0 3.5 0.3
3.|-- core-router.isp.net 0.0% 100 5.3 5.8 4.9 12.1 0.8
4.|-- peer-exchange.net 2.0% 100 15.2 16.1 14.8 25.3 1.2
5.|-- destination-dc.net 0.0% 100 18.4 18.9 17.2 28.7 1.5
6.|-- target-server.com 0.0% 100 19.1 19.5 18.0 30.2 1.8Percentage of packets lost at each hop. 0-1% is normal. 1-5% may indicate congestion. >5% is problematic.
Number of packets sent. More packets give more accurate statistics. Use at least 100 for reports.
Latency in milliseconds. Avg is most useful. Large gaps between Best and Wrst indicate instability.
Measures consistency. Low StDev = stable connection. High StDev = variable latency (jitter).
If loss occurs at the final hop, there is a real connectivity problem. This could be:
A sudden increase in latency (e.g., 20ms → 150ms) indicates:
Large StDev values indicate inconsistent network performance:
If packet loss appears at intermediate hops but NOT at the final destination, this is usually not a problem:
From your VPS to your location AND from your location to the VPS
More data points = more accurate diagnosis
Note when the test was run to correlate with issue timing
Run MTR when you are experiencing the issue, not after it resolves
Use this command to generate a comprehensive report suitable for a support ticket:
# Generate timestamped report
echo "=== MTR Report - $(date) ===" && mtr -r -w -c 100 TARGET_IPTip: Replace TARGET_IP with the destination you are having trouble reaching, or your home IP when testing from your VPS.
If you are experiencing persistent network issues, open a support ticket at clientarea.ramnode.com and include your MTR reports from both directions.