traceroute command prints the route that packets take to a network host, it maps the entire path. It is useful to detect if one of the nodes is down in the path when packet traveling from source to destination machine.
traceroute command prints the route that packets take to a network host
traceroute [ -dFInrvx ] [ -f first_ttl ] [ -g gateway ] [ -i iface ] [ -m max_ttl ] [ -p port ] [ -q nqueries ] [ -s src_addr ] [ -t tos ] [ -w waittime ] [ -z pausemsecs ] host [ packetlen ]
-n Print hop addresses numerically rather than symbolically and numerically (saves a nameserver address-to-name lookup for each gateway found on the path).
Usage and examples
Example usage of traceroute command
How to install traceroute command on Linux OS?
The traceroute program can be using the following commands
How to traceroute when using ipv6?
Use the -6 option when trying to traceroute of a host on an ipv6 protocol: