I did an experiment to check if Linux will send the gratuitous ARP or ARP probe before using the target IP.
The experiment scenario is as follows:
There are two Linux computers, both connected to the same AP. I connected the one first and used ifconfig wlan0 192.168.1.30
(which is another Linux computer's default IP address) to set the IP address statically.
Then I use WPA_supplicant to connect the other one, and use dhclient wlan0
to get the IP address. From sniffer, I didn't observe any gratuitous ARP or ARP probe sent from the second computer.
Just wondering under what condition, will linux computer send these two ARP request? Since under the same condition, I observe that my windows computer will send the ARP Probe to solicit the IP.
Thanks