<div dir="ltr">Hi <div><br></div><div>I am trying support IPv6 in our product. </div><div><br></div><div>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.</div><div><br></div><div>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. </div><div><br></div><div>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.</div><div><br></div><div>Is there any other way to support stateful dhcp.</div><div><br></div><div>thanks</div><div>Suresh</div></div>