Traceroute is a method of sending a packet and tracing the packet from its starting to ending location and showing each of the hops required to get to that location. An example of a program capable of doing this is tracert used in Microsoft Windows and other operating systems.
Example of a traceroute
Below is an example of a traceroute done using the Windows command line command tracert and each of the hops that are made to get to the Computer Hope server (computerhope.com). In this example, there are IPv6 addresses and hostnames on lines 2 and 3.
tracert computerhope.com Tracing route to computerhope.com [2400:cb00:2048:1::6814:3876] over a maximum of 30 hops: 1 1 ms 1 ms 2 ms 2601:671:8280:1820:2e85:69ff:fe9b:3639 2 10 ms 11 ms 9 ms po-101.sandy.ut.utah.comcast.net [2001:558:102:2060::1] 3 9 ms 9 ms 9 ms be-5-ar01.saltlakecity.ut.utah.comcast.net [2001:558:100:22::1] 4 9 ms 9 ms 9 ms 2001:558:fe0b:a::a 5 14 ms 9 ms 8 ms 2400:cb00:2048:1::6814:3876 Trace complete.