How to Run Traceroute: traceroute vs mtr for Diagnosing Network Routes
Use traceroute for a quick route check, and use mtr when the problem keeps changing. Traceroute shows each hop between you and a server by using packet lifetime limits, also called TTL, to trigger replies from routers along the path [source: IBM]. MTR does the same kind of path test, but repeats it again and again. That makes it better for spotting packet loss, jitter, and flaky hops.
TLDR
Traceroute is a snapshot. MTR is a live movie. If your website loads in 1.2 seconds at 9 a.m. but needs 8 seconds at 2 p.m., run mtr for 100 packets and check where loss starts. For example, if hop 6 shows 0% loss but hop 7 shows 38% loss, the trouble may begin near hop 7 or after it.
What traceroute does
Traceroute is like sending tiny scouts across the internet.
Each scout asks, “How far did I get?”
The first scout stops at router 1. The second stops at router 2. The third stops at router 3. This keeps going until the packets reach the target, or until they give up.
The result is a hop list. Each hop is one router or network device on the way.
A simple traceroute output may look like this:
1 192.168.1.1 1 ms 1 ms 2 ms
2 10.20.0.1 8 ms 9 ms 8 ms
3 203.0.113.5 22 ms 24 ms 23 ms
4 example.com 44 ms 43 ms 45 ms
Each row is a hop. Each time value is latency. Lower is usually better.
It drives me crazy when people see one slow hop and yell, “Found it!” Not so fast. One router may reply slowly to traceroute, while still passing real traffic just fine. Routers are busy. Some treat traceroute replies like junk mail.
How to run traceroute
Pick your system. Then run the right command.
Windows
tracert example.com
Windows uses tracert, not traceroute. Yes, that missing “e” is annoying. Expect to mistype it at least once.
macOS
traceroute example.com
Linux
traceroute example.com
If it is not installed, try:
sudo apt install traceroute
On Red Hat, Fedora, or CentOS style systems:
sudo dnf install traceroute
Useful traceroute options
- Use IP only:
traceroute -n example.com. This skips DNS lookups. It is faster. - Use ICMP:
traceroute -I example.com. This can work better through some networks. - Set max hops:
traceroute -m 20 example.com. This stops after 20 hops. - Set packet size:
traceroute example.com 1200. This can help test size related trouble.
On Windows, use:
tracert -d example.com
The -d option skips name lookup. It often saves several seconds.
What mtr does
MTR mixes traceroute and ping.
It finds the route. Then it keeps testing each hop. Over time, this gives a much better picture.
Traceroute says, “Here is what happened once.”
MTR says, “Here is what happened 100 times.”
That matters. Network issues love to hide. A route may look clean for five seconds, then cough up packet loss. MTR catches that pattern.
How to run mtr
Linux
mtr example.com
If it is missing:
sudo apt install mtr
Or:
sudo dnf install mtr
macOS
With Homebrew:
brew install mtr
Then run:
sudo mtr example.com
Windows
Use WinMTR. It gives you a simple window with host, packet loss, sent packets, and latency.
For a clean report on Linux or macOS, run:
mtr -rwzc 100 example.com
-rmeans report mode.-wmakes names easier to read.-zshows AS numbers when possible.-c 100sends 100 probes.
Traceroute vs mtr: the simple version
| Tool | Best for | Weak spot |
|---|---|---|
| Traceroute | Fast route checks | Only shows one short test |
| MTR | Packet loss and unstable routes | Needs time to gather useful data |
Use traceroute when you need a quick answer.
Use mtr when someone says, “The site is slow sometimes.” That word sometimes is your clue. You need repeated tests.
How to read the results without panic
Look for patterns, not drama.
- High latency at one hop only: Usually not a big deal.
- High latency from one hop onward: That may show real delay.
- Packet loss at one hop only: Often harmless. The router may ignore test packets.
- Packet loss that continues after a hop: That is more serious.
- Stars or timeouts: The router may block replies. Traffic may still pass.
Here is a tiny example:
Hop Loss% Avg
1 0.0% 1 ms
2 0.0% 9 ms
3 0.0% 18 ms
4 35.0% 20 ms
5 0.0% 23 ms
6 0.0% 31 ms
Hop 4 looks scary. But later hops show 0% loss. That likely means hop 4 does not enjoy answering probes. Rude, but not fatal.
Now compare this:
Hop Loss% Avg
1 0.0% 1 ms
2 0.0% 8 ms
3 12.0% 30 ms
4 14.0% 55 ms
5 13.0% 90 ms
6 15.0% 120 ms
This is more useful. Loss starts at hop 3 and keeps going. That smells like a real problem around hop 3 or beyond.
A quick troubleshooting flow
- Test the target: Run
traceroute example.com. - Check DNS: Run it again with
-nor-d. - Run MTR: Collect at least 100 probes.
- Compare locations: Test from another network if you can.
- Save the output: Send it to your host, ISP, or network team.
If your home Wi Fi is the suspect, test by cable too. Honestly, it feels like half of all “internet is broken” cases are just weak Wi Fi hiding behind the couch.
Common gotchas
- Firewalls block probes. This can make results look worse than they are.
- Routes can change. Your path at noon may differ at night.
- Cloud networks are complex. One hop may hide many internal systems.
- ICMP may be limited. Some devices reply slowly on purpose.
- Your own network matters. A bad cable can ruin the test before it leaves the room.
Best tool choice
Pick traceroute when you want speed. It is great for checking whether traffic reaches the target and where the path goes.
Pick mtr when you need proof. It gives packet loss, average latency, best latency, worst latency, and repeated samples. That makes it much harder for a flaky route to act innocent.
The best habit is simple. Run traceroute first. Then run mtr if the issue is slow, random, or hard to prove. Save the output. Share the numbers. Blame the right hop, not the nearest blinking box.
- How Much Does Google Workspace Cost? 4 Business Productivity Plans Compared for Email, Storage, Collaboration, and Administration - November 13, 2026
- GlobalData Alternatives: 7 Market Intelligence Platforms for Industry Research, Company Profiles, and Competitive Analysis - November 13, 2026
- 7 Workforce Skills Intelligence Platforms Compared: Workera, Degreed, and Other Tools for Skills Mapping, Upskilling, and Career Development - November 13, 2026


