DHCP gives out same IP address to two clients

Paul B. Henson henson at acm.org
Thu Jan 9 21:48:38 UTC 2014

> From: perl-list
> Sent: Thursday, January 09, 2014 6:56 AM
> After reading that bit again, i'm not sure that it actually does what I said :)  It
> doesn't seem to match your situation where you have two different mac and
> same UID.  In any case ... 4.3.0a1 if you want to test...

We originally developed that patch for some labs that dual-boot windows/linux. Windows would not release the lease on shutdown, and when linux came up either without a uuid or a different one, the box would get a different IP address. We didn't really want to double allocate, so we added a feature to ignore the uiid, so each OS on the same box would use the same IP address.

For the OP case, IIRC, he has two boxes that for some reason have the same uuid, and hence are getting the same IP address. In this scenario, the feature to ignore the uuid will allocate leases based on the mac, which is presumably different, resulting in each box getting a different IP address.

So I think it would work for him…

More information about the dhcp-users mailing list