The traceroute command in Linux returns the addresses of the machines and other network devices through which the packets pass to reach a certain destination. This path is known as the address route.
Traceroute also has its own executable for operating on IPv6, called traceroute6.
Traceroute uses the time to live (TTL) of IP packets to force an ICMP TIME EXCEEDED protocol response of each device through which the packet passes to obtain the necessary information.
The lifespan determines the maximum number of devices a packet can traverse before being deleted. This parameter is necessary so that packets do not wander around the network forever if their recipient is not found.
This command can investigate where the connectivity with the ping command is failing, and when that happens, it can most of the time be a problem with routes, or some ICMP packet filter.
The default TTL is 30 hosts.
The most common options are:
Example:
$ traceroute www.kernel.org
traceroute to www.kernel.org (204.152.189.116), 30 hops max, 40 byte packets
1 10,128.0.1 6,832 ms 8,702 ms 11,401 ms
2 10.11.0.254 13,013 ms 6,261 ms 6,993 ms
& nbsp; 3 inf001010.enl-int.redeinfovias.net.br (200.150.1.10) 72.771 ms 71.875 ms 70.068 ms
(...)
13 r7-2.r8.pao1.isc.org (192.5.4.225) 236,927 ms 234,988 ms 232.748 ms
14 r8-pao1.r3.sfo2.isc.org (192.5.4.233) 225,628 ms 214,758 ms 214,469 ms
15 zeus-pub.kernel.org (204.152.189.116) 216,677 ms 219,898 ms & nbsp; 221,776 ms
The sudo command on Linux executes a given command as if it were another user.…
The ss command on Linux is extremely useful for investigating sockets, providing various information about…
Free Linux command shows the amount of total memory in use and available, as well…
The shell has structures for testing conditions and executing certain program sequences several times (loop),…
The /etc/fstab file stores the configuration of which devices should be mounted and what is…
The Netcat Command in Linux or nc is a utility used to do “almost anything”…
This website uses cookies.