rhel/centos vs. ubuntu (possibly other debian-based systems) linux in handling duplicate ips in the same subnet
- by johnshen64
This has bothered me for quite a while but I never found out why or how to change the behavior.
ip duplicates could be caused by typos or dhcp errors etc., but they do occur from time to time.
in rpm-based systems such as centos, the old server with the duplicate ip wins, and the new server will get an error in bringing up the nic (ip address already used). this is somewhat harmless because we can just fix the system that is coming up.
ubuntu only the other hand happily grabs the used ip for itself and leave the old server/device without a valid ip. this is the more dangerous behavior because it causes outages.
what i want is to change the ubuntu behavior to that of the centos/rhel so would appreciate any help.