<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=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Mangal;
        panose-1:2 4 5 3 5 2 3 3 2 2;}
@font-face
        {font-family:Mangal;
        panose-1:2 4 5 3 5 2 3 3 2 2;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Webdings;
        panose-1:5 3 1 2 1 5 9 6 7 3;}
@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:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;
        mso-fareast-language:EN-US;}
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;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
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;}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Consolas","serif";
        color:black;
        mso-fareast-language:EN-US;}
span.EmailStyle22
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@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-IN" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Thanks for your response.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">The sample mentioned in manual also indicates use of
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">class "vendor-classes" {<br>
    match option vendor-class-identifier;<br>
}</span><tt><span style="font-size:10.0pt;color:#993300"><o:p></o:p></span></tt></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">However,  when I look out options in DHCPv6 rfc 3315 and also other links I don’t find a way to send vendor-class-identifier in solicit packets. In DHCPv4 it is option number 60 but no direct mapping in DHCPv6. 
 How do I send vendor-class-identifier in DHCPv6 ? <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Space issue in line option Test. ADDR::1; was a typo error in mail.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Also is “vendor-classes” in https://www.isc.org/wp-content/uploads/2017/08/dhcp43options.html#VENDOR ENCAPSULATED OPTIONS is a keyword or just a sample name used for example?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Saurabh Jain</span><span style="color:windowtext"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext;mso-fareast-language:EN-IN">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext;mso-fareast-language:EN-IN">
 dhcp-users [mailto:dhcp-users-bounces@lists.isc.org] <b>On Behalf Of </b>Bill Shirley<br>
<b>Sent:</b> Wednesday, December 13, 2017 1:49 AM<br>
<b>To:</b> dhcp-users@lists.isc.org<br>
<b>Subject:</b> Re: Issues in using User Class Option<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">I've never seen a class without a 'match' statement.  Are you sure that's valid?:<br>
<tt><span style="font-size:10.0pt;color:#993300"># ------------------------------------------------------------------------------</span></tt><span style="font-size:10.0pt;font-family:"Courier New";color:#993300"><br>
<tt>class "Other_mobile" {</tt><br>
<tt>    match hardware;</tt><br>
<tt>    set member_of = "mobile_device";</tt><br>
<tt>}</tt><br>
<tt># ------------------------------------------------------------------------------</tt><br>
<tt>subclass "Other_mobile"    1:d8:1d:72:41:3c:81;    # Moms-5S</tt><br>
</span><br>
Also when you're using the option statement, there doesn't appear to be a space between<br>
<span style="color:#993300">Test.ADDR</span> and <span style="color:#993300">::1;</span><br>
Example:<br>
<tt><span style="font-size:10.0pt;color:#993300">class "vendor-classes" {</span></tt><span style="font-size:10.0pt;font-family:"Courier New";color:#993300"><br>
<tt>    match option vendor-class-identifier;</tt><br>
<tt>}</tt><br>
<tt>subclass "vendor-classes"    "MSFT 5.0" {    # all Windows 2000 DHCP clients</tt><br>
<tt>    vendor-option-space Win2k;</tt><br>
<tt>    option Win2k.netbios-over-tcpip        0;    # enable</tt><br>
<tt>}</tt><br>
</span><br>
Bill<o:p></o:p></p>
<div>
<p class="MsoNormal">On 12/12/2017 5:33 AM, Jain, Saurabh wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">Hi All, <o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">I am having difficulty in using  User class option. I am doing following configuration in the DHCP configuration file  :<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">option dhcp6.rapid-commit;<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Option space Test code width 2 length width 2 hash size 17;<o:p></o:p></p>
<p class="MsoNormal">option Test.ADDR code 1 = array of ip6-address;<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">option Test. ADDR::1;<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">class "Test-Class" {<o:p></o:p></p>
<p class="MsoNormal">vendor-option-space Test;<o:p></o:p></p>
<p class="MsoNormal">option Test. ADDR::3;<o:p></o:p></p>
<p class="MsoNormal">}<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">subclass "Test-Class" "TestsubClass" {<o:p></o:p></p>
<p class="MsoNormal">vendor-option-space Test;<o:p></o:p></p>
<p class="MsoNormal">option Test. ADDR::2;<o:p></o:p></p>
<p class="MsoNormal">}<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">In the Solicit packet, I am sending the User class option as per section 22.15 of RFC 3315 (DHCPv6). In the user-class-data field I have included the class name as “TestsubClass”, but in reply dhcpv6 server is not sending any user class.
   I have tested by sending “Test-Class” also in the user-class data field but server is not responding with the user class details.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Can you please let  me know the correct configuration? And what should be the content of solicit request ?<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Thanks a lot in advance.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Regards,<o:p></o:p></p>
<p class="MsoNormal">Saurabh Jain<o:p></o:p></p>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:EN-IN"><o:p> </o:p></span></p>
<p style="margin-bottom:12.0pt"><b><span style="font-size:10.0pt;font-family:Webdings;color:green">P</span></b><b><span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:green"> PLEASE CONSIDER OUR ENVIRONMENT BEFORE PRINTING THIS EMAIL.
<br>
<br>
</span></b><b><span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:gray">This e-mail (including any attachments) is confidential and may be legally privileged. If you are not an intended recipient or an authorized representative of an intended
 recipient, you are prohibited from using, copying or distributing the information in this e-mail or its attachments. If you have received this e-mail in error, please notify the sender immediately by return e-mail and delete all copies of this message and
 any attachments. Thank you. </span></b><b><span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:green"><o:p></o:p></span></b></p>
</div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:EN-IN"><br>
<br>
<br>
<o:p></o:p></span></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>dhcp-users mailing list<o:p></o:p></pre>
<pre><a href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><o:p></o:p></pre>
<pre><a href="https://lists.isc.org/mailman/listinfo/dhcp-users">https://lists.isc.org/mailman/listinfo/dhcp-users</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:EN-IN"><o:p> </o:p></span></p>
</div>
</body>
</html>