0% found this document useful (0 votes)
56 views19 pages

Address Resolution Protocol (ARP)

The document discusses Address Resolution Protocol (ARP), which maps logical IP addresses to physical hardware addresses to allow communication within a local area network (LAN). It describes static and dynamic address mapping and focuses on ARP, which dynamically maps addresses by broadcasting ARP requests and receiving unicast ARP replies. It provides examples of ARP request and reply packet encapsulation and the ARP process of resolving addresses from an incoming IP datagram.

Uploaded by

Jagdeep Singh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
56 views19 pages

Address Resolution Protocol (ARP)

The document discusses Address Resolution Protocol (ARP), which maps logical IP addresses to physical hardware addresses to allow communication within a local area network (LAN). It describes static and dynamic address mapping and focuses on ARP, which dynamically maps addresses by broadcasting ARP requests and receiving unicast ARP replies. It provides examples of ARP request and reply packet encapsulation and the ARP process of resolving addresses from an incoming IP datagram.

Uploaded by

Jagdeep Singh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 19

Chapter 8

Address Resolution
Protocol
(ARP)
ADDRESS MAPPING

The delivery of a packet to a host or a router requires


two levels of addressing: logical and physical. We need
to be able to map a logical address to its corresponding
physical address and vice versa. This can be done by
using either static or dynamic mapping.

Topics discussed in this section:


Mapping Logical to Physical Address
Mapping Physical to Logical Address
Static Mapping

Creating a table that associates a logical address with a


physical address.

Limitations:

1. A machine could change its NIC.


2. In some LANs, such as LocalTalk, the physical
address changes every time the computer is turned
on.
3. A computer move from one network to another.
Dynamic Mapping

Protocol is used to find the physical address


from the logical address
ARP operation
ARP packet
Encapsulation of ARP packet
Four cases using ARP
Note

An ARP request is broadcast;


an ARP reply is unicast.
Example
A host with IP address 130.23.43.20 and physical address
B2:34:55:10:22:10 has a packet to send to another host
with IP address 130.23.43.25 and physical address
A4:6E:F4:59:83:AB. The two hosts are on the same
Ethernet network. Show the ARP request and reply
packets encapsulated in Ethernet frames.

Solution
Figure 21.5 shows the ARP request and reply packets.
Note that the ARP data field in this case is 28 bytes, and
that the individual addresses do not fit in the 4-byte
boundary. That is why we do not show the regular 4-byte
boundaries for these addresses.
Figure, an ARP request and reply
Figure Proxy ARP
ARP Components
Example
Example

The ARP output module receives an IP datagram


(from the IP layer) with the destination address
114.5.7.89. It checks the cache table and finds that
an entry exists for this destination with the
RESOLVED state. It extracts the hardware
address, which is 457342ACAE32, and sends the
packet and the address to the data link layer for the
transmission and cache table remains the same
Example
Example
Example
Example

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy