How to solve the Access Denied error when setting the ARP table in Window7

Source: Internet
Author: User


Window7: an Access Denied error occurs when setting the ARP table. In Windows, the command for setting the ARP table item is arp-s <ip> <mac>. However, this command cannot specify an interface to add. Windows will select one for you. This is obviously not acceptable. The command for adding an ARP table entry to an interface is arp-s <ip> <mac> <interface-ip>, and the last one is the ip address of the interface. However, an Access Denied error occurs after you try it. Shit !!! Www.2cto.com seems to have changed the setting method in Windows. The correct method is as follows: netsh interface ipv4 add neighbors "Local Area Connection" inetaddr MAC for example: netsh interface ipv4 add neighbors "Local Area Connection" 192.168.0.1 00-24-01-d2-3a-bd where "Local Area Connection" is your Interface name rather than the IP address. Run the following command to obtain the Interface Name: netsh interface show interface author srzhz.

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.