ARP and RARP protocols are used to map IP addresses to MAC addresses on local area networks. ARP requests are broadcast to the network to resolve IP to MAC addresses, and ARP replies provide the requested mapping. Hosts cache ARP entries to avoid frequent address resolution, with entries expiring after 20 minutes. Proxy ARP allows a router to respond to ARP requests on behalf of hosts on different connected networks.