Machine-translated by Google. Questions are authored in English.
Top

Discussion

Consider the following statements:

(i) Address Resolution Protocol (ARP) provides a mapping from an IP address to the corresponding hardware (link-layer) address.
(ii) A single TCP segment from a sender S to a receiver R cannot carry both data from S to R and acknowledgement for a segment from R to S.

Which ONE of the following is CORRECT?

  • A.Both (i) and (ii) are TRUE
  • B.(i) is TRUE and (ii) is FALSE
  • C.(i) is FALSE and (ii) is TRUE
  • D.Both (i) and (ii) are FALSE

Answer: B

(i) is TRUE and (ii) is FALSE.

(i) ARP takes an IP address on the local network and returns the corresponding link-layer (MAC) address, by broadcasting a request and receiving a unicast reply. That is exactly the mapping described.

(ii) TCP is full duplex, and every segment carries an acknowledgement number field. A segment from S to R can carry data for R and, with the ACK flag set, acknowledge data received from R at the same time. This is piggybacking, and it is the normal case in a two-way exchange. So (ii) is false.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.