Run cmd directly, run arp-d *, arp-s The following error message appears:
ARP Entry deletion failed: The requested operation requires elevation.
ARP entry added failed: Access denied. or hint: theARP entry failed to add : The requested operation requires elevation.
(English version hint: the ARP entry addition Failed:access is denied. )
How to solve it?
Run arp-d * need to run as administrator, go to the Windows\System32 folder to find Cmd.exe, right-click "Run as Administrator", so open the CMD program can run the arp-d command. However, it is still not possible to run Arp-s for static Mac binding, presumably Win7 disable this command, need to use the Netsh command.
The specific approach is:
1. Run First: Netsh i i show in Find the network card in use IDX number
2, then run: netsh-c i i add neighbors one 192.168.1.1 00-21-27-bc-89-48 can be bound, here 11 is the IDX number.
Using arp-d on Win7 and Vista does not completely remove bindings
Must use
Netsh-c "I i" delete neighbors idx (idx changed to corresponding number)
To remove the MAC address bindings
The same error will occur in Vista!
C:\users\sink>arp-a
Interface: 10.200.52.186---0xa
Internet Address Physical Address type
10.200.53.254 00-04-38-87-F2-0C News
10.200.53.255 ff-ff-ff-ff-ff-ff Static
C:\users\sink>arp-s 10.200.53.254 00-04-38-87-f2-0c
ARP entry added failed: 5
C:\users\sink>netsh I i show in
IDX Met MTU Status Name
--- --- ----- ----------- -------------------
1 4294967295 connected Loopback Pseudo-Interface 1
Connected Local Connection
C:\users\sink>netsh-c "I i" Add Neighbors "10.200.53.254" "00-04-38-87-f2-0c"
Netsh-c "I i" add neighbors local connection idx "Gateway IP" "Gateway Mac"
C:\users\sink>arp-a
Interface: 10.200.52.186---0xa
Internet Address Physical Address type
10.200.53.60 00-16-D4-F5-B7-2E News
10.200.53.254 00-04-38-87-f2-0c Static
10.200.53.255 ff-ff-ff-ff-ff-ff Static
Solutions
0. Use the arp-a command to view the physical address of the Gateway's MAC network card
1. Use the netsh i i show in command to view the IDX number of a local connection
2. Use netsh-c "I i" add neighbors local connection idx "Gateway IP" "Gateway Mac" command binding
3. Use Arp-a to view results
Win7 ARP command Run failure resolution