[Dnsmasq-discuss] dhcpv6 duid gen

Vladislav Grishenko themiron at mail.ru
Thu Mar 1 12:53:26 GMT 2012


> On 01/03/12 11:40, Vladislav Grishenko wrote:
> >> 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?
> >
> > Ok, and it can be even more easy - allow specify u_int64_t value and
> > use it with DUID-LL+27 ether type (eui64).
> > duid-override=<eui64>
> >
> >> configuration which suppresses storing anything in the lease file
> >> and
> > just
> >> uses a type-2 DUID in the obvious way?
> > Storing is allowed, but until reboot...
> 
> But then what do you do when the configred DUID conficts with the stored
> one?

Configured overrides stored, if you mean one stored in leases file. It's
quite expected, I guess

> > And what about traversing over ethernet-like interfaces only?
> > Actually, for me, it would be more handy than to implement own duid
> > generation and storing it in conf.
> > The root issue was in sit (6to4 tunnels) interfaces, which has no
> > hwaddr to be used as duid ll source.
> 
> I think the solution to that is to ignore interfaces with HW address type
>=
> 256. See <linux>/include/linux/if_arp.h for details.
> 
> OK?

Should be ok, depite too small hwaddr length of some protos, like ARCNET,
LTALK 





More information about the Dnsmasq-discuss mailing list