cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2194
Views
4
Helpful
4
Replies

Gratuitous ARP - Works like a normal ARP request?

akhran1974
Level 1
Level 1

I understand that when a host receives an arp request packet, and the IP address to be resolved is not for this host, then the arp request packet will be discarded. The arp cache will not be updated since a host will update its ARP cache, only if the ARP request is for its IP address.

I have read that gratuitous arp request is used for updating the old arp mapping in hosts / switches. Since the IP address to be resolved in the gratuitous arp request packet is the IP address of the sender itself, why would the receiving hosts update their arp cache since the arp request is not for their IP addresses?

Thanks.

1 Accepted Solution

Accepted Solutions

David

The link provided by Arun is helpful. I would take a different approach about one aspect of what it discusses. It discusses what it lists as Gratuitous Reguest in which a host sends an ARP request for its own IP address. I would argue that is is not gratuitous. In my understanding gratuitous implies that it is unsolicited. Sending an ARP request for your own address is not unsolicited and is a common behavior to detect IP address duplication.

Other than that point I find the article to he helpful.

I would offer one clarification which might be helpful: your question is phrased in terms of ARP requests and how hosts discard requests which are not for their own address. And this is true. But a Gratuitous ARP (as most of us understand the term) is an ARP response not a request. When a host sends a Gratuitous ARP it is sending an ARP response which announces its IP address and its MAC. Most hosts listen to ARP responses and process them.

HTH

Rick

HTH

Rick

View solution in original post

4 Replies 4

s.arunkumar
Level 3
Level 3

This will clear ur doubt.. :)

http://wiki.ethereal.com/Gratuitous_ARP

arun

David

The link provided by Arun is helpful. I would take a different approach about one aspect of what it discusses. It discusses what it lists as Gratuitous Reguest in which a host sends an ARP request for its own IP address. I would argue that is is not gratuitous. In my understanding gratuitous implies that it is unsolicited. Sending an ARP request for your own address is not unsolicited and is a common behavior to detect IP address duplication.

Other than that point I find the article to he helpful.

I would offer one clarification which might be helpful: your question is phrased in terms of ARP requests and how hosts discard requests which are not for their own address. And this is true. But a Gratuitous ARP (as most of us understand the term) is an ARP response not a request. When a host sends a Gratuitous ARP it is sending an ARP response which announces its IP address and its MAC. Most hosts listen to ARP responses and process them.

HTH

Rick

HTH

Rick

Hi rick,

I always think that gratuitous arp means sending its own ip in arp!!! This another aspect is new to me.It was very helpfull.Thanks and deserves rating.

regards,

shri :)

Shri

I am glad that my answer was helpful to you. And thanks for the rating.

It has been my understanding that Gratuitous ARP was an unsolicited ARP message. Unsolicited makes sense for a response (who sends an answer without being asked the question) but not so much for the request.

HTH

Rick

HTH

Rick
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card