Download presentation
Presentation is loading. Please wait.
Published byRudolph Harrington Modified over 6 years ago
1
COMPUTER NETWORKS CS610 Lecture-28 Hammad Khalid Khan
2
Review Lecture 27 Protocol Addresses and Packet Delivery
Address Resolution Address Resolution Techniques Table Lookup Closed-Form Computation Dynamic Message Exchange
3
Address Resolution Techniques
4
Address Resolution Protocol
TCP/IP can use any of the three address resolution method depending on the addressing scheme used by the underlying hardware To guarantee that all computers agree on the exact format and meaning of message used to resolve addresses, the TCP/IP protocol suite includes an Address Resolution Protocol (ARP)
5
Address Resolution Protocol
The ARP standard defines two basic message types: Request Contains an IP address and requests the corresponding hardware address Response Contains both the IP address sent in the request and the hardware address
6
ARP Message Delivery
7
ARP Message Format Although the ARP message format is sufficiently general to allow arbitrary protocol and hardware addresses: ARP almost always used to bind a 32-bit IP address to a 48-bit Ethernet address
8
ARP Message Format
9
Sending An ARP Message When one computer sends an ARP message to another, the message travels inside the hardware frame. Technically, placing a message inside a frame for transport is called encapsulation.
10
Sending An ARP Message
11
Identifying ARP responses
How does a computer know whether an incoming frame contains an ARP message? The type field in the frame header specifies that the frame contains an ARP message. The Ethernet standard species that the type field in an Ethernet frame carrying an ARP message must contain the hexadecimal value 0x806.
12
Identifying ARP responses
13
Caching ARP Responses Although message exchange can be used to bind addresses, sending a request for each binding is hopelessly inefficient. To reduce network traffic, ARP software extracts and saves the information from a response so it can be used for subsequent packets. ARP manages the Table as a cache short term storage.
14
Processing an incoming ARP Message
When an ARP message arrives, the protocol specifies that the receiver must perform two basic steps: First, the receiver extracts the sender’s address binding and checks to see if it is present in the cache. If not, it updates the cache.
15
Processing an incoming ARP Message
The receiver examines the operation field of the message to determine whether the message is a request or a response. If the message is a request, the receiver compares the field TARGET PADDR with the local protocol address. If the two are identical, the computer is the target of the request and must send an ARP response.
16
Layering, Address Resolution, Protocol Addresses
Address resolution (ARP) is a network interface layer function. Protocol addresses used in all higher layers. Hides ugly details and allows generality in upper layers.
17
Layering, Address Resolution, Protocol Addresses
18
Summary Address Resolution Protocol ARP Message Delivery & Format
Identifying and Caching ARP Responces Layering, Address Resolution, Protocol Addresses
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.