Address Resolution Protocol Explained: How IP Meets MAC
SkillVeris Team
Cloud & Security Team

Address Resolution Protocol (ARP) discovers the MAC address associated with a known IP address on a local network, bridging the network layer and the data link layer.
In this guide, you'll learn:
- A device broadcasts an ARP request asking who has a given IP address, and the device that owns it replies directly with its MAC address.
- Devices cache ARP results in an ARP table for a limited time to avoid repeating the same lookup for every packet sent.
- ARP has no built-in authentication, which makes ARP spoofing possible - an attacker tricking a network into associating their MAC address with someone else's IP address.
- Defenses against ARP-based attacks include static ARP entries for critical systems, dynamic ARP inspection on managed switches, and network segmentation.
1What Is Address Resolution Protocol?
Address Resolution Protocol, or ARP, is the mechanism that maps a known IP address to the MAC address of the device that owns it on a local network. It exists because IP addresses operate at the network layer while the actual delivery of data on a local network happens using MAC addresses at the data link layer.
Without ARP, a device would know it needs to send data to a certain IP address but would have no way to figure out which physical device on the local network that address corresponds to.
2How ARP Works, Step by Step
ARP works through a simple broadcast-and-reply exchange whenever a device needs to send data to an IP address it hasn't recently communicated with.
- The sending device broadcasts an ARP request to every device on the local network, asking "who has this IP address?"
- Every device on the network receives the broadcast, but only the device that owns that IP address responds.
- The owning device replies directly to the requester with its MAC address.
- The requesting device stores this mapping and can now send data directly to the correct physical device.
3The ARP Cache: Why Devices Don't Ask Every Time
Repeating a broadcast request for every single packet would be wasteful, so devices store recent IP-to-MAC mappings in a local ARP cache (or ARP table) for a limited time.
Entries expire after a timeout period, at which point the device performs a fresh ARP request if it needs to reach that IP address again - this balances efficiency against the risk of using an outdated mapping.
4ARP Spoofing: The Main Security Risk
ARP was designed without any authentication, meaning any device on a local network can claim to own any IP address, and other devices generally have no way to verify that claim. This design gap enables ARP spoofing (also called ARP poisoning), where an attacker sends forged ARP replies to associate their own MAC address with another device's IP address.
The practical effect is that traffic meant for a legitimate device - such as a network's default gateway - can be silently redirected through the attacker's machine, letting them observe or interfere with that traffic. This is precisely why ARP is worth understanding defensively, so network administrators can recognize and prevent this class of attack rather than fall victim to it.
💡
5Defending Against ARP-Based Attacks
Several practical defenses reduce the risk that ARP's lack of authentication can be exploited on a network.
- Static ARP entries: manually fixing the IP-to-MAC mapping for critical systems like the default gateway, so spoofed replies are ignored.
- Dynamic ARP inspection: a feature on managed switches that validates ARP packets against a trusted list before forwarding them.
- Network segmentation: limiting the size of a local network segment reduces how much traffic any single spoofing attempt can intercept.
- Monitoring tools: software that watches for suspicious or duplicate ARP replies and alerts administrators.
6Why ARP Is Worth Understanding
ARP runs silently in the background of nearly every local network interaction, from loading a webpage to streaming video, which makes it a foundational concept for anyone studying computer networks or network security.
Learning how ARP, IP addressing, and MAC addressing fit together gives a much clearer mental model of how data actually moves across a network, which is essential groundwork before tackling more advanced networking and security topics.
Related Reading
Get The Print Version
Download a PDF of this article for offline reading.
About the Publisher
SkillVeris Team
Cloud & Security Team
Our cloud and security experts break down complex infrastructure topics into practical, beginner-friendly guides.
View all postsRelated Posts
Never miss an update
Get the latest tutorials and guides delivered to your inbox.
No spam. Unsubscribe anytime.