Traceroute command (a.k.a tracert command)

25.08.2020 5,515 33

What is traceroute/tracert

Traceroute or Tracert is yet another network diagnostic software. It does what it says – it completely traces the route frоm the device who makes the request to an IP address or hostname. It provides you with statistics about the final point as well as the routers on the way.

You can find it on macOS, Linux, Android, and iOS as traceroute and on Windows as tracert.

Windows tracert syntax

Let’s first start with the Windows version called tracert. You can use it inside the Command Prompt of Windows. Its syntax is as follows:

tracert [-d] [-h maximum_hops] [-j host-list] [-w timeout] [-R] [-S srcaddr] [-4] [-6] target_name

macOS traceroute syntax

To start traceroute on macOS, you will need to use Terminal.

traceroute [options] host [packetsize]

Linux traceroute syntax

On Linux, you can also use Terminal for traceroute. You can use $traceroute –help and see all the possible options on Linux.

traceroute [options] host_Address [pathlength]

Comparison table

Here’s a comparison between the commands on the different OSes.

Option Description Windows macOS Linux
-d Not to resolve addresses to the hostnames Yes No No
-d –debug Linux debugging enable No No Yes
-h aximum_hops Set the maximum hops of the request No No Yes
-m max_ttl Max number of hops No Yes Yes
-j host-list Loose source route along host-list, works only with IPv4
-w timeout Maximum time in milliseconds for each reply Yes Yes No
-w waittime –wait=waittime Maximum time in milliseconds for each reply No No Yes
-I –icmp ICMP echo for the command No No Yes
-R Trace the return path too, works only with IPv6 Yes No No
-S srcaddr Source address, works only with IPv6 Yes No No
-4 Use only IPv4 Yes Yes Yes
-6 Use only IPv6 Yes Yes Yes
-p port Set the port for the probe No Yes No
-F No packet fragmentation No Yes Yes
-n Do not resolve IP address No Yes Yes

Conclusion

Traceroute or tracert is a really good command for checking the route. You will get important statistics and you can do it on every major OS. Use it to determine the number of hops it takes for a query and the response times of different network component.

Sources:
https://en.wikipedia.org/wiki/Traceroute
https://www.geeksforgeeks.org/traceroute-command-in-linux-with-examples/
https://ss64.com/osx/traceroute.html

33 replies on “Traceroute command (a.k.a tracert command)”

Médecin Mohammedia

… [Trackback]

[…] Here you can find 66097 more Info to that Topic: blog.neterra.cloud/en/traceroute-command-a-k-a-tracert-command/ […]

Svetldwr

Novyny

Igoreye

Ukraine

Svetlnnw

Novyny

Igorjmf

Ukraine

Svetlanaaqr

urenrjrjkvnm

Svetllnc

Novyny

Sergfio

Novost

Svetlanaomh

urenrjrjkvnm

Sergqql

Novost

Sergjct

Novost

Serglot

Novost

Sergltx

Novost

Irinsju

urenrjrjkvnm

늑대닷컴

… [Trackback]

[…] Read More Information here on that Topic: blog.neterra.cloud/en/traceroute-command-a-k-a-tracert-command/ […]

Davidxxa

coin

Davidvhj

coin

Margaretgol

Novost

Margaretlrp

Novost

Vikijkf

urenrjrjkvnm

cartel oil co website

… [Trackback]

[…] Read More Information here on that Topic: blog.neterra.cloud/en/traceroute-command-a-k-a-tracert-command/ […]

xpel folie

… [Trackback]

[…] Read More on that Topic: blog.neterra.cloud/en/traceroute-command-a-k-a-tracert-command/ […]

ทางเข้า lsm99

… [Trackback]

[…] Find More on that Topic: blog.neterra.cloud/en/traceroute-command-a-k-a-tracert-command/ […]

u31 com

… [Trackback]

[…] There you will find 51762 additional Info on that Topic: blog.neterra.cloud/en/traceroute-command-a-k-a-tracert-command/ […]

อ่านมังงะ

… [Trackback]

[…] Read More on that Topic: blog.neterra.cloud/en/traceroute-command-a-k-a-tracert-command/ […]

Nailsalon Melanie

… [Trackback]

[…] Read More to that Topic: blog.neterra.cloud/en/traceroute-command-a-k-a-tracert-command/ […]

โซล่าเซล

… [Trackback]

[…] There you can find 49114 additional Information to that Topic: blog.neterra.cloud/en/traceroute-command-a-k-a-tracert-command/ […]

ufa1913 เว็บแทงบอล เชื่อถือได้

… [Trackback]

[…] Information on that Topic: blog.neterra.cloud/en/traceroute-command-a-k-a-tracert-command/ […]

ลวดสลิง

… [Trackback]

[…] Read More Info here on that Topic: blog.neterra.cloud/en/traceroute-command-a-k-a-tracert-command/ […]

Otter Creek Polonium For Sale

… [Trackback]

[…] Info to that Topic: blog.neterra.cloud/en/traceroute-command-a-k-a-tracert-command/ […]

cheats for rainbow 6

… [Trackback]

[…] Here you will find 63699 more Info on that Topic: blog.neterra.cloud/en/traceroute-command-a-k-a-tracert-command/ […]

หวยหุ้น lotto คืออะไร

… [Trackback]

[…] There you will find 49397 more Information on that Topic: blog.neterra.cloud/en/traceroute-command-a-k-a-tracert-command/ […]

llucabet

… [Trackback]

[…] Information to that Topic: blog.neterra.cloud/en/traceroute-command-a-k-a-tracert-command/ […]

Leave a Reply

Your email address will not be published.