CRC(Cyclic Redundancy Checking): Check 후 error 발견되면 frame is simply dropped
Ethernet frame is sent from one to another, it is the 48-bit Ehternet address that determines the destination
ARP Table
IP address: 10.125.65.1
MAC address: 64 9e .. ..
-> manage this info for some period(usually 20 minutes) -> memory unit cache
Type: Dynamic(ARP cache)
ARP: Protocol used to do address resolution in the TCP/IP protocol suite(RFC826-IETF)
ARP provides a dynamic mapping from IP address to MAC address/Ethernet address
Manual mapping -> update가 필요하고, tedious함. -> Dynamic mapping 필요
Dynamic mapping
Any network layer protocol
Supported protocol in data-link layer
Need data-link with broadcasting capability
Old computer -> No secondary storage(HDD, USB, ..) -> We cannot save on IP address permanently
ARP packet
ARP packet's data
ARP Request
ARP Reply
Incapsulation in Ethernet Frame
ARP Request/Reply Format
- Hardware type: 1(Ethernet)
- Protocol type: 0x0800(IP)
- Hardware length: 6bytes(For ethernet)
- Protocol length: 4bytes(For IP)
- ARP operation: 1(Request), 2(Reply), 3,4(RARP Request, Reply)
ARP Request/Reply example
How to determine MAC address of B given B's IP address?
Each IP node(Host, Router) on LAN has ARP table.
ARP table: IP/MAC address mappings for some LAN nodes
<IP address;MAC address;TTL>
Case 1. Host와 Receiver이 모두 same network(LAN)
Case 2. LAN의 Host가 another network의 다른 Receiver에게 전송
Case 3. Host와 Receiver이 모두 another network(LAN)
Case 4. another network의 Host가 LAN의 Receiver에게 전송
The efficient operation of ARP needs the maintenance of a cache on each host.
ARP replies are often boradcast so that all hosts can update their caches.