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"