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