Win7 Arp-bound mac and IP

Source: Internet
Author: User

We all know that you can bind IP and MAC addresses directly by executing the arp-s command, but under Win7, you will encounter a situation where you cannot run Arp-s for static Mac bindings, prompting "ARP entry Add failure: Access denied." (The English version hint: the ARP entry addition Failed:access is denied.).

    • 2

      Win7 the binding IP and MAC address operation and XP are different, Win7 users need to use the Netsh command. Here's how:

      1, cmd input: netsh i i show in

    • 3

      Then find the "local connection" corresponding to the "IDX" (My Is "11", the following neighbors after the number is consistent with this. )

      2, the following in the cmd input: netsh-c "I i" Add neighbors 11 "Gateway IP" "MAC Address", here 11 is the IDX number.

      OK, get it done!

      and Arp-a see if it's already tied up?

      Similarly, using arp-d on Win7 does not remove the binding completely, you must use the netsh-c "I i" delete neighbors idx (idx to the corresponding number) to remove the MAC address binding.

      1. Use the ARP-A command to view the physical address of the Gateway's MAC network card

      2. Use the netsh i i show in command to view the IDX number of the local connection

      3, use netsh-c "I i" add neighbors local connection idx "Gateway IP" "Gateway Mac" command binding

      4. Use Arp-a to view results

Win7 Arp-bound mac and IP

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.