Address Resolution Protocol ARP - PowerPoint PPT Presentation

1 / 10
About This Presentation
Title:

Address Resolution Protocol ARP

Description:

Address Resolution Protocol (ARP) What is ARP? ARP is a protocol ... The upper 5 layers use IP address. The lower two layers use MAC address. Why ARP is needed? ... – PowerPoint PPT presentation

Number of Views:44
Avg rating:3.0/5.0
Slides: 11
Provided by: alpha5Cs
Category:
Tags: arp | address | computer | ip | is | my | protocol | resolution | what

less

Transcript and Presenter's Notes

Title: Address Resolution Protocol ARP


1
Address Resolution Protocol (ARP)
2
What is ARP?
  • ARP is a protocol
  • used by the Internet Protocol (IP) network layer
    protocol
  • to find the physical address of a target on the
    same physical network when the host has only the
    IP address of the target

3
Software network address and hardware network
address
Software Network Address
1. Network address managed by a network protocol
Example(1) IP address in Internet Protocol
(2) computer name in Microsoft
NetBEUI
2. Network address can be changed through OS
Hardware Network Address
  • Network address hardwired in each NIC
  • (assigned at a factory)

Example Ethernet MAC address
2. Can not be changed
4
(No Transcript)
5
Why ARP is needed?
  • NIC can understand ONLY hardware network address

6
How ARP works?
  • Host A wants to send data to host B
  • Host A knows IP address of B (but not MAC address
    of B)

7
(No Transcript)
8
ARP Packet Format
  • Hardware type 1 for Ethernet
  • Protocol type 0x0800 for IP
  • HLEN length of hardware address, 6 for Ethernet
  • PLEN length of protocol address, 4 for IP

9
ARP Packet Format (continued)
  • Operation
  • 1 for ARP request
  • 2 for ARP reply
  • 3 for RARP request
  • 4 for RARP reply

10
ARP Cache
  • ARP cache entry lt IP address MAC address TTLgt
  • All hosts that receive the broadcast ARP request
    extract and store the hardware address
    corresponding to the IP address of the sender
  • The sender stores the hardware address when it
    receives an ARP reply from the target
  • A timeout is provide for each entry in the ARP
    cache. Normally 20 minutes
  • The timeout for an entry restarts each time the
    entry is used
Write a Comment
User Comments (0)
About PowerShow.com