[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dhcp-users
Subject:    Unable to send Vendor Specific options from Server
From:       Sumant Gupta <sumantgupta () gmail ! com>
Date:       2017-10-27 4:39:32
Message-ID: CAFty30UvS98ue5GVA75jBG2OxQqOVwgL5dPjKe1tgLnv4soRwA () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi,

I am using ISC dhcpv6 server version 4.2.4 on Ubuntu.

My server config. file dhcpd6.conf has these lines:
       option dhcp6.vendor-opts
           00:00:XX:XX:   # where XX:XX is the enterprise-number
            00:01:00:0c:
                48:65:6c:6c:6f:20:77:6f:72:6c:64:21;

My client is sending OPTION_VENDOR_CLASS(16) to server with the
correct enterprise-number, but the isc dhcp server doesn't send the
data that is part of dhcp6.vendor-opts(in option 17) in the config.
file.

Can somebody please let me know if I am missing something here ?

I also went through the code in Tables.c
#if 0
    /* XXX: user-class contents are of the form "StA" where the
     * integer describes the length of the text field.  We don't have
     * an atom for pre-determined-length octet strings yet, so we
     * can't quite do these two.
     */
    { "user-class", "X",            &dhcpv6_universe, 15, 1 },
    { "vendor-class", "X",            &dhcpv6_universe, 16, 1 },
#endif

Does this mean the server doesn't parse option 16 ?

Regards
Sumant

[Attachment #5 (text/html)]

<div dir="ltr"><span style="font-size:12.8px">Hi,</span><div \
style="font-size:12.8px"><span \
style="color:rgb(0,0,0);white-space:pre-wrap"><br></span></div><div \
style="font-size:12.8px"><span style="color:rgb(0,0,0);white-space:pre-wrap">I am \
using ISC dhcpv6 server version </span><font color="#000000"><span \
style="white-space:pre-wrap">4.2.4</span></font><span \
style="color:rgb(0,0,0);white-space:pre-wrap"> on Ubuntu.</span></div><div \
style="font-size:12.8px"><pre style="white-space:pre-wrap;color:rgb(0,0,0)">My server \
config. file dhcpd6.conf has these lines:  option dhcp6.vendor-opts
           00:00:XX:XX:   # where XX:XX is the enterprise-number
            00:01:00:0c:
                48:65:6c:6c:6f:20:77:6f:72:6c:<wbr>64:21;

My client is sending OPTION_VENDOR_CLASS(16) to server with the correct \
enterprise-number, but the isc dhcp server doesn&#39;t send the data that is part of \
dhcp6.vendor-opts(in option 17) in the config. file.

Can somebody please let me know if I am missing something here ?

I also went through the code in Tables.c
#if 0
    /* XXX: user-class contents are of the form &quot;StA&quot; where the
     * integer describes the length of the text field.  We don&#39;t have
     * an atom for pre-determined-length octet strings yet, so we
     * can&#39;t quite do these two.
     */
    { &quot;user-class&quot;, &quot;X&quot;,            &amp;dhcpv6_universe, 15, 1 \
},  { &quot;vendor-class&quot;, &quot;X&quot;,            &amp;dhcpv6_universe, 16, 1 \
}, #endif

Does this mean the server doesn&#39;t parse option 16 ?
</pre></div><div style="font-size:12.8px">Regards</div><div \
style="font-size:12.8px">Sumant</div></div>



_______________________________________________
dhcp-users mailing list
dhcp-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic