AW: duid and dhcpd6.client-id
Albrecht, Harald
harald.albrecht at siemens.com
Mon Mar 31 12:34:05 UTC 2014
In case this went unnoticed: DHCPv6 DUIDs have their DUID type in the first two octets, followed by some value of at most 128 octets. Currently defined are only DUID types 1-4 so far (if I remember correctly).
> -----Ursprüngliche Nachricht-----
> Von: dhcp-users-bounces+harald.albrecht=siemens.com at lists.isc.org
> [mailto:dhcp-users-bounces+harald.albrecht=siemens.com at lists.isc.org] Im
> Auftrag von Carsten Strotmann
> Gesendet: Montag, 31. März 2014 13:51
> An: Users of ISC DHCP
> Betreff: Re: duid and dhcpd6.client-id
>
> Hello Andreas,
>
> Andreas Burger <andreas at ethz.ch> writes:
>
> > hi there,
> >
> > i try to figure out how i have to write the dhcpd6.client-id in the
> > dhcpd6.conf
> >
>
> I use this code snippet in my dhcpd6.conf to print out the Client-DUID of a
> DHCPv6 request
>
> log (info, concat("--> Client-DUID: ", binary-to-ascii(16, 8, ":", option
> dhcp6.client-id)));
>
> the logoutput is like this:
>
> Mar 31 13:48:37 blackbox dhcpd: Renew message from
> fe80::20a:e4ff:fe2c:707f port 546, transaction ID 0x6C3B3E Mar 31 13:48:37
> blackbox dhcpd: --> Client-DUID: 0:1:0:1:1a:cb:d7:fa:0:a:e4:2c:70:7f
>
> A host-reservation with DUID is done like this:
>
> host x40 {
> host-identifier option dhcp6.client-id 0:1:0:1:1a:c4:2f:ce:0:a:e4:2c:70:7f;
> fixed-address6 2001:db8:100:0:ffff::40; }
>
> Best regards
>
> Carsten
>
> --
> Sent with my mu4e
>
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
More information about the dhcp-users
mailing list