Computer Networking Basics

Which correctly describes the role of ARP?

  1. AIt finds the MAC address of a device on the same network from its IP address
  2. BIt finds a server's IP address from its domain name
  3. CIt automatically assigns IP addresses to devices that join the network
Show answer and explanation

Answer: A. It finds the MAC address of a device on the same network from its IP address

In ARP (Address Resolution Protocol), the host that wants to send broadcasts a request saying "whoever has this IP address, tell me your MAC address," and only the matching device replies with its MAC address by unicast. The resulting mapping is kept in the ARP cache for a while and reused. Because Ethernet delivers frames by MAC address, this mapping is needed before an IP packet can be sent. Finding an IP address from a domain name is the job of DNS, and assigning IP addresses automatically is the job of DHCP. IPv6 uses ICMPv6 Neighbor Discovery (NDP) instead of ARP.

  • A. Correct. It maps IP addresses to MAC addresses.
  • B. That is the role of DNS.
  • C. That is the role of DHCP.
Practice this topic Back to topic

Related calculators

Books on Computer Networking Basics Ad

As an Amazon Associate I earn from qualifying purchases.

More Computer Networking Basics questions

  1. A host (192.168.1.10/24, default gateway 192.168.1.1) sends a packet to server 203.0.113.80 on a different network. With an empty ARP cache, whose MAC address does the host look up with ARP?
  2. A router's routing table has four routes: 0.0.0.0/0 (next hop router A), 10.0.0.0/8 (router B), 10.1.0.0/16 (router C) and 10.1.2.0/24 (router D). To which router is a packet for 10.1.5.9 sent?
  3. What is the role of the TTL (Time To Live) field in the IPv4 header?
  4. Which correctly describes dynamic routing?
  5. Which correctly describes UDP?