<div dir="ltr"><div><div><div><div><div>Hi, <br><br></div>I agree with all your observations, they are correct. <br><br></div>I am using a Cisco one. It adds it out of the box when configured as a Relay, no other configuration is required. <br><br></div>Btw, is anyone of the group aware of any other DHCPv6 server that may support RFC 6939?<br><br></div>Best<br><br></div>Antonios<br><div><div><div><div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On 3 February 2015 at 22:41, perl-list <span dir="ltr"><<a href="mailto:perl-list@network1.net" target="_blank">perl-list@network1.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:Andale Mono;font-size:10pt;color:#000000"><div style="font-family:Andale Mono;font-size:10pt;color:#000000"><div>Wireshark shows option 79 clearly present in the packet.  Looks like the mac address of the device is e4:11:5b:29:e4:35</div><div><br></div><div>It does indeed look like RFC 6939 OPTION_CLIENT_LINKLAYER_ADDR (79) should be in 4.3.1 per <a href="https://deepthought.isc.org/article/AA-01112/0/Newly-Pre-defined-Options-in-DHCP-4.3.html" target="_blank">https://deepthought.isc.org/article/AA-01112/0/Newly-Pre-defined-Options-in-DHCP-4.3.html</a> </div><div>dhcp6.client-linklayer-addr <b>string</b></div><div><span style="margin:0px;padding:0px;border:0px;font-style:inherit;line-height:1.4em"> A client link-layer address.  The first two bytes must be the type </span><span style="margin:0px;padding:0px;border:0px;font-style:inherit;line-height:1.4em">of the link-layer followed by the address itself.</span></div><div> This option is included based on RFC 6939.</div><div><br></div><div>Hope this gets resolved as we will need to use that option in the future.</div><div><br></div><div>Out of curiosity, Antonios, what relay agent are you using that is adding that option to the packet?</div><br><br><hr><div><blockquote style="border-left:2px solid #1010ff;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt"><b>From: </b>"Antonios Atlasis" <<a href="mailto:antonios.atlasis@gmail.com" target="_blank">antonios.atlasis@gmail.com</a>><br><b>To: </b>"Users of ISC DHCP" <<a href="mailto:dhcp-users@lists.isc.org" target="_blank">dhcp-users@lists.isc.org</a>><br><b>Sent: </b>Tuesday, February 3, 2015 2:48:35 PM<br><b>Subject: </b>Re: Option dhcp6.client-linklayer-addr<br></blockquote></div><div><div class="h5"><div><blockquote style="border-left:2px solid #1010ff;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt"><div dir="ltr"><div><div><div>Thank you very much Espen for your response. <br><br></div>Well,. the client linklayer address option is not encapsulated in the dhcpb6 request, but directly into the dhcpb6 relay message, because, as the RFC 6939 specifies, it is added by the Relay server and not by the client itself. I am attaching a pcap if someone wants to have a look at it. <br><br></div>Nevertheless, I will give it a try tomorrow at the lab and I'll let you know.<br><br></div>Thanks again<br><br>Antonios  <br><div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On 3 February 2015 at 20:45, Espen Tallaksen <span dir="ltr"><<a href="mailto:espen.tallaksen@gmail.com" target="_blank">espen.tallaksen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><p dir="ltr">Hi<br>
</p><p>At least you will need to extract the dhcp-request from the relayed dhcp-packet as it's kind of encapsulated by the relay-agent. You will find an example below:</p><p><span style="font-size:13px">v6relay(1, (binary-to-ascii(16, 8, ":", option docsis.cm-mac-address)));</span><br></p><p><span style="font-size:13px">v6relay(1, something) 1 refers to the first relay-agent in the chain.</span></p><p><span style="font-size:13px">Obviously, you will neew to replace docsis-things with your stuff. I have never tried dhcp6.client-linklayer-addr though. Hope it will help you out.</span></p><p><span style="font-size:13px"><br></span></p><p><span style="font-size:13px">Best regards</span></p><p><span style="font-size:13px">Espen Tallaksen</span></p><p><span style="font-size:13px"><br></span></p>
<div class="gmail_quote"><div><div>On 3 Feb 2015 18:21, "Antonios Atlasis" <<a href="mailto:antonios.atlasis@gmail.com" target="_blank">antonios.atlasis@gmail.com</a>> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:#cccccc;border-left-style:solid;padding-left:1ex"><div><div><div dir="ltr"><div><div><div><div><div>Hi, <br><br></div>I have setup a DHCPv6 relay which forwards the DHCPv6 request to my ISC DHCPv6 server version 4.3.1 running on Centos 6.6.<br><br></div><div>The DHCPv6 server leases an address successfully to the client. <br><br></div>I have confirmed by using wireshark  that the DHCPv6 Relay includes the Option 79 (Client Link-Layer Address) defined in RFC6939 in its Relay-Forward messages.<br><br></div><div>I want to log the MAC address of the client by using the dhcp6.client-linklayer-addr which seems to be implemented in this version of ISC DHCP (I am saying "it seems" because it is included here:<a href="https://deepthought.isc.org/article/AA-01112/0/Newly-Pre-defined-Options-in-DHCP-4.3.html" target="_blank">https://deepthought.isc.org/article/AA-01112/0/Newly-Pre-defined-Options-in-DHCP-4.3.html</a> but not in the official documentation).<br><br></div>In my dhcpd.conf I have tried several configurations, including the one described here:<br><a href="https://www.mail-archive.com/dhcp-users@lists.isc.org/msg00622.html" target="_blank">https://www.mail-archive.com/dhcp-users@lists.isc.org/msg00622.html</a><br></div>that is:<br><pre>if (exists dhcp6.client-linklayer-addr) {
        log(info,"option dhcp6.client-linklayer-addr present");
} else {
       log(info,"option dhcp6.client-linklayer-addr not present");
}<br></pre><pre></pre>but I also get <br><br><pre>dhcpd: option dhcp6.client-linklayer-addr not present<br></pre>Does anyone know if this option is implemented indeed and if so, what I am possibly missing? Any suggestions?<br><br></div>Thanks<br><br>Antonios<br></div>
<br></div></div>_______________________________________________<br>
dhcp-users mailing list<br>
<a href="mailto:dhcp-users@lists.isc.org" target="_blank">dhcp-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/dhcp-users" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br></blockquote></div>
</div>
<br>_______________________________________________<br>
dhcp-users mailing list<br>
<a href="mailto:dhcp-users@lists.isc.org" target="_blank">dhcp-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/dhcp-users" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br></blockquote></div><br></div></div></div></div></div>
<br>_______________________________________________<br>dhcp-users mailing list<br><a href="mailto:dhcp-users@lists.isc.org" target="_blank">dhcp-users@lists.isc.org</a><br><a href="https://lists.isc.org/mailman/listinfo/dhcp-users" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a></blockquote></div></div></div></div><br></div></div><br>_______________________________________________<br>
dhcp-users mailing list<br>
<a href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/dhcp-users" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br></blockquote></div><br></div></div></div></div></div></div></div></div>