rhel/centos vs. ubuntu (possibly other debian-based systems) linux in handling duplicate ips in the same subnet

Posted by johnshen64 on Server Fault See other posts from Server Fault or by johnshen64
Published on 2011-11-19T00:23:53Z Indexed on 2011/11/19 1:54 UTC
Read the original article Hit count: 429

Filed under:
|
|
|
|

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.

© Server Fault or respective owner

Related posts about linux

Related posts about ubuntu