<div dir="ltr"><div><div>

<p class="MsoNormal"><a name="_GoBack"></a>Hello List</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal"><span style="mso-ansi-language:EN-GB" lang="EN-GB">I’m trying
to get the cable modem mac address written to the log file.</span></p>

<p class="MsoNormal"><span style="mso-ansi-language:EN-GB" lang="EN-GB"> </span></p>

<p class="MsoNormal"><span style="mso-ansi-language:EN-GB" lang="EN-GB">The Setup
is simple, the CMTS is forwarding the request from the cpe directly to the dhcpv6 server. So there
is only one relay agent involved</span></p><p class="MsoNormal"><span style="mso-ansi-language:EN-GB" lang="EN-GB">Request from the cablemodem or emta gets relayed to a different (ipv4 only) server.<br></span></p>

<p class="MsoNormal"><span style="mso-ansi-language:EN-GB" lang="EN-GB"> </span></p>

<p class="MsoNormal"><span style="mso-ansi-language:EN-GB" lang="EN-GB">The
following lines in my conf-file just print "(missing)"</span></p>

<p class="MsoNormal"><span style="mso-ansi-language:EN-GB" lang="EN-GB"> </span></p>

<p class="MsoNormal"><span style="font-family:"Courier New"" lang="EN-GB">log ( info, concat("Interface-ID: ", pick-first-value((v6relay(32,
option dhcp6.interface-id)), "(missing)")));</span></p>

<p class="MsoNormal"><span style="font-family:"Courier New"" lang="EN-GB">log ( info, concat("LLA: ", pick-first-value((v6relay(32,
option dhcp6.client-linklayer-address)), "(missing)")));</span></p>

<p class="MsoNormal"><span style="font-size:9pt" lang="EN-GB">adaptet from <a href="https://kb.isc.org/article/AA-01096/0/DHCPv6-support-for-relay-options-in-ISC-DHCP-4.3.html">https://kb.isc.org/article/AA-01096/0/DHCPv6-support-for-relay-options-in-ISC-DHCP-4.3.html</a></span></p>

<p class="MsoNormal"><span style="mso-ansi-language:EN-GB" lang="EN-GB"> </span></p>

<p class="MsoNormal"><span style="mso-ansi-language:EN-GB" lang="EN-GB">All the
information are there (seen in wireshark ;)). But I’m not sure on how to get
them.</span></p>

<p class="MsoNormal"><span style="mso-ansi-language:EN-GB" lang="EN-GB"> </span></p>

<p class="MsoNormal"><span style="mso-fareast-language:DE-CH;mso-no-proof:yes"></span></p>

<p class="MsoNormal"> <img alt="Inline images 1" src="cid:ii_1559c9cff40eab71" height="328" width="530"></p>

<p class="MsoNormal"> </p>

<p class="MsoNormal"><span style="mso-ansi-language:EN-GB" lang="EN-GB">The initial
plan is to create classes based on the cm-mac and based on that give them an address or not.</span></p>

<p class="MsoNormal"><span style="mso-ansi-language:EN-GB" lang="EN-GB">Furthermore I’d like to get other data from
the relay-agent (CMTS) and do funny stuff with it, like update the firmware if
it is too old</span></p>

<p class="MsoNormal"><span style="mso-ansi-language:EN-GB" lang="EN-GB"> </span></p>

<p class="MsoNormal"><span style="mso-ansi-language:EN-GB" lang="EN-GB">Can anybody
help me out and give me a hint?</span></p><br><br></div>TIA<br><br></div>Philippe<br></div>