Docsity

Address Resolution Techniques - Computer Network - Lecture Slides, Slides of Computer Networks

Partial preview of the text

Download Address Resolution Techniques - Computer Network - Lecture Slides and more Slides Computer Networks in PDF only on Docsity!

COMPUTER

NETWORKS

Lecture-

Review Lecture 27

Protocol Addresses and Packet Delivery

Address Resolution

Address Resolution Techniques

Table Lookup Closed-Form Computation Dynamic Message Exchange

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)

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

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

ARP Message Format

Sending An ARP Message

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. Docsity.com

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. Docsity.com

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.

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.

Layering, Address

Resolution, Protocol

Addresses