Here is what I do and what happens :
- Let assume I have a device A with IP X.X.X.200 connected to the network
- I use Nmap to ping my local network, with the command "nmap --send-ip -sP 192.168.1.1/24"
- Look at the arp table using "arp -a", the device A is displayed with his MAC, no problem
- Now I change manually the IP for A, I set the static IP to X.X.X.201
- I use the same Nmap command "nmap --send-ip -sP 192.168.1.1/24"
- Look at the arp table with "arp -a", and then A appears 2 times. One for IP X.X.X.200 and one for IP X.X.X.201
So the Nmap command did not refresh the IP X.X.X.200, that means it does not really ping all IPs. Because if I ping manually X.X.X.200, then it would get no response and disappear from the arp table.
So I would like to know how to use this tool, to really refresh an re-populate the arp table.