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 1.2.3.4 -I eth1
The following command will send a Gratuitous ARP reply, four times, on the eth1 interface for IP address 1.2.3.4.
# arping -c 4 -A -I eth1 1.2.3.4
Where,
- -A : ARP reply
- -C 4: Send it four times
- -I eth1: Use eth1 interface
- 1.2.3.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
You should follow me on twitter here or grab rss feed to keep track of new changes.
Featured Articles:
- 30 Handy Bash Shell Aliases For Linux / Unix / Mac OS X
- Top 30 Nmap Command Examples For Sys/Network Admins
- 25 PHP Security Best Practices For Sys Admins
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- Linux: 20 Iptables Examples For New SysAdmins
- Top 20 OpenSSH Server Best Security Practices
- Top 20 Nginx WebServer Best Security Practices
- 20 Examples: Make Sure Unix / Linux Configuration Files Are Free From Syntax Errors
- 15 Greatest Open Source Terminal Applications Of 2012

- My 10 UNIX Command Line Mistakes
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- The Novice Guide To Buying A Linux Laptop










![Screen Command: Set Baud Rate [ Terminal Communication ]](http://s0.cyberciti.org/uploads/faq/2013/02/screen-baud-rate-output-150x150.jpg)


{ 0 comments… add one now }