When an IP address or MAC address is bound under Win7, the system prompts "ARP entry addition failed: Access Denied

Source: Internet
Author: User

We all know that You can bind an IP address and a MAC address directly by running the arp-s command. However, if you cannot run arp-s to bind a static mac address in Win7, the system prompts "ARP entry addition failed: access denied." (The ARP entry addition failed: Access is denied .).

Binding IP addresses and MAC addresses in Windows 7 differs from XP. At this time, Windows 7 users need to use the netsh command. The procedure is as follows:

1. Enter netsh I show in CMD.


Then find the "Idx" corresponding to "Local Connection" (my name is "11", and the numbers following neighbors are the same as here .)

2. Enter netsh-c "I" add neighbors 11 "gateway IP" "Mac address" in CMD. Here 11 is the idx number.

OK!

Arp-a again to see if it has been bound?

Similarly, arp-d on Windows 7 cannot be used to completely delete the binding. netsh-c "I" delete neighbors IDX must be used (IDX is changed to the corresponding number) to delete the MAC address binding.

Summary:

1. Run the arp-a command to view the physical address of the MAC Nic of the gateway.

2. Run the netsh I show in command to view the idx number of the local connection.

3. Use the netsh-c "I" add neighbors command to bind the local connection idx "gateway IP" and "Gateway mac ".

4. Use arp-a to view the result

Author "watching the wheat field"

Related Article

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.