Address: http://pg54321.blog.163.com/blog/static/14332471320115792530550/
Symptom:Run cmd directly under win7 and run arp-d * or arp-s. the following error message is displayed: ARP entry deletion failed: the operation needs to be upgraded. ARP entry addition failed: Access denied. Or an error occurred while adding ARP entries: the requested operation must be upgraded. (The ARP entry addition failed: Access is denied .)
Solution:Run arp-d * as an administrator. Go to the windows \ system32 folder and find cmd.exe. Right-click "Run as administrator" to open the cmd program and run the arp-d command. However, you still cannot run arp-s for static mac binding. You need to use the netsh command.
Procedure:1. Run netsh I show in to find the idx Number of the network adapter in use 2, and then run netsh-c I add neighbors 11 192.168.1.1 00-21-27-bc-89-48 to bind the network adapter, here 11 is the idx number. Using arp-d on Windows 7 and Vista does not completely delete the binding. netsh-c "I" delete neighbors IDX is required (IDX is changed to the corresponding number) to delete the MAC address. The arp-s command bound to the MAC address also produces the same error in Vista. C: \ Users \ sink> arp-A interface: 10.200.52.186 --- 0 xaInternet address physical address type 10.200.53.254 00-04-38-87-f2-0c dynamic 10.200.53.255 ff-ff static C: \ Users \ sink> arp-s 10.200.53.254 00-04-38-87-f2-0cARP addition failed: 5 C: \ Users \ sink> netsh I show inIdx Met MTU status name --- ----- --------------------------- 1 50 4294967295 connected Loopback Pseudo do-Interface 110 20 1500 connected local connection C: \ Users \ sink> netsh-c "I" add neighbors 10 "10.200.53.254" "00-04-38-87-f2-0c" Note: netsh-c "I" add neighbors local connection idx "gateway IP" "Gateway mac" C: \ Users \ sink> arp-A interface: 10.200.52.186 --- 0 xaInternet address physical address type 10.200.53.60 00-16-d4-f5-b7-2e dynamic 10.200.53.254 00-04-38-87-f2-0c static 10.200.53.255 ff-static ff
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. Run netsh-c "I" add bind the idx "gateway IP" "Gateway mac" command locally connected to neighbors. 4. Use arp-a to view the result.