GATE | GATE CS 2019 | Question 38

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?

(A) X sends an ARP request packet with broadcast IP address in its local subnet
(B) X sends an ARP request packet to the local gateway’s MAC address which then finds the MAC address of Y and sends to X
(C) X sends an ARP request packet with broadcast MAC address in its local subnet
(D) X sends an ARP request packet to the local gateway’s IP address which then finds the MAC address of Y and sends to X


Answer: (C)

Explanation: If a machine X wants to find the MAC address of Y then it will send ARP packet. Since it is used for discovering physical address associated with the given network address.

X will send a broadcast message to all host in its network with an intended IP address. This message will be discarded by every host except the one with the intended IP address. Now the receiver will unicast a packet with MAC address (ARP reply).

So, option (C) is correct.


Quiz of this Question



My Personal Notes arrow_drop_up


Article Tags :

Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.