Skip to content
Related Articles

Related Articles

GATE | GATE-CS-2005 | Question 24

Improve Article
Save Article
  • Last Updated : 14 Feb, 2018
Improve Article
Save Article

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)

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.



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

My Personal Notes arrow_drop_up
Related Articles

Start Your Coding Journey Now!