none
Static ARP entry addition failure

    Question

  • When I try to add a static ARP entry for default gateway:

    arp -s 192.168.1.1 00-11-22-33-44-55 192.168.1.3, it fails with the following message:

    The ARP entry addition failed: 5

     

    For every other IP it works. Clearing ARP cache doesn't help, sometimes it even throws another buggy message: The ARP entry deletion failed: 87

     

    How can I work safely in Vista if I can't protect myself from simple ARP spoofing? Looking forward to solution.

     

    With WinXP arp works w/o any problems.

    Monday, May 07, 2007 7:56 PM

Answers

  • Here is another way to solve your problem.

    since arp -d and arp -s does not work propely under vista, even you have been under admin control.

     

    instead of using arp command, you can use the netsh.exe to achieve the same things, ie binding you some Ip with Mac

    doing the following step

     

    step1: type cmd then ctrl + shift + enter to get admin privilege

    step2: I am assuming that you want to bind you default gateway's ip with its mac. so just get the mac address of that,

              normally it could be find under web entry eg http://192.168.0.1 or have a look at you device mannual.

    step3: in the cmd windows, type

    netsh -c "interface ipv4"

    this command is going to enter the the configuration context under interface ipv4, then you will see the prompty become like 'netsh interface ipv4>'

    step4: type --> set neighbors "Connection_name" "A.B.C.D" "XX-XX-XX-XX-XX-XX"

    where Connection_name could be. eg, in english version of vista, it is normally be

    "Local Area Connection"

    A.B.C.D is the ip address that you want to bind

    XX-XX-....-XX-XX is the MAC address associate with A.B.C.D

    after you done this , you can check it wil arp -a, and you can see that it has be statically bind A.B.C.D to the XX-...-XX

     

    actually, netsh is a rather powerful tools, it could be used to handle any network configuration in command line.

     

    Friday, September 28, 2007 1:44 PM

All replies

  • Does anyone know how to fix this. Its really pissing me off this whole operating system pisses me off
    Thursday, August 16, 2007 7:35 AM
  •  

    Same problem here. Cannot find any solutions.
    Monday, September 10, 2007 2:52 PM
  • I had the same problem - I did a 'diagnose -> repair' on the affected interface after which I could add the static entires.

     

    Geoff

    -- 

     

    Friday, September 21, 2007 7:12 PM
  •  

    I am running Vista Home Premium, and this is happening in my built-in wireless interface.  I tried Status -> diagnose -> Reset (could not find diagnose -> repair) and it did not solve the problem.  Elsewhere I have seen it reported that this happens after resuming from hibernation, and that this will be fixed by shutting down and rebooting.  Those same reports also say that this was a problem in Win/98 and Win/Me, but it is not a problem in 2000 or XP.

     

    Another sign that Vista is still pre-beta.  It is garbage.

     

    Monday, September 24, 2007 12:19 PM
  • i'm running home premium edition. a reset of the interface gives me a window to add the entries to arp cache. but if i wait too long, so that vista starts to build up the cache by itself, then i have to reset interface once again before i can add.

     

    Thursday, September 27, 2007 8:23 PM
  • Here is another way to solve your problem.

    since arp -d and arp -s does not work propely under vista, even you have been under admin control.

     

    instead of using arp command, you can use the netsh.exe to achieve the same things, ie binding you some Ip with Mac

    doing the following step

     

    step1: type cmd then ctrl + shift + enter to get admin privilege

    step2: I am assuming that you want to bind you default gateway's ip with its mac. so just get the mac address of that,

              normally it could be find under web entry eg http://192.168.0.1 or have a look at you device mannual.

    step3: in the cmd windows, type

    netsh -c "interface ipv4"

    this command is going to enter the the configuration context under interface ipv4, then you will see the prompty become like 'netsh interface ipv4>'

    step4: type --> set neighbors "Connection_name" "A.B.C.D" "XX-XX-XX-XX-XX-XX"

    where Connection_name could be. eg, in english version of vista, it is normally be

    "Local Area Connection"

    A.B.C.D is the ip address that you want to bind

    XX-XX-....-XX-XX is the MAC address associate with A.B.C.D

    after you done this , you can check it wil arp -a, and you can see that it has be statically bind A.B.C.D to the XX-...-XX

     

    actually, netsh is a rather powerful tools, it could be used to handle any network configuration in command line.

     

    Friday, September 28, 2007 1:44 PM
  • I am getting "the filename, directory name, or volume label syntax is incorrect" error message when trying to do this. i have double cheked the ip address of my router and its mac address. the same entry im trying to add as staic is showing up dynamic, would this affect what im doing? thanks.
    Saturday, October 20, 2007 7:35 PM
  • Here's a great index of ARP-related stuff, including commands and codes on different OS's up to and including XP - not Vista, sadly (the only other result that came from googling "the arp entry deletion failed: 87")
    http://www.beginningtoseethelight.org/arp/index.php


    also a couple good microsoft sites from this google search:
    http://www.google.com/search?hl=en&q=%22arp+entry+deletion+failed%22&btnG=Search
    (two of the first there include this form page and the beginningtoseelight page, lol)

    Hope this is helpful.
    Tuesday, October 30, 2007 11:43 PM
  • really helped.

     

    Atleast one problem taken over

     

    Wednesday, February 20, 2008 6:45 PM
  •  shx99717 wrote:

    Here is another way to solve your problem.

    since arp -d and arp -s does not work propely under vista, even you have been under admin control.

     

    instead of using arp command, you can use the netsh.exe to achieve the same things, ie binding you some Ip with Mac

    doing the following step

     

    step1: type cmd then ctrl + shift + enter to get admin privilege

    step2: I am assuming that you want to bind you default gateway's ip with its mac. so just get the mac address of that,

              normally it could be find under web entry eg http://192.168.0.1 or have a look at you device mannual.

    step3: in the cmd windows, type

    netsh -c "interface ipv4"

    this command is going to enter the the configuration context under interface ipv4, then you will see the prompty become like 'netsh interface ipv4>'

    step4: type --> set neighbors "Connection_name" "A.B.C.D" "XX-XX-XX-XX-XX-XX"

    where Connection_name could be. eg, in english version of vista, it is normally be

    "Local Area Connection"

    A.B.C.D is the ip address that you want to bind

    XX-XX-....-XX-XX is the MAC address associate with A.B.C.D

    after you done this , you can check it wil arp -a, and you can see that it has be statically bind A.B.C.D to the XX-...-XX

     

    actually, netsh is a rather powerful tools, it could be used to handle any network configuration in command line.

     



    Thanks this fixed it !!!

    Monday, June 09, 2008 8:08 PM
  •  

    I found elevating to administrator helps.  For vista type cmd in start menu search field and press ctrl-shift-enter(shortcut to go to admin priveledges).  Then all my arp commands work.  I thought I was already at admin, but I find out you must elevate to administrator first.
    Wednesday, November 12, 2008 6:13 AM
  • Same issue in Win7.  Was getting duplicate MAC entries for the network gateway and our firewall (default route on that switch).  Was unable to use "arp" commands to set a static entry, but the "netsh" commands here did the trick! THANKS!
    Tuesday, March 23, 2010 8:41 PM