On the man page:
traceroute monitors the receipt of route packets from the IP network, their path to this host
So, if you are trying to find one of the possible paths that your package might require, you will find a friend in traceroute .
Now, since the routing tables do not change every minute, packets you send are more likely to follow the same path as traceroute.
Another important point to not miss is the record route in the IP v4 header. After you indicate that you want to use this option, each router in the path will add its ip address to the parameters in the header. You can read about it here . The trap is that the recipient learns about intermediate jumps, not the source.
I see that you missed the role of icmp echo request and response messages in the traceroute description. If this was not intentional, review.
Refresh . You can see the recording route option in action by doing ping -R
ping -R Enables route recording for echo request packets and displays the route buffer on the returned packets (ignored by many routers) .
source share