0

So I'm trying to create a static ARP Entry with the ip and MAC Address of my router. I'm currently using admin command prompt and the command arp -s [ip] [mac address], but it isn't working. Every time I check the table with arp -a, I just see the ip and mac address under an interface (there are two) with type dynamic. How do I set up the static entry? Also, can anyone clear up to me what the interfaces are? (I'm kind of a tech noob lol) Edit: To clarify, this is windows 10

Here are some pictures:

https://i.stack.imgur.com/BsEg7.png

https://i.stack.imgur.com/xDF5d.png

Ryan Ding
  • 1
  • 1

2 Answers2

-1

Try Netsh -c interface ipv4 add neighbours "your connection type" "your ip" "Mac address of your router" store=persistent

-2

I'm not sure about the arp -s command, but I am doing it using /etc/ethers file
I've put static entries like these :

root@r2w:~# cat /etc/ethers  
b4:2e:99:1b:60:97 193.355.204.2 

and then doing arp -f /etc/ethers
which replaces arp table with those manual entries

bocian85
  • 822
  • 5
  • 10