Send dhcp-users mailing list submissions to dhcp-users@lists.isc.org
To subscribe or unsubscribe via the World Wide Web, visit https://lists.isc.org/mailman/listinfo/dhcp-users or, via email, send a message with subject or body 'help' to dhcp-users-requ...@lists.isc.org You can reach the person managing the list at dhcp-users-ow...@lists.isc.org When replying, please edit your Subject line so it is more specific than "Re: Contents of dhcp-users digest..." Today's Topics: 1. Re: Latest lease entry not the one offered to the client (ksladic) ---------------------------------------------------------------------- Message: 1 Date: Mon, 17 Aug 2020 22:07:04 -0500 (CDT) From: ksladic <gostur...@gmail.com> To: dhcp-users@lists.isc.org Subject: Re: Latest lease entry not the one offered to the client Message-ID: <1597720024513-0.p...@n4.nabble.com> Content-Type: text/plain; charset=us-ascii Hi Simon. Thank you very much for detailed explanation. I actually thought that MAC address is unique enough to identify a client, but it obviously isn't. Since I use only one DHCP client on each interface (MAC), I think that introducing DUID (dhclient -i) will solve my problem. I should not get to a state of DHCP server thinking there are multiple clients on a single MAC. And I think client will keep its generated DUID as long as dhclient.leases is not deleted. Regarding lease file cleanup: 1. Does it remove all expired leases? 2. Does it remove duplicate leases ... keeping only last valid one? 3. In general (before or after lease file cleanup) if I would like to find the latest valid leased IP for a client, is it best to go through whole file and pick valid lease with latest timestamp? Because as I understand I can not rely on the order of leases in the file. Even if you don't have time to answer my additional questions, I really appreciate your first reply. It helped me a lot. Thanks, Klemen -- Sent from: http://isc-dhcp-users.2343191.n4.nabble.com/ ------------------------------ Subject: Digest Footer _______________________________________________ ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information. dhcp-users mailing list dhcp-users@lists.isc.org https://lists.isc.org/mailman/listinfo/dhcp-users ------------------------------ End of dhcp-users Digest, Vol 142, Issue 10 *******************************************