<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=iso-8859-1"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        mso-ligatures:none;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body bgcolor=white lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Can you use RADIUS instead?<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Frank<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:windowtext'>From:</span></b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:windowtext'> dhcp-users-bounces+frnkblk=iname.com@lists.isc.org [mailto:dhcp-users-bounces+frnkblk=iname.com@lists.isc.org] <b>On Behalf Of </b>Andreas Hanke<br><b>Sent:</b> Wednesday, November 07, 2012 1:52 AM<br><b>To:</b> dhcp-users@lists.isc.org<br><b>Subject:</b> DHCPv6 Option 18 (interface-id) relay problem<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Hello together,<br><br>I am working on a problem with my ISC DCHP Version 4.2.4-P2 server for IPv6 since a lot of days.<br>But I could not found a solution. So I hope someone could help me.<br><br>- Situation:<br>I have to discover the Host by an interface id to give him a fixed IP address.<br>This interface id will inserted by an DSLAM which is connected to a lot of DSL Modems.<br>The interface id is the identifier, on which physical port the DSL Modem is connected.<br>I like to use the host definition into my dhcp.conf:<br>example:<o:p></o:p></p><pre>host ws {<o:p></o:p></pre><pre>        host-identifier option dhcp6.interface-id "Interface-ID: DSLAM01 eth 2/1/01/21"<o:p></o:p></pre><pre>        fixed-address6 2001:db8:1:1::701;<o:p></o:p></pre><pre>}<o:p></o:p></pre><p class=MsoNormal style='margin-bottom:12.0pt'><br><br>- My setup:<br>Client PC with DSL Modem <-------------> DSLAM which is inserting a option 18 with the interface id <-----------> CISCO 7606-S Router which have a helper at the interface which is connected to the DHCP server. This helper forward the DCHP Message to the DHCP server and works as a relay <-----------> ISC DCHP server for IPv6<br><br>- Parts of my server configuration:<br>-----------------------------------------------------------------------------------------------------------------------------------<br># Please see: <a href="http://www.ipamworldwide.com/dhcp-options/isc-dhcpv6-options.html">http://www.ipamworldwide.com/dhcp-options/isc-dhcpv6-options.html</a><br>#This function logs the DHCPv6 client id, which means the Link Local Address (Option 1)<br>log(info,concat("Client-ID: " , binary-to-ascii(16,8,"-",option dhcp6.client-id)));<br>#This function logs the DHCPv6 interface id, which means the port of the DSLAM (Option 18)<br>log(info,concat("Interface-ID: " , option dhcp6.interface-id));<br>-----------------------------------------------------------------------------------------------------------------------------------<br><br>- My problem:<br>The ISC DHCP server could not discover the interface-id (Option 18), which is inserted by the DSLAM -> get no log message (see configuration).<br>The client-id (Option 1), which is inserted by the Client PC with DSL Modem works fine -> get log message (see configuration).<br><br>I tested it without CISCO and without DSLAM/DSL Modem direct connect over an Networkswitch and inserting the interface-id (Option 18) by the Client PC, that works -> get log message (see configuration).<br><br>After that I analysed the TCP packets. What I found out is, that the difference is that:<br>- Message type "RELAY-FORW (12)" with CISCO and DSLAM/DSL Modem:<br><field name="dhcpv6.msgtype" showname="Message type: Relay-forw (12)" size="1" pos="62" show="12" value="0c"/><br>- Message type "SOLICIT (1)" without CISCO and DSLAM/DSL Modem:<br><field name="dhcpv6.msgtype" showname="Message type: Solicit (1)" size="1" pos="62" show="1" value="01"/><br><br>Side information:<br>If I configured an ipv6 range without host definitions into my dhcp.conf the Client PC get in both situations an ip6 address.<br><br>Could you tell me if the message type is the problem and if yes what I have to change?<br>If no, what went wrong?<br><br>I have attached the both network packets with situation 1 "with CISCO and DSLAM" and situation 2 "without CISCO and DSLAM".<br><br><br>Thanks a lot for your help!<o:p></o:p></p><div><p class=MsoNormal>-- <br><br>Regards<br><br><b>Andreas Hanke</b><br>IP Network Operations<br>   <br><a href="mailto:andreas.hanke@r-kom.de">andreas.hanke@r-kom.de</a><br><a href="http://www.r-kom.de">http://www.r-kom.de</a><o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p><div class=MsoNormal align=center style='text-align:center'><hr size=2 width="100%" align=center></div><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif";color:gray'>R-KOM Regensburger Telekommunikationsgesellschaft mbH & Co. KG,<br>Kommanditgesellschaft, Sitz Regensburg, Registergericht Regensburg,<br>HRA 5818<br>Persönlich haftende Gesellschafterin und Geschäftsführung:<br>R-KOM Regensburger Telekommunikationsverwaltungsgesellschaft mbH,<br>Sitz Regensburg, Registergericht Regensburg,<br>HRB 6764; Geschäftsführer: Dipl.-Inf. (FH) Alfred Rauscher</span><o:p></o:p></p></div></body></html>