Professional Documents
Culture Documents
1
Logical Addresses
• The logical addresses in the TCP/IP are called IP address and are
32 bits long
2
Physical Addresses
3
Translation
4
Static Mapping
5
Dynamic Mapping
6
ARP and RARP
7
Position of ARP and RARP in TCP/IP
Protocol Suite
8
ARP Operations
9
Then, ARP request message is broadcast by
the physical layer
• For example: in Ethernet, MAC header’s
destination address is all 1s (broadcast address)
• Received by every station on the physical
network
The intended recipient send back an ARP
reply message
• ARP reply message packet is unicast
10
11
ARP Packet
12
Packet Format
13
Packet Format (Cont…)
14
Packet Format (Cont…)
15
Packet Format (Cont…)
16
Encapsulation of ARP Packet
18
Operations (Conti..)
19
Four Cases of ARP
20
Case 1:
21
Case 2:
22
Case 3: the sender is a router and received a datagram
destined for a host on another network
• Router check its routing table
• Find the IP address of the next router
• Use ARP to find the next router’s physical address
23
Case 3:
24
Case 4:
26
Note that
• The IP addresses are shown in hexadecimal 27
Reply from B to A
28
Proxy ARP
29
Example
30
31
RARP
32
RARP Operations
34
RARP Packet
35
Encapsulations of RARP Packet
36
Alternative Solutions to RARP
37