2. Say how the receiver can safely find and process all the ICMP fields if it does not know ahead of
time what kind of ICMP message to expect. The potential issue, as you have probably noticed, is
that different ICMP messages can have different formats. For instance, Echo has Sequence and
Identifier fields while TTL Exceeded does not.
3. How long is the ICMP header of a TTL Exceeded packet? Select different parts of the header in
4. The ICMP payload contains an IP header. What is the TTL value in this header? Explain why it has
this value. Guess what it will be before you look!
Turn–in: Hand in your drawing of an ICMP TTL Exceeded packet and the answers to the questions above.
Step 4: Internet Paths
The source and destination IP addresses in an IP packet denote the endpoints of an Internet path, not
the IP routers on the network path the packet travels from the source to the destination. traceroute
is a utility for discovering this path. It works by eliciting ICMP TTL Exceeded responses from the router 1
hop away from the source towards the destination, then 2 hops away from the source, then 3 hops, and
so forth until the destination is reached. The responses will identify the IP address of the router. The
output from traceroute normally prints the information for one hop per line, including the meas-
By looking at the details of the packets, answer the following questions:
1. How does your computer (the source) learn the IP address of a router along the path from a TTL
exceeded packet? Say where on this packet the IP address is found. You might proceed by look-
2. How many times is each router along the path probed by traceroute? Look at the TTL Ex-
3. How does your computer (the source) craft an echo request packet to find (by eliciting a TTL Ex-
ceeded response) the router N hops along the path towards the destination? Describe the key at-