[Dnsmasq-discuss] Dnsmasq-discuss Digest, Vol 120, Issue 14

Suresh Ramamurthy sureshr.hasvik at gmail.com
Fri May 15 22:33:51 BST 2015


Hi Simon,

Thanks for your quick response. I will test it and get back to you if I
have any questions...

thanks,
Suresh


>
> ------------------------------
>
> Message: 5
> Date: Thu, 14 May 2015 21:38:29 +0100
> From: Simon Kelley <simon at thekelleys.org.uk>
> To: dnsmasq-discuss at lists.thekelleys.org.uk
> Subject: Re: [Dnsmasq-discuss] DHCPv6 client DUID
> Message-ID: <555507C5.9060205 at thekelleys.org.uk>
> Content-Type: text/plain; charset=windows-1252
>
> On 14/05/15 19:43, Suresh Ramamurthy wrote:
> > 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.
>
>
> This is almost a DHCPv6 FAQ. The designers of DHCPv6 ignored a common
> use-case of host provisioning when they replaced the MAC address with
> the DUID.
>
> The current version of dnsmasq jumps through some nasty hoops to find
> the MAC  address of DHCPv6 clients, and therefore allows you to identify
> them by MAC address, just like DHCPv4 clients; no nasty DUIDs needed.
>
>
>
> Cheers,
>
> Simon.
>
> >
> > thanks
> > Suresh
> >
> >
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20150515/0c7c8e87/attachment.html>


More information about the Dnsmasq-discuss mailing list