Hello! I am developing an API for libvirt which exposes leases API to the users for a particular network. Since we are also planning to include support for DHCPv6, I would like to know which fields in a dhcpv6 lease are important, from a user's point of view. Example, will exposing IAID be useful to a user or not? Yes. DUID DHCP server Lease time mrjester, I am talking more in terms of info related to guests, not the dhcp server itself That is relevant to the client. The DHCP server that issues the lease. Useful for troubleshooting. and which fields are important in the leases info of the client machines? Ahh. I see. out of expirytime, mac address, iaid, client duid, ip address etc IAID, DUID, Addres, MAC wouldn't hurt, but not really relevant to DHCPv6 Could you explain a bit more on that? I mean, why is MAC irrelevant, but IAID is more relevant? MAC isn't used in the standard DHCP request. DUID is derived from the MAC but is used instead IAID indicates the interface that the request is for. There are some variants of DHCP which use the actual MAC, but that is non-standard behavior. Not invalid, just not the default. Well, currently libvirt uses dnsmasq Probably makes sense to have the MAC as well then since dnsmasq tries to do some magic with DDNS between v4 and v6. eg. Putting in DDNS entries for a SLAAC address based on the v4 address. Short version, since you are using dnsmasq, yes exposing the MAC Addr makes sense. the dnsmasq guys don't release the MAC in the lease file. We have to give the --dchp-script option to dnsmasq to extract it from environment variables. What about on the v4 side? On the v4 side, they do. or at the itnerface. Good enough I would think Shouldn't need to pull it twice. mrjester, http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2013q4/007589.html IMO, the ideal situation is that all details in the lease file are exportable via the API and you allow the consumers to decide what to request/display. By all, do you mean, the server DUID as well? Why not? While you nor I may see a use for it today, someone will probably come up with a clever use. Why not aside from the extra dev work of course. And if we are talking in present day scenario, which fields will be important for a user? Does the lease expose the DHCP options that were sent? DNS, SNTP servers Address, DUID, IAID, Expiriry, DHCP Server IP would probably be the most used today. If you have the options in the lease file, those too. mrjester, if we are taking about only the leases, then, in case of ipv4, they are : expirytime, mac address, ip address, hostname, client id and in case of ipv6, they are: server duid, expirytime, IAID, ip address, hostname, client DUID Server DUID is the only one of those that has questionable usefulness. Since it is not easily associated to a server.