How do I use traceroute?

Traceroute is a network diagnostic tool that shows the path that internet traffic takes from your computer to a website or server. It helps you to spot connection problems, delays, routing issues or network failures between your device and the destination server.

Website owners, hosting companies and network administrators often use traceroute as a tool to troubleshoot connectivity issues.

What is a trace route?

A traceroute test when executed shows:

This can help you diagnose slow websites, unreachable servers or routing problems.

What traceroute does

When data is sent over the internet, it travels through a vast number of routers and networks to reach the destination server.

Traceroute measures:

If one of the hops doesn't answer or takes too long to answer, this could be a sign of a network issue.

How To Use Traceroute in Windows

Windows uses this command:

tracert yourdomain.com

Steps:

Illustration:

tracert example.com

The full server route will be displayed on the system.

How to Use Traceroute on Mac/Linux

The command is:

traceroute yourdomain.com

Steps:

Example:

traceroute example.com

Interpreting the findings

Here’s what a typical traceroute looks like:

For example:

1 router.isp-gateway local 1 ms
2 network-node 8 ms
3 network-node 15 ms

If your connection is slower, you may experience a longer response time.

Repeated * * * responses or timeouts could indicate:

Why use traceroute?

Useful for: Traceroute is

Important Notes

Conclusion

Traceroute is a handy network debugging tool which helps you find the route internet traffic takes from your computer to a server. This can help you diagnose connectivity problems, routing problems and slow network performance more effectively. Use tracert (Windows) or traceroute (Mac/Linux).