Share & learn

Through Innovative Digital Library

What is traceroute in Linux?

i am new to linux, can you share about traceroute in Linux. Why and how it is used in Linux.
 



Answers

Posted by Jon Snow on April 19th 2018 12:32 PM

Traceroute is a network diagnostic tool that is helpful to find out network failures, routing loops, blackholes in internet or you can say It is used to see what path your internet connection takes to get to a particular address on the internet. This is extremely useful when trying to find out why a website is unreachable, as you will be able to see where the connection fails i.e. internet troubleshooting. 1. How to run traceroute command? 'traceroute' command followed by the destination name or IP address is used to find the network path from my machine to the destination name or IP address, as shown below:

# traceroute 172.217.24.238

Posted by Jon Snow on April 19th 2018 12:37 PM

2. How to disable IP address and host name mapping? 'traceroute' followed by '-n' option is used to disable IP address and host name mapping, as shown below:

# traceroute -n 172.217.24.238

Posted by Jon Snow on April 19th 2018 13:02 PM

3. How to configure number of queries per Hop? 'traceroute' followed by '-q' option is used to configure the number of queries per Hop. the default value is 3 i.e 3 packets per hop to provide 3 round trip times, as you can see in the above examples. To send 4 packets per hop, run:

# traceroute 172.217.24.238 -q 4
Answer Question

Your email address will not be published. Required fields are marked *

  • Minimum 20 character
YB4V

related questions

Most liked questions

Most answered questions

Login
YB4V Refresh
Register
YB4V Refresh
Forgot password
Ask a Question
Minimum 20 character
Minimum 20 character
Reply
Minimum 20 character
YB4V Refresh