Windows 7: Static ARP Blues
I have Windows 7 Home Premium running on a Dell Studio 1555 Laptop. I wish to create a static ARP entry for my default gateway on the LAN to protect against Man-in-the-middle attacks.
I use the following command from the 'administrator level' CMD command prompt:
C:\Windows\system32> netsh interface ipv4 add neighbors "Local Area Connection" "172.19.0.1" "xx-xx-xx-xx-xx-xx"
The command completes successfully. In fact I do get a static entry for the default gateway listed in the output of :
arp -a
However, within a very short time, the static ARP entry is relegated back to the 'dynamic' type in the output of arp -s.
Please suggest a working solution to create static ARP entries which sticks across system reboots.
Thanks.
April 18th, 2010 1:24pm
Hi,
I would like to share you the following articles to create a static ARP entry.
Static ARP entry addition failure
ARP Caching
Thanks,
Novak
Free Windows Admin Tool Kit Click here and download it now
April 23rd, 2010 4:32am
Sorry to revive this, but I have a very similar problem.
In the good old days of XP these commands worked like a dream:
arp -s 192.168.1.6 00-04-a3-00-a9-f9
arp -s 192.168.1.7 00-04-a3-00-a9-f9
Under Windows 7 this is no longer possible, so I have tried to revert to using netsh but it doesn't work?!
e.g.
netsh interface ip delete arpcache
netsh interface ipv4 add neighbors "Local Area Connection" 192.168.1.6 00-04-a3-00-a9-f9
arp -a
Results in "No entries found"
A minute or so later "arp -a" will result in:
Interface: 192.168.11.6 --- 0xc
Internet Address Physical Address Type
192.168.11.1 00-16-01-b0-4c-9a dynamic
Anyone have any ideas what is going on, or how I can troubleshoot it?
Sincerest thanks in advance
Joe.
April 17th, 2011 8:43am