Re: randomly(!) assign ip's from dynamic address range
Posted by
Alex Bligh on
Jun 05, 2015; 7:09pm
URL: http://isc-dhcp-users.193.s1.nabble.com/randomly-assign-ip-s-from-dynamic-address-range-tp156p175.html
On 5 Jun 2015, at 15:05, Simon Hobson <
[hidden email]> wrote:
> Hmm, that's a variation I don't think we've seen before ;-)
> What you are seeing is correct operation according to the RFCs - the server is required to keep the address stable as far as is possible, and that means the client can come back after an arbitrary length of time and as long as the address has not been re-used then the client *must* get the same address.
> With the ISC server, addresses are allocated in the following order :
> - The address the client had previously if it is still available
> - An address which has never been issued before
> - An expired lease, picking the least recently used one
> - If there are no free leases available, then any abandoned leases are recovered and tried
> - Else - there isn't one, log "no free leases"
In practice isn't the first address allocated the one the client asks for? IE normally the client is getting
the same address because the client requests it, and it's free.
--
Alex Bligh
_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users