Skip to content

GATE CS 2019 Q29 — Concept of Layering: OSI and TCP/IP Protocol Stacks

Explain with AI

Suppose that in an IP-over-Ethernet network, a machine X wishes to find the MAC address of another machine Y  in its subnet. Which one of the following techniques can be used for this?

Choose one option
View worked solution

Answer: C

To find the MAC address of machine YY in the same subnet, machine XX uses the Address Resolution Protocol (ARP). The process works as follows:

  1. Direct Communication: Since machine YY is in the same subnet as XX, the local gateway is not involved. XX can communicate with YY directly. This eliminates Options A and B.
  2. Layer 2 Broadcast: Because XX does not know YY's MAC address, it must broadcast the ARP request so that all hosts in the local subnet receive it. This is achieved by encapsulating the ARP request in an Ethernet frame with the destination MAC address set to the broadcast MAC address (FF:FF:FF:FF:FF:FF). Thus, Option C is correct.
  3. No IP Broadcast: ARP packets are encapsulated directly inside Ethernet frames (Data Link Layer) and do not use an IP header. The target IP address field inside the ARP payload is set to YY's specific unicast IP address, not a broadcast IP address. This eliminates Option D.

Therefore, XX sends an ARP request packet with the broadcast MAC address in its local subnet.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Concept of Layering: OSI and TCP/IP Protocol Stacks questions