I have two pi's - and they both get the same IP address. I can't have them on the network at the same time. I thought that DHCP made that impossible.
I only found out last night when powered up both, used the ip address from ifconfig on one and trying to sftp to it from one to the other ended up trashing the files completely:
1) Pi 1 was on - had the files
2) pi 2 then was booted up, I ran ifconfig to check the ip address
3) on pi 1 sftp [email protected]
4) put <files.*>
What then happened is that it rattled through all the files from pi1 and ended up with them all at zero bytes long on pi1; nothing on pi2.
ifconfig on pi1 showed the same ip address as showed on pi2.
I was thinking of looking to see if my router allowed static IP address by mac address to allocate specific, different addresses. Is there a better way?