What is ARP?
When two ethernet device wants to talk to each other at the data link layer, then they need to know each other’s mac address. ARP protocol helps the ethernet device to get the other ethernet device mac address.
How ARP Works?
ARP has two types of packet.
- ARP Request
- ARP Reply
With the help of two packets, the MAC address will be calculated for the given IP Address. For better clarity, I will explain the ARP protocol through lab exercise.
Disclaimer: GNS3 software is used for lab simulation and Wireshark is used for packet capture.
USE CASE 1: ARP between two nodes