Route tracing online tracert tool description
Tracert (tracking Routing) is a practical routing tracking function.ProgramUsed to determine the path of the IP datagram access target. The tracert command uses the ip ttl field and the ICMP error message to determine the route from one host to other hosts on the network.
How tracert works
By sending "Internet Control Message Protocol (ICMP)" response packets with different TTL values to the target, the tracert diagnostic program determines the route adopted by the target. Each vro on the path must at least decrease the TTL of the data packet by 1 before forwarding the data packet. When the TTL value on the data packet is reduced to 0, the router should send the "ICMP timeout" message back to the source system.
Tracert sends a response packet whose TTL is 1, and increases TTL by 1 in each subsequent sending process until the target response or TTL reaches the maximum value to determine the route. Check the ICMP timeout message sent back by the Intermediate router to determine the route. Some routers directly discard TTL expired data packets without asking, which is not seen in the tracert utility.
Tracert command details and usage
The tracert command supports multiple options, as shown below.
Tracert [-D] [-H maximum_hops] [-J host-list] [-W timeout] target_name
-D-do not resolve the IP address to the host name.
-H maximum_hops-specifies the number of hops to track the route of a host called target_name.
-J host-list-specifies the list of router interfaces in the path used by the tracert utility package.
-W timeout-Wait timeout is the specified number of milliseconds for each reply.
Target_name-name or IP address of the target host.