07-16-2014 08:38 AM - edited 03-07-2019 08:05 PM
Can any one please tell me what is Gratuitous ARP.. ?
07-16-2014 11:18 AM
It's a crafted ARP packet where the host sends out an ARP for it's own IP address. This will check for Duplicate IPs on the network.
07-16-2014 03:34 PM
I do not agree that gratuitous arp is when you arp for your own address. I do agree that arp for your own address is a valid thing to do if you want to check for possible duplicate address. But that is not gratuitous arp.
We normally think of arp in terms of some device sends an arp request and the device will send an arp response. Gratuitous arp is when a device will send an arp reply that is not a response to a request. Depending on the particular IP stack, some devices will send gratiutous arp when they boot up, which announces their presence to the rest of the network. Many devices will send an arp response (gratuitous arp) if you change the IP address of the interface.
HTH
Rick
07-17-2014 04:41 AM
Thanks Richard for your answers...helps me a lot..
04-29-2015 10:31 AM
In a fail over context for instance HSRP, VRRP etc.. the GARP update the ARP table on all the switches that falls on the same broadcast domain. But no changes to end user or the domain outside to the current broadcast where the fail over occurred.
03-02-2015 05:29 PM
This is incorrect.
Gratuitous ARPs can be either requests or replies depending on implementation, but from sampling a large network, they are usually requests.
Specifically they are a request or a reply where the sender IP and target IP fields are the same and are the address of the transmitter.
Receiving systems will then associate the sender IP with the sender MAC.
01-29-2018 12:44 PM
I agree 100%, I am seeing them in my wireshark as we speak :)
07-17-2014 04:42 AM
Thanks for your reply
04-13-2015 06:07 PM
Gratuitous ARP is a sort of "advance notification", it updates the ARP cache of other systems before they ask for it (no ARP request) or to update outdated information.
When talking about gratuitous ARP, the packets are actually special ARP request packets, not ARP reply packets as one would perhaps expect. Some reasons for this are explained in RFC 5227.
The gratuitous ARP packet has the following characteristics:
ff:ff:ff:ff:ff:ff
) Gratuitous ARP is used for some reasons:
As for the second part of your question, HSRP, VRRP etc. use gratuitous ARP to update the MAC address tables on L2 devices (switches). Also there is the option to use the burned-in MAC address for HSRP instead of the "virtual"one. In that case the gratuitous ARP would also update the ARP tables on L3 devices/hosts.
HTH,
Paul
07-13-2015 12:44 PM
Great explanation. Really easy to understand. You should write some cert prep books.
07-14-2015 10:59 AM
I am glad that you found this discussion helpful. For a while I was a certified Cisco instructor and taught a variety of Cisco classes. I enjoy sharing what I have learned with others in the networking field and these forums are a way for me to continue to do this now that I am not in the classroom very much.
HTH
Rick
04-12-2023 07:10 PM
Your answer has helped so many people, thank you for sharing
12-13-2015 04:06 AM
Thanks, Paul.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide