Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 Binding Protocol Addresses (ARP ). 2 Resolving Addresses Hardware only recognizes MAC addresses IP only uses IP addresses Consequence: software needed.

Similar presentations


Presentation on theme: "1 Binding Protocol Addresses (ARP ). 2 Resolving Addresses Hardware only recognizes MAC addresses IP only uses IP addresses Consequence: software needed."— Presentation transcript:

1 1 Binding Protocol Addresses (ARP )

2 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 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 4 Address Resolution

5 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 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 7 ARP Table Only contains entries for computers on local network IP network prefix in all entries identical

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

9 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 10 Illustration Of ARP Exchange W needs Y’s hardware address Request sent via broadcast Reply sent via unicast

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

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

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

14 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 15 Layered Protocol Software


Download ppt "1 Binding Protocol Addresses (ARP ). 2 Resolving Addresses Hardware only recognizes MAC addresses IP only uses IP addresses Consequence: software needed."

Similar presentations


Ads by Google