Skip to content
Related Articles

Related Articles

GATE | GATE-CS-2005 | Question 24
  • Last Updated : 14 Feb, 2018

The address resolution protocol (ARP) is used for
(A) Finding the IP address from the DNS
(B) Finding the IP address of the default gateway
(C) Finding the IP address that corresponds to a MAC address
(D) Finding the MAC address that corresponds to an IP address


Answer: (D)

Explanation:
When a packet is passed to the data link layer from network layer IP address of the sender , MAC address of the sender and the gateway of the network is attached. The MAC address of the sender is known to the sender but not the MAC address of the gateway .So ARP (Address Resolution Protocol) request is generated with the IP address of the gateway and is broadcasted ,everyone except the gateway discards it and gateway sends it’s MAC address.

sh_24

Reference:

http://www.louiewong.com/archives/196?LMCL=pchYgb&LMCL=U7nEDo&LMCL=An2_DF&LMCL=pchYgb&LMCL=An2_DF

Address Resolution Protocol (ARP) is a request and reply protocol used to find MAC address from IP address.

This solution is contributed by Shashank Shanker khare.

Quiz of this Question

sudo-gate-course

My Personal Notes arrow_drop_up
Recommended Articles
Page :