Document toolboxDocument toolbox

traceroute and traceroute6 commands

The traceroute and traceroute6  commands display information on the route IPv4 or IPv6 packets. You can use the commands to determine the path of an IPv4 or IPv6 query. The commands provide information on the path packets travel and the time it takes to reach the IPv4 or IPv6 destination address.

Syntax

The following is the command syntax:

traceroute [options] <hostname|IPv4_address>

traceroute6 [options] <hostname|IPv6_address>

where:

  • hostname is the name of the destination host to use in the traceroute attempt.
  • IPv4_address is the IPv4 address of the destination host to use in the traceroute attempt.
  • IPv6_address is the IPv6 address of the destination host to use in the traceroute attempt.

The traceroute and traceroute6 commands are basic Linux commands. Depending on the system you are working in, the available options for these commands may vary.