How Traceroute Works

  • ICMP Time Exceeded messages are used by the traceroute program to determine the path used to deliver a datagram
  • a series of IP packets/datagrams are sent to the destination node
  • each packet/datagram has an increasing TTL field (starting at 1)

Commands

1. example use
traceroute google.com

‘*’ field in output depicts that the required field could not be fetched. The reason can be anything from reverse DNS lookup failure to packets not hitting the target router to packets getting lost on their way back.

2. prevent hostnames being displayed, only display ip addresses
traceroute google.com -n