traceroute is a diagnostic tool used to determine the path that network packets take from your system to a specified host. It shows all intermediate nodes (routers) along the way and the response time from each of them.
Home page: https://traceroute.sourceforge.net/