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 (18.104.22.168 and 22.214.171.124) to get to host 126.96.36.199
In example, the default gateway is 188.8.131.52 and the IP address of the router on the 12.1.0. network is at 184.108.40.206.
The output from the command: