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?
View worked solution
Answer: C
To find the MAC address of machine in the same subnet, machine uses the Address Resolution Protocol (ARP). The process works as follows:
- Direct Communication: Since machine is in the same subnet as , the local gateway is not involved. can communicate with directly. This eliminates Options A and B.
- Layer 2 Broadcast: Because does not know '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. - 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 's specific unicast IP address, not a broadcast IP address. This eliminates Option D.
Therefore, sends an ARP request packet with the broadcast MAC address in its local subnet.
Free practice · Your answers on this page are not saved.
