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

Configuration Guide - IP Service

S7700 and S9700 V200R013C00

This document describes the configurations of IP service, including IP address, ARP, DHCP, DNS, mDNS gateway, mDNS relay, UDP Helper, IP performance optimization, IPv6, DHCPv6, IPv6 DNS, IPv6 over IPv4 tunnel and IPv4 over IPv6 tunnel.
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).
Configuring ARP-Ping

Configuring ARP-Ping

Context

  • ARP-Ping IP

    ARP-Ping IP checks whether an IP address is being used by another device on a LAN by sending ARP packets.

    The ping command can also do this. However, if the device already using the IP address is forbidden to respond to ping packets because of a firewall, the ping command will not discover that the IP address is already in use. The ARP-Ping IP feature resolves this problem by sending ARP Request packets, that are not blocked by the firewall.

  • ARP-Ping MAC

    When you know a specific MAC address but not the corresponding IP address on a network segment, you can use ARP-Ping MAC to obtain the IP address through an ICMP packet (Layer 3).

Procedure

  • Run the arp-ping ip ip-address [ timeout time-out-value ] [ interface interface-type interface-number ] command to check whether the IP address is being used through an ARP packet in the LAN. If the IP address is being used, you can query the MAC address corresponding to the IP address.

    • If the following information is displayed, the IP address is not used.

      <HUAWEI> arp-ping ip 10.1.1.2
       ARP-Pinging 10.1.1.2:
      
      Error: Request timed out.
      Error: Request timed out.
      Error: Request timed out.
      Info: The IP address is not used by anyone!
    • If the following information is displayed, the IP address is being used.

      <HUAWEI> arp-ping ip 10.1.1.1
       ARP-Pinging 10.1.1.1:
      10.1.1.1 is used by 00e0-517d-f202       

  • Run the arp-ping mac mac-address { ip-address [ vpn-instance vpn-instance-name ] | interface interface-type interface-number[.subinterface-number ] } command to check whether the MAC address is being used. If the MAC address is used, you can query the IP address corresponding to the MAC address.

    • If the following information is displayed, the MAC address is not being used.

      <HUAWEI> arp-ping mac 00e0-517d-f201 interface gigabitethernet 1/0/1
        OutInterface: GigabitEthernet1/0/1 MAC[00-E0-51-7D-F2-01], press CTRL_C to break
      Error: Request timed out.
      Error: Request timed out.
      Error: Request timed out.
      
          ----- ARP-Ping MAC statistics -----
          3 packet(s) transmitted
          0 packet(s) received
          MAC[00-E0-51-7D-F2-01]  not be used
    • If the following information is displayed, the MAC address is being used.

      <HUAWEI> arp-ping mac 00e0-517d-f202 interface gigabitethernet 1/0/1
        OutInterface: GigabitEthernet1/0/1 MAC[00-E0-51-7D-F2-02], press CTRL_C to break
          ----- ARP-Ping MAC statistics -----
          1 packet(s) transmitted
          1 packet(s) received
          IP ADDRESS                MAC ADDRESS
          10.1.1.1                  00-E0-51-7D-F2-02

Translation
Download
Updated: 2019-04-20

Document ID: EDOC1100065743

Views: 30086

Downloads: 31

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