Send ARP Broadcast
Posted by Rakesh Labra on 05 June 2009 11:59 AM

To send an ARP broadcast which updates neighbours arp tables, enter the following command:

arping -q -A -c 1 -I eth0

Replace eth0 with the interface on which to broadcast and with the IP address on the interface for which to broadcast.

When sending out such a broadcast, the packet as shown in tcpdump will be as follows:

15:17:56.386449 0:0:21:f6:f8:27 ff:ff:ff:ff:ff:ff 42: arp reply is-at 0:0:21:f6:f8:27
(353 vote(s))
Not helpful

Comments (1)
Rahul Jitwan
27 January 2012 05:56 PM
to add on above post,
if we use -A, it means "Gratuitous ARP reply frames". Here,a machine announces its ownership of an IP
address on a media segment.

to avoid such situation, we must use -U option which is "Unsolicited ARP request frames".