SlideShare a Scribd company logo
Gratuitous ARP
Address Resolution
Protocol(ARP)
 It is protocol for mapping an Internet Protocol
address to a physical machine address that is
recognized in the local network.
 It is a low-level network protocol for translating
network layer addresses into link layer addresses.
 A table called the ARP cache, is used to maintain
a correlation between each MAC address and its
corresponding IP address.
ARP Header
 Hardware Type - this is 1 for Ethernet.
 Protocol Type - the protocol used at the network
layer.
 Hardware Address Length - this is the length in
bytes, so it would be 6 for Ethernet.
 Protocol Address Length - For TCP/IP th value
is 4 bytes.
 Operation Code - this code indicates whether the
packet is an ARP Request (1) or an ARP
Response (2).
 Senders Hardware Address - hardware address
of the source node.
 Senders Protocol Address - layer 3 address of
the source node.
 Target Hardware Address - used in a RARP
request, the response carries both the
destination's hardware and layer 3 addresses.
 Target Protocol Address - used in an ARP
request, the response carries both the
destination's hardware and layer 3 addresses.
What is Gratuitous ARP
 It occurs when a host sends an ARP request
looking for its own IP address.
 It is an Address Resolution Protocol packet where
the source and destination IP are both set to the
IP of the machine issuing the packet and the
destination MAC is the broadcast
address ff:ff:ff:ff:ff:ff.
 The Gratuitous ARP is sent as a broadcast, as a
way for a node to announce or update its IP to
MAC mapping to the entire network.
What is use of Gratuitous ARP
 It helps to detect IP conflicts. When a machine
receives an ARP request containing a source IP
that matches its own, then it knows there is an IP
conflict.
 They inform switches of the MAC address of the
machine on a given switch port, so that the switch
knows that it should transmit packets sent to that
MAC address on that switch port.
Example
Scenario 1- Case of Duplicate IP
address
PC1: IP configured with
172.16.10.10/16
PC2: Trying to use
172.16.10.10/16
PC2 is trying to use an IP 172.16.10.10 that is being utilized by PC1,
Before PC2 assigns the IP address to itself, it will generate a G-ARP to
check for duplicate IP
Scenario 1- Case of Duplicate IP
address
 PC2 received the reply from PC1 as Duplicate IP
address Detected.
 PC2 will not assigned the IP address on it’s
system.
Scenario 2- No Duplicate IP address
Assigning an IP address to an end-user, G-ARP protocol checks
for duplicate IP address and generates the below header
If there is no IP conflict , no reply will be generated and IP will be
assigned to the system.
Gratuitous Address Resolution Protocol(G-ARP)

More Related Content

PPTX
Address resolution protocol (ARP)
PDF
Deadlock in distribute system by saeed siddik
PPT
Address resolution protocol
PPT
Selective repeat protocol
PPTX
The medium access sublayer
PPTX
Arp (address resolution protocol)
PDF
TCP Vs UDP
Address resolution protocol (ARP)
Deadlock in distribute system by saeed siddik
Address resolution protocol
Selective repeat protocol
The medium access sublayer
Arp (address resolution protocol)
TCP Vs UDP

What's hot (20)

PPTX
Multicast routing
PPT
BOOTP and DHCP.ppt
PDF
CS6601 DISTRIBUTED SYSTEMS
PPTX
Flow control & error control
PPTX
PPTX
Unit 2 data link control
PPT
Routing protocols
PDF
5G Interview Questions: 50 Questions on Spectrum
PPTX
Flow Control.pptx
PDF
PPT
3. distributed file system requirements
PPT
Chapter 23
PPTX
Frame relay
PPTX
Simple Network Management Protocol
PPT
Presentation of the IEEE 802.11a MAC Layer
PPTX
Introduction to LTE
PPTX
Routing algorithms
PPTX
RPC: Remote procedure call
PPT
Application layer protocols
PPTX
Csma cd and csma-ca
Multicast routing
BOOTP and DHCP.ppt
CS6601 DISTRIBUTED SYSTEMS
Flow control & error control
Unit 2 data link control
Routing protocols
5G Interview Questions: 50 Questions on Spectrum
Flow Control.pptx
3. distributed file system requirements
Chapter 23
Frame relay
Simple Network Management Protocol
Presentation of the IEEE 802.11a MAC Layer
Introduction to LTE
Routing algorithms
RPC: Remote procedure call
Application layer protocols
Csma cd and csma-ca
Ad

Similar to Gratuitous Address Resolution Protocol(G-ARP) (20)

PPTX
MAC in the Address Resolution Protocol.pptx
PDF
Communication networks_ARP
PPT
Tcp Ip Overview
PPT
Address resolution protocol and internet control message protocol
PPTX
Presentation on arp protocol
PDF
Networking.pdf
PPT
Lecture 5 internet-protocol_assignments
PDF
Web technology and commerce unit 1
PPTX
Networking with tcp ip Proficiency.pptx
PPT
Basic networking course
PPTX
packet sniffing with Wireshark and its implementation.pptx
PDF
Lecture-3 - Introduction to IP Routing.pdf
DOCX
84486335 address-resolution-protocol-case-study
PPT
Nnnnnn
PDF
Arp config-arp
PPTX
Packet sniffingin switch lans
PPTX
Main Protocols on the network layer of OSI model
PPT
Addressing mapping protocol_ARPandRARP.ppt
DOCX
Arpwatch
PPTX
Packet sniffing in switched LANs
MAC in the Address Resolution Protocol.pptx
Communication networks_ARP
Tcp Ip Overview
Address resolution protocol and internet control message protocol
Presentation on arp protocol
Networking.pdf
Lecture 5 internet-protocol_assignments
Web technology and commerce unit 1
Networking with tcp ip Proficiency.pptx
Basic networking course
packet sniffing with Wireshark and its implementation.pptx
Lecture-3 - Introduction to IP Routing.pdf
84486335 address-resolution-protocol-case-study
Nnnnnn
Arp config-arp
Packet sniffingin switch lans
Main Protocols on the network layer of OSI model
Addressing mapping protocol_ARPandRARP.ppt
Arpwatch
Packet sniffing in switched LANs
Ad

Recently uploaded (20)

PPTX
artificialintelligenceai1-copy-210604123353.pptx
PPTX
international classification of diseases ICD-10 review PPT.pptx
PPTX
newyork.pptxirantrafgshenepalchinachinane
PPTX
Introuction about ICD -10 and ICD-11 PPT.pptx
PPTX
Mathew Digital SEO Checklist Guidlines 2025
PDF
Paper PDF World Game (s) Great Redesign.pdf
PPT
Design_with_Watersergyerge45hrbgre4top (1).ppt
PDF
An introduction to the IFRS (ISSB) Stndards.pdf
PPTX
INTERNET------BASICS-------UPDATED PPT PRESENTATION
PDF
FINAL CALL-6th International Conference on Networks & IOT (NeTIOT 2025)
PPTX
Module 1 - Cyber Law and Ethics 101.pptx
PPT
tcp ip networks nd ip layering assotred slides
PPTX
presentation_pfe-universite-molay-seltan.pptx
PPTX
innovation process that make everything different.pptx
PDF
SASE Traffic Flow - ZTNA Connector-1.pdf
PPTX
SAP Ariba Sourcing PPT for learning material
DOCX
Unit-3 cyber security network security of internet system
PDF
WebRTC in SignalWire - troubleshooting media negotiation
PDF
Introduction to the IoT system, how the IoT system works
PDF
Slides PDF The World Game (s) Eco Economic Epochs.pdf
artificialintelligenceai1-copy-210604123353.pptx
international classification of diseases ICD-10 review PPT.pptx
newyork.pptxirantrafgshenepalchinachinane
Introuction about ICD -10 and ICD-11 PPT.pptx
Mathew Digital SEO Checklist Guidlines 2025
Paper PDF World Game (s) Great Redesign.pdf
Design_with_Watersergyerge45hrbgre4top (1).ppt
An introduction to the IFRS (ISSB) Stndards.pdf
INTERNET------BASICS-------UPDATED PPT PRESENTATION
FINAL CALL-6th International Conference on Networks & IOT (NeTIOT 2025)
Module 1 - Cyber Law and Ethics 101.pptx
tcp ip networks nd ip layering assotred slides
presentation_pfe-universite-molay-seltan.pptx
innovation process that make everything different.pptx
SASE Traffic Flow - ZTNA Connector-1.pdf
SAP Ariba Sourcing PPT for learning material
Unit-3 cyber security network security of internet system
WebRTC in SignalWire - troubleshooting media negotiation
Introduction to the IoT system, how the IoT system works
Slides PDF The World Game (s) Eco Economic Epochs.pdf

Gratuitous Address Resolution Protocol(G-ARP)

  • 2. Address Resolution Protocol(ARP)  It is protocol for mapping an Internet Protocol address to a physical machine address that is recognized in the local network.  It is a low-level network protocol for translating network layer addresses into link layer addresses.  A table called the ARP cache, is used to maintain a correlation between each MAC address and its corresponding IP address.
  • 4.  Hardware Type - this is 1 for Ethernet.  Protocol Type - the protocol used at the network layer.  Hardware Address Length - this is the length in bytes, so it would be 6 for Ethernet.  Protocol Address Length - For TCP/IP th value is 4 bytes.  Operation Code - this code indicates whether the packet is an ARP Request (1) or an ARP Response (2).
  • 5.  Senders Hardware Address - hardware address of the source node.  Senders Protocol Address - layer 3 address of the source node.  Target Hardware Address - used in a RARP request, the response carries both the destination's hardware and layer 3 addresses.  Target Protocol Address - used in an ARP request, the response carries both the destination's hardware and layer 3 addresses.
  • 6. What is Gratuitous ARP  It occurs when a host sends an ARP request looking for its own IP address.  It is an Address Resolution Protocol packet where the source and destination IP are both set to the IP of the machine issuing the packet and the destination MAC is the broadcast address ff:ff:ff:ff:ff:ff.  The Gratuitous ARP is sent as a broadcast, as a way for a node to announce or update its IP to MAC mapping to the entire network.
  • 7. What is use of Gratuitous ARP  It helps to detect IP conflicts. When a machine receives an ARP request containing a source IP that matches its own, then it knows there is an IP conflict.  They inform switches of the MAC address of the machine on a given switch port, so that the switch knows that it should transmit packets sent to that MAC address on that switch port.
  • 9. Scenario 1- Case of Duplicate IP address PC1: IP configured with 172.16.10.10/16 PC2: Trying to use 172.16.10.10/16 PC2 is trying to use an IP 172.16.10.10 that is being utilized by PC1, Before PC2 assigns the IP address to itself, it will generate a G-ARP to check for duplicate IP
  • 10. Scenario 1- Case of Duplicate IP address  PC2 received the reply from PC1 as Duplicate IP address Detected.  PC2 will not assigned the IP address on it’s system.
  • 11. Scenario 2- No Duplicate IP address Assigning an IP address to an end-user, G-ARP protocol checks for duplicate IP address and generates the below header If there is no IP conflict , no reply will be generated and IP will be assigned to the system.