No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Feature Description - LAN Access and MAN Access 01

NE05E and NE08E V300R003C10SPC500

This is NE05E and NE08E V300R003C10SPC500 Feature Description - LAN Access and MAN Access
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
ARP-Ping

ARP-Ping

Principles

ARP-Ping is classified as ARP-Ping IP or ARP-Ping MAC and is used to maintain a network on which Layer 2 features are deployed. ARP-Ping uses ARP messages to detect whether an IP or MAC address to be configured for a device is in use.

  • ARP-Ping IP

    Before configuring an IP address for a device, check whether the IP address is being used by another device. Generally, the ping operation can be used to check whether an IP address is being used. However, if a firewall is configured for the device using the IP address and the firewall is configured not to respond to ping messages, the IP address may be mistakenly considered available. To resolve this problem, use the ARP-Ping IP feature. ARP messages are Layer 2 protocol messages and, in most cases, can pass through a firewall configured not to respond to ping messages.

  • ARP-Ping MAC

    The host's MAC address is the fixed address of the network adapter on the host. It does not normally need to be configured manually; however, there are exceptions. For example, if a device has multiple interfaces and the manufacturer does not specify MAC addresses for these interfaces, the MAC addresses must be configured, or a virtual MAC address must be configured for a VRRP backup group. Before configuring a MAC address, use the ARP-Ping MAC feature to check whether the MAC address is being used by another device.

Related Concepts

  • ARP-Ping IP

    A device obtains the specified IP address and outbound interface number from the configuration management plane, saves them to the buffer, constructs an ARP request message, and broadcasts the message on the outbound interface. If the device does not receive an ARP reply message within a specified period, the device displays a message indicating that the IP address is not being used by another device. If the device receives an ARP reply message, the device compares the source IP address in the ARP reply message with the IP address stored in the buffer. If the two IP addresses are the same, the device displays the source MAC address in the ARP reply message and displays a message indicating that the IP address is being used by another device.

  • ARP-Ping MAC

    The ARP-Ping MAC process is similar to the ping process but ARP-Ping MAC is applicable only to directly connected Ethernet LANs or Layer 2 Ethernet virtual private networks (VPNs). A device obtains the specified MAC address and outbound interface number (optional) from the configuration management plane, constructs an Internet Control Message Protocol (ICMP) Echo Request message, and broadcasts the message on all outbound interfaces. If the device does not receive an ICMP Echo Reply message within a specified period, the device displays a message indicating that the MAC address is not being used by another device. If the device receives an ICMP Echo Reply message within a specified period, the device compares the source MAC address in the message with the MAC address stored on the device. If the two MAC addresses are the same, the device displays the source IP address in the ICMP Echo Reply message and displays a message indicating that the MAC address is being used by another device.

Implementation

  • ARP-Ping IP implementation

    Figure 2-11 ARP-Ping IP implementation

    As shown in Figure 2-11, Device A uses ARP-Ping IP to check whether IP address 10.1.1.2 is being used. After Device A receives an ARP reply message from Host A with IP address 10.1.1.2, Device A displays the MAC address of Host A along with a message indicating that the IP address is in use by another host.

    The ARP-Ping IP implementation process is as follows:

    1. After IP address 10.1.1.2 is specified using a command line on Device A, Device A broadcasts an ARP request message and starts a timer for ARP reply messages

    2. After Host A on the same LAN receives the ARP request message, Host A finds that the destination IP address in the message is the same as its own IP address and sends an ARP reply message to Device A.

    3. After Device A receives the ARP reply message, Device A compares the source IP address in the message with the IP address specified in the command line.
      • If the two IP addresses are the same, Device A displays the source MAC address in the message and displays a message indicating that the IP address is being used by another host. Meanwhile, Device A stops the timer for ARP reply messages.
      • If the two IP addresses are different, Device A discards the ARP reply message and displays a message indicating that the IP address is not being used by another host.

      If Device A does not receive any ARP reply messages before the ARP reply message timer expires, it displays a message indicating that the IP address is not being used by another host.

    NOTE:
    A device cannot allow the arp-ping ip command to ping its own IP address, whereas the ping command allows this function.
  • ARP-Ping MAC implementation

    Figure 2-12 ARP-Ping MAC implementation

    As shown in Figure 2-12, Device A uses ARP-Ping MAC to check whether MAC address 0013-46E7-2EF5 is being used by another host. After receiving ICMP Echo Reply messages from all hosts on the network, Device A displays the IP address of the host with the MAC address 0013-46E7-2EF5 and displays a message indicating that the MAC address is being used by another host.

    The ARP-Ping MAC implementation process is as follows:

    1. After MAC address 0013-46E7-2EF5 is specified using a command line on Device A, Device A broadcasts an ICMP Echo Request message and starts a timer for ICMP Echo Reply messages.

    2. After receiving the ICMP Echo Request message, all the other hosts on the same LAN send ICMP Echo Reply messages to Device A.

    3. After Device A receives an ICMP Echo Reply message from a host, Device A compares the source MAC address in the message with the MAC address specified in the command line.
      • If the two MAC addresses are the same, Device A displays the source IP address in the ICMP Echo Reply message and displays a message indicating that the MAC address is being used by another host. Meanwhile, Device A stops the timer for ICMP Echo Reply messages.
      • If the two MAC addresses are different, Device A discards the ICMP Echo Reply message and displays a message indicating that the MAC address is not being used by another host.

      If Device A does not receive any ICMP Echo Reply messages before the ICMP Echo Reply message timer expires, it displays a message indicating that the MAC address is not being used by another host.

Usage Scenario

ARP-Ping applies to directly connected Ethernet LANs or Layer 2 Ethernet VPNs.

Benefits

ARP-Ping checks whether an IP or MAC address to be configured is being used by another device, preventing address conflict.

Translation
Download
Updated: 2019-01-14

Document ID: EDOC1100058932

Views: 7430

Downloads: 11

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next