1.1 Addressing Resolution Protocol (ARP)
1.1 Addressing Resolution Protocol (ARP)
Index
● Introduction
● Addressing and subnetting
● Routing
● ARP
● IP header
● ICMP protocol
● DHCP protocol
● NAT mechanism
● RIP dynamic routing
● Security notions
Network
DATA Source port
It is known which application we
application Destination port
want to dialogue
Transport Source @IP
Destination @IP It is known which host we want to
dialogue
Network
Source @MAC
Destination @MAC
Network
interface FRAME It is not known what is the number
of the destination card of the plot
FRAME
FRAME in
broadcast
FRAME
ARP Table of R1
duration
Datagram waiting
Datagram waiting
R1 ARP Table
duration
Contains the @IP-@MAC
resolution of PC3
PC3 ARP Table
duration
Address Resolution Protocol
● The router can finally take the waiting datagram, encapsulate it in a frame with
destination PC3 and send it
duration
➔ Same thing
➔ PC1 checks if it has the @MAC of 10.0.0.1 (gateway to PC5) in the ARP table
◆ If it already has it from previous resolutions, it encapsulates the frame and sends
◆ If it does not have it, ARP request and wait for the ARP reply with the response
◆ Encapsulates the datagram in the frame and transmits to router R1
➔ R1 receives the frame, removes the frame header, moves the datagram to its other
network, and checks if it has the @MAC of 10.0.2.2 in its ARP table
◆ If it already has it from previous resolutions, it encapsulates the frame and sends
◆ If it does not have it, ARP request and wait for the ARP reply with the response
◆ Encapsulates the datagram in the frame and transmits to router R2
➔ R2 receives the frame, removes the frame header, moves the datagram to its other
network, and checks if it has the @MAC of 10.0.3.30 (final destination) in your ARP table
◆ If it already has it from previous resolutions, it encapsulates the frame and sends
◆ If it does not have it, ARP request and wait for the ARP reply with the response
◆ Encapsulates the datagram in the frame and transmits to PC5
● Gratuitous ARP
○ A host sends a broadcast ARP request in this way