Question:

Node X has a TCP connection open to node Y. The packets from X to Y go through an intermediate IP router R. Ethernet switch S is the first switch on the network path between X and R. Consider a packet sent from X to Y over this connection. Which of the following statements is/are TRUE about the destination IP and MAC addresses on this packet at the time it leaves X?

Show Hint

In a TCP/IP network, the IP address indicates the final destination, while the MAC address is updated for each hop to represent the next device on the path.
Updated On: Jan 23, 2025
  • The destination IP address is the IP address of R.
  • The destination IP address is the IP address of Y.
  • The destination MAC address is the MAC address of S.
  • The destination MAC address is the MAC address of Y.
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is B

Solution and Explanation

In a TCP/IP packet, the destination IP address remains constant and always points to the final destination node, which in this case is \(Y\). Hence, the destination IP address is the IP address of \(Y\), making Option (B) correct.
The MAC address, however, is updated at every hop and points to the next device in the path. When the packet leaves \(X\), the destination MAC address is set to the MAC address of \(R\) (the next-hop router), not \(S\) or \(Y\).
Therefore, Option (B) is correct. Final Answer: \[ \boxed{\text{(B)}} \]
Was this answer helpful?
0
0

Top Questions on Indexed Address

View More Questions

Questions Asked in GATE CS exam

View More Questions