Howto: Linux send a gratuitous Arps requests

Source: Internet
Author: User

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,

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

From: http://www.cyberciti.biz/faq/linux-networking-sending-gratuitous-arps/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.