100% found this document useful (1 vote)
280 views2 pages

Practice Question Set ICMP With Solutions

The document discusses ICMP (Internet Control Message Protocol) and answers several questions about it: 1) The one-way time for a packet is not simply half the round-trip time because the request and response packets may travel different routes and thus encounter different transmission times in each direction. 2) An IP packet carrying an ICMP packet will have a protocol field value of 1 to indicate it is an ICMP packet. 3) A sample timestamp request is shown with the sender's clock time converted to milliseconds for inclusion in the message.

Uploaded by

Mankush Jain
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
280 views2 pages

Practice Question Set ICMP With Solutions

The document discusses ICMP (Internet Control Message Protocol) and answers several questions about it: 1) The one-way time for a packet is not simply half the round-trip time because the request and response packets may travel different routes and thus encounter different transmission times in each direction. 2) An IP packet carrying an ICMP packet will have a protocol field value of 1 to indicate it is an ICMP packet. 3) A sample timestamp request is shown with the sender's clock time converted to milliseconds for inclusion in the message.

Uploaded by

Mankush Jain
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

ICMP

Q1. Why isn't the one-way time for a packet simply the round-trip time divided by two?
The one way time is not the round trip divided by 2 because the request packet may have
traveled by a different route than the response packet. In this case, the transmission time in
one direction may be different than the transmission time in the other direction.
Q2. How can we determine if an IP packet is carrying an ICMP packet?
The value of the protocol field of an IP packet carrying an ICMP packet is 1.

Q3. A computer sends a timestamp request. If its dock shows 5:20:30 A.M. (Universal Time),
show the entries for the message.
5:20:30 AM = 5*60*60*1000 + 20*60*1000 + 30*1000 = 19,230,000 ms

Q4. A computer receives a timestamp request from another computer at 2:34:20 P.M. The
value of the original timestamp is 52,453,000. If the sender clock is 5 ms slow, what is the one-
way time?
2:34:20 PM = 52,460,000 ms
52,460,000 ms − 52,453,000 ms = 7000 ms
7000 ms + 5 ms = 7005 milliseconds

Q5. In this table given below mark tick for who sends the given ICMP packets

You might also like