Openwrt ARP command Problems

Source: Internet
Author: User

The ARP command is used to view the information of MAC and IP in the router cache table. I will not talk about it much.

However, today, my colleagues can run ARP commands in the system, but the shell script shows that this command is not available. I was puzzled at the time.

Therefore, we did the following test:


1. ARP execution is correct.

2. Add a parameter:

It is still the table that outputs arp.

3. Help ARP

The following figure shows that ARP is not available.

[email protected]:~# help arpBuilt-in commands:------------------        . : [ [[ alias bg break cd chdir command continue echo eval exec        exit export false fg getopts hash help jobs kill let local printf        pwd read readonly return set shift source test times trap true        type ulimit umask unalias unset wait[email protected]:~#

4. Find.-Name/the detected ARP is located in/proc/<pid>/NET/arp, and the problem is unknown.

5. Echo $ path does not find ARP-related links in each path.


Although the ARP command was found in busybox, it was not checked. After the check, it should be fine.

So why can the system execute the ARP command when busybox is not installed?

You also need some advice.

Openwrt ARP command Problems

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.