HowTo: Linux Send a Gratuitous ARPs Requests [ Networking ]

by on December 3, 2010 · 1 comment· LAST UPDATED December 3, 2010


How do I send gratuitous ARPs under Linux? How do I tell my DUMMY router that the IP is over here now, under Linux operating systems?

You can use the arping command to send a gratuitous reply using the -A option. arping can send ARP REQUEST to a neighbor host:
# arping -U {IP-HERE} -I {Interface-Name-HERE}
# arping -A -c {Number} -I {Interface-Name-HERE}
# arping -U -I eth1

The following command will send a Gratuitous ARP reply, four times, on the eth1 interface for IP address
# arping -c 4 -A -I eth1


  1. -A : ARP reply
  2. -C 4: Send it four times
  3. -I eth1: Use eth1 interface
  4. Replace this with your actual IP address.

Finally, use the arp command to verify the same:
# arp -a

=> Related: Router ARP Cache is Not Releasing Linux / UNIX Server IP address

Tweet itFacebook itG+ itDownload PDF versionFound an error/typo on this page?

{ 1 comment… read it below or add one }

1 ALERTA May 1, 2014 at 3:49 am

The difference between -A and -U options are not explained. So why talikng about?


Leave a Comment

Tagged as: , , , , , , , , , , , , , ,

Previous Faq:

Next Faq: