1 / 15

Binding Protocol Addresses (ARP )

Binding Protocol Addresses (ARP ). Resolving Addresses. Hardware only recognizes MAC addresses IP only uses IP addresses Consequence: software needed to perform translation Part of network interface Known as address resolution. Address Resolution. Layer 2 protocol Given

arnold
Download Presentation

Binding Protocol Addresses (ARP )

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Binding Protocol Addresses (ARP)

  2. Resolving Addresses • Hardware only recognizes MAC addresses • IP only uses IP addresses • Consequence: software needed to perform translation • Part of network interface • Known as address resolution

  3. Address Resolution • Layer 2 protocol • Given • A locally-connected network, N • IP address C of computer on N • Find • Hardware address for C • Technique • Address Resolution Protocol

  4. Address Resolution

  5. Address Resolution Techniques • Table Lookup • Bindings or mappings are stored in a table in the memory • Closed-form computation • The computer’s hardware address can be computed from the protocol address • Message exchange

  6. Address Resolution Protocol (ARP) • Keep bindings in table • Table entry contains pair of addresses for one computer • IP address • Hardware address • Build table automatically as needed

  7. ARP Table • Only contains entries for computers on local network • IP network prefix in all entries identical

  8. An Example of Direct Lookup for a Class C Network

  9. ARP Lookup Algorithm • Look for target IP address, T, in ARP table • If not found • Send ARP request message to T • Receive reply with T’s hardware address • Add entry to table • Return hardware address from table

  10. Illustration Of ARP Exchange • W needs Y’s hardware address • Request sent via broadcast • Reply sent via unicast

  11. ARP Message Format (For Ethernet) • Length of hardware address fields depend on network type • Ethernet uses 48-bit addresses

  12. Transmission Of ARPMessage In A Frame • ARP message sent in payload area of frame • Called encapsulation

  13. Frame Type • Frame type identifies message as ARP • Receiver examines frame type

  14. Important Note • Because ARP software is part of the network interface software, all higher-layer protocols and applications can use IP addresses exclusively, and remain completely unaware of hardware addresses.

  15. Layered Protocol Software

More Related