Windows Vista adds static ARP recording skills

  
        In Windows
we usually add static ARP records with the command "ARP -S 192.168.0.1 00-00-00-XX-00-XX", but today I try to use this on my Windows
Vista The command failed to add a static ARP record. The error returned: The ARP entry addition failed: 5 The root cause of the error was not found. In fact, netsh also has commands to add static ARP records, as follows: 1. Open a cmd (Run As Administator on Vista) 2. Run netsh -c "interface ipv4" and enter netsh's ipterface ipv4 context. Symbol: netsh interface ipv4>) 3. Run the command set neighbors “Connection_name” “ABCD” “XX-XX-XX-XX-XX-XX” 4. After running successfully, launch netsh, run arp -a, the type of the record is already Is static. As shown in the figure below, running ARP -S will prompt ARP entry failure: 5 BTW: According to my experience, the static ARP records added by Windows 2000 full series are lost after reboot, Windows
XP SP1 and pre-version static ARP are recorded in Lost after reboot. I have added them using the arp -s command on these operating systems.
Copyright © Windows knowledge All Rights Reserved