[Dnsmasq-discuss] dhcpv6 duid gen
Simon Kelley
simon at thekelleys.org.uk
Thu Mar 1 11:16:19 GMT 2012
On 29/02/12 23:26, Vladislav Grishenko wrote:
> Little additions:
>
>> Allowing to specify from options would be useful too, eg. for multiple
>> dnsmasq instances
>
> Per RFC3315 "A DHCP client that generates a DUID-LLT using this (using sort
^^^^^^^
> of time source) mechanism MUST provide an administrative interface that
> replaces the existing DUID with a newly-generated DUID-LLT."
>
>
>> Hmm, I wonder if
>> "stop dnsmasq, edit /var/lib/misc/dnsmasq.leases, start dnsmasq"
>> counts as an administrative interface?
> sure doesn't. in embedded there's no persistent storage for such
> files other than /tmp, so under some circumstances file can be lost >
> (reboot, fast reinit, etc).
> due hashing, there's a kind of guarantee that dhcpv4 client will get
> his leases back, but not for dhcpv6 guid.
I wonder if the solution might be to just have a
duid-override = <enterprise number>, <hex data>
configuration which suppresses storing anything in the lease file and
just uses a type-2 DUID in the obvious way?
Cheers,
Simon.
More information about the Dnsmasq-discuss
mailing list