Open In App

GATE | GATE CS 2019 | Question 38

Like Article
Like
Save Article
Save
Share
Report issue
Report

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


Last Updated : 26 Feb, 2019
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads