ARP: Difference between revisions

214 bytes added ,  4 years ago
 
 
(6 intermediate revisions by the same user not shown)
Line 1:
[[Category:Basics]]
 
= Basics =
 
* Address Resolution Protocol (ARP) is a protocol for mapping an IP address to a physical machine address(MAC).
 
=ARP Header=
Line 14 ⟶ 18:
| colspan="16"| Operation ( 1 for request; 2 for reply)
|-
| colspan="16" style="background:#f0fff0"| SourceSender MAC Address
|-
| colspan="16" style="background:#d0ffd0"| SourceSender IP Address
|-
| colspan="16" style="background:#f0f0ff"| DestTarget MAC Address
|-
| colspan="16" style="background:#d0d0ff"| DestTarget IP Address
|}
</center>
 
[[File:Arp2.png|center]]
 
= RARP =
Line 32 ⟶ 38:
 
=Gratuitous ARP=
 
[[File:GARP.png|center]]
 
*Sender IP Address and Target IP Address are both same as the Source IP address
*Destination MAC in Ethernet frame is the broadcast address ff:ff:ff:ff:ff:ff.