Forrest logo
back to the tracert tool

tracert:tldr:e1b7e

tracert: Force `tracert` to use IPv6 only.
$ tracert /6 ${IP}
try on your machine

The command "tracert /6 ${IP}" is used to trace the route that packets take to reach a destination IPv6 address. Here's a breakdown of the command:

  • "tracert" stands for "trace route" and is a network diagnostic tool that tracks the path ICMP (Internet Control Message Protocol) packets take from your computer to a specified destination.
  • "/6" is an option that specifies the use of IPv6 addressing. This indicates that the trace route will be done using IPv6 packets instead of IPv4 packets.
  • "${IP}" is a placeholder that represents the IPv6 address or hostname for which you want to trace the route. You need to replace "${IP}" with the actual IPv6 address or hostname.

When you run this command, your computer will send out a series of ICMP packets with incrementing TTL (Time-to-Live) values. Each packet will be given a maximum hop count, starting from 1 and increasing by 1 with each subsequent packet.

Each router or network device in the path to the destination will decrement the TTL value of the packet it receives. If the TTL value reaches zero, the device will discard the packet and send an ICMP Time Exceeded message back to your computer.

By receiving these ICMP messages and the IP addresses of the devices that sent them, your computer is able to trace the route to the destination. The output will typically include a list of IP addresses (or hostnames if available) for each hop, along with round-trip time measurements (if supported and enabled).

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the tracert tool