Tech Junkie Blog - Real World Tutorials, Happy Coding!: Linux Networking: traceroute

Monday, August 9, 2021

Linux Networking: traceroute

 The most common way to troubleshoot a networking issue is to trace the sending and receiving of packages between hosts.  Almost all OS has this kind of command and Linux is no exception.  In Linux we use the traceroute command to trace the package from point A to point B.

To use the command you basically type the command traceroute and then the hostname for example if you want to trace the route to www.google.com you simply type traceroute www.google.com

If you don't have the command install you can install it by typing the following command dnf install traceroute -y












So now let's run the command traceroute www.google.com and see what happens





As you can see it starts with the gateway then each hop is labeled with a number.  You can see when hops takes the longest and see the bottleneck in your network.

No comments:

Post a Comment

Search This Blog