[Dnsmasq-discuss] DHCPv6 client DUID

Suresh Ramamurthy sureshr.hasvik at gmail.com
Thu May 14 19:43:36 BST 2015


Hi

I am trying support IPv6 in our product.

We are using dnsmasq and we wanted to use Stateful DHCPv6. In order to do
it, I would create a mapping between DUID and IPv6 address in dhcphosts.txt
on the server that runs dnsmasq. So that when dhcpv6 client request an IP,
dnsmasq can return the static IP. i tried this in my setup and things
worked perfectly.

But, the problem is DUID does not get generated until the VM/host is up.
So, only choice is to read the DUID once the VM/host is up and then create
the mapping in dhcphosts.txt file. But, this would delay VM/host getting an
IP address.

So, is there is any other way to get the DUID before Vm/host is up or is it
ok to regenerate it so that we can prepopulate the mapping in dhcphosts.txt
file.

Is there any other way to support stateful dhcp.

thanks
Suresh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20150514/6e09fedf/attachment.html>


More information about the Dnsmasq-discuss mailing list