Question

    Which of the following protocols is used for resolving IP

    addresses to MAC addresses in a network?
    A DHCP Correct Answer Incorrect Answer
    B ARP Correct Answer Incorrect Answer
    C ICMP Correct Answer Incorrect Answer
    D DNS Correct Answer Incorrect Answer
    E FTP Correct Answer Incorrect Answer

    Solution

    The Address Resolution Protocol (ARP) is used to map an IP address to a MAC address within a local area network (LAN). It operates at the Network Layer (Layer 3) and communicates with the Data Link Layer (Layer 2) to retrieve the physical address of the destination device. When a device wants to send data to another device within the same network, it broadcasts an ARP request to resolve the MAC address corresponding to the known IP address. Why Other Options Are Incorrect:

    •  DHCP: Dynamic Host Configuration Protocol assigns IP addresses dynamically to devices but does not resolve IP to MAC addresses.
    •  ICMP: Internet Control Message Protocol is used for diagnostic purposes, such as ping tests, and does not handle address resolution.
    •  DNS: The Domain Name System resolves domain names (e.g., www.example.com ) to IP addresses, not MAC addresses.
    •  FTP: File Transfer Protocol is an application layer protocol for transferring files, unrelated to address resolution.

    Practice Next