<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 class="h5">On 3 Feb 2015 18:21, "Antonios Atlasis" <<a href="mailto:antonios.atlasis@gmail.com" target="_blank">antonios.atlasis@gmail.com</a>> wrote:<br type="attribution"></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div class="h5"><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">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>