Ping and Traceroute
Ping: Used to test
- destination reachability,
- compute round trip time
- count the # of hops to destination
- may provide record route option. Sample output:
Reply from 164.107.144.3: 48 bytes in 47 msec. TTL: 253
Traceroute: Exploit TTL and ICMP
- Send the packet with time-to-live = 1 (hop)
- The first router discards the packet and sends an ICMP “time-to-live exceeded message”
- Send the packet with time-to-live = 2 (hops) etc…
- Does not use optional features like record route