The traceroute is a function which traces the path from one network to another. TRACERT diagnostic utility determines the route to a destination by sending Internet Control Message Protocol (ICMP) echo packets to the destination.
In these packets, TRACERT uses varying IP Time-To-Live (TTL) values.
Following is a example of the tracert command and its output, the packet travels through two routers (184.108.40.206 and 220.127.116.11) to get to host 18.104.22.168
In example, the default gateway is 22.214.171.124 and the IP address of the router on the 12.1.0. network is at 126.96.36.199.
The output from the command: