Address Resolution Protocol (ARP) : Relates To Lab 2
Address Resolution Protocol (ARP) : Relates To Lab 2
(ARP)
Relates to Lab 2.
Overview
1
ARP and RARP
• Note:
– The Internet is based on IP addresses
– Data link protocols (Ethernet, FDDI, ATM) may have
different (MAC) addresses
• The ARP and RARP protocols perform the translation
between IP addresses and MAC layer addresses
• We will discuss ARP for broadcast LANs, particularly Ethernet
LANs
2
Address Translation with ARP
ARP Request:
Argon broadcasts an ARP request to all stations on the
network: “What is the hardware address of Router137?”
ARP Reply:
Router 137 responds with an ARP Reply which contains the
hardware address
3
ARP Packet Format
Ethernet II header
6 6 2 28 10 4
* Note: The length of the address fields is determined by the corresponding address length fields
Example
4
ARP Cache
Proxy ARP
128.143.0.0/16 128.143.71.0/24
Subnet Subnet
ARP Request:
What is the MAC address
of 128.143.71.21?
ARP Reply:
The MAC address of
128.143.71.21 is
00:e0:f9:23:a8:20
10
5
Things to know about ARP
11
Vulnerabilities of ARP
1. Since ARP does not authenticate requests or replies, ARP Requests and
Replies can be forged
2. ARP is stateless: ARP Replies can be sent without a corresponding ARP
Request
3. According to the ARP protocol specification, a node receiving an ARP
packet (Request or Reply) must update its local ARP cache with the
information in the source fields, if the receiving node already has an entry
for the IP address of the source in its ARP cache. (This applies for ARP
Request packets and for ARP Reply packets)
12