<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Hi,</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Yes, this is intended. I do this because I need to send the vendor ID with the options.  </div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
When I combine the option under 1 vendor ID it will not work.</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Regards,</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size: 11pt; color: rgb(0, 0, 0);"><b>Van:</b> Kea-users <kea-users-bounces@lists.isc.org> namens Darren Ankney <darren.ankney@gmail.com><br>
<b>Verzonden:</b> donderdag 27 juli 2023 23:22<br>
<b>Aan:</b> kea-users@lists.isc.org <kea-users@lists.isc.org><br>
<b>Onderwerp:</b> Re: [Kea-users] Trying to get GeniesACS / Genexis running</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt">
<div class="PlainText">Hi,<br>
<br>
I finally had a chance to look at this.  I first have a question.  I<br>
see you have two classes with the same test line but with different<br>
options.  Any client that matches the test line will end up in both<br>
classes.  Is that intended?  Or have you tried that in trying to get<br>
both sets of vendor specific options included?<br>
<br>
Thank you,<br>
<br>
Darren Ankney<br>
<br>
On Wed, Jul 26, 2023 at 3:16 AM DDFR | Ronald Blaas<br>
<ronald.blaas@ddfr.nl> wrote:<br>
><br>
><br>
> Hi<br>
><br>
> Here is a snippet of the config.<br>
><br>
> "option-def": [<br>
>         {<br>
>             "space": "vendor-3561",<br>
>             "name": "acs",<br>
>             "code": 11,<br>
>             "type": "string"<br>
>         },<br>
>         {<br>
>             "space": "vendor-3561",<br>
>             "name": "minwaitinterval",<br>
>             "code": 13,<br>
>             "type": "uint32"<br>
>         },<br>
>         {<br>
>             "space": "vendor-3561",<br>
>             "name": "retryintervalmultiplier",<br>
>             "code": 14,<br>
>             "type": "uint32"<br>
>         },<br>
>         {<br>
>             "space": "vendor-25167",<br>
>             "name": "fw",<br>
>             "code": 2,<br>
>             "type": "string"<br>
>         },<br>
>         {<br>
>             "space": "vendor-25167",<br>
>             "name": "config",<br>
>             "code": 3,<br>
>             "type": "string"<br>
>         }<br>
>     ],<br>
>     "client-classes": [<br>
>         {<br>
>             "name": "GenieACS",<br>
>             "test": "split(option[60].text, 0x2C, 2) == 'polar'",<br>
>             "option-data": [<br>
>                 {<br>
>                     "name": "vivso-suboptions",<br>
>                     "data": "3561"<br>
>                 },<br>
>                 {<br>
>                     "name": "acs",<br>
>                     "space": "vendor-3561",<br>
>                     "code": 11,<br>
>                     "data": "<a href="http://xxxxxxx:7547/ACSServer/services/ACSServlet" data-auth="NotApplicable">http://xxxxxxx:7547/ACSServer/services/ACSServlet</a>",<br>
>                     "always-send": true<br>
>                 },<br>
>                 {<br>
>                     "name": "minwaitinterval",<br>
>                     "space": "vendor-3561",<br>
>                     "code": 13,<br>
>                     "data": "1",<br>
>                     "always-send": true<br>
>                 },<br>
>                 {<br>
>                     "name": "retryintervalmultiplier",<br>
>                     "space": "vendor-3561",<br>
>                     "code": 14,<br>
>                     "data": "10",<br>
>                     "always-send": true<br>
>                 }<br>
>             ]<br>
>         },<br>
>         {<br>
>             "name": "Genexis",<br>
>             "test": "split(option[60].text, 0x2C, 2) == 'polar'",<br>
>             "option-data": [<br>
>                 {<br>
>                     "name": "vivso-suboptions",<br>
>                     "data": "25167",<br>
>                 },<br>
>                 {<br>
>                     "name": "config",<br>
>                     "space": "vendor-25167",<br>
>                     "code": 3,<br>
>                     "data": "tftp://xxxxxx/test.cfg",<br>
>                     "always-send": true<br>
>                 }<br>
>             ]<br>
>         }<br>
>     ],<br>
><br>
> If I understand the documantation correct this is how it is suppose to work. Please correct me if I am mistaken.<br>
><br>
> Unfortunately, this config does not work. It does not give both settings to the CPE.<br>
><br>
> With isc-dhcp one must encapsulate the options.<br>
> * according to documantation:<br>
> # GLOBAL SCOPE<br>
> option space genexis;<br>
> option genexis.fw code 2 = text;<br>
> option genexis.config code 3 = text;<br>
> option space vivso code width 4;<br>
> option vivso.iana code 0 = string;<br>
> option vivso.iana 01:01:01;<br>
> option vivso.genexis code 25167 = encapsulate genexis;<br>
> option option125 code 125 = encapsulate vivso;<br>
> # SUBNET, POOL OR GROUP SCOPE<br>
> option genexis.fw “tftp://192.168.42.225/geneos-lunar-3.14.0-R.img”;<br>
> option genexis.config “tftp://192.168.42.225/”;<br>
><br>
><br>
> if anyone has some idea how to get this to work would be great.<br>
><br>
> Regards<br>
><br>
><br>
><br>
> ________________________________<br>
> Van: Darren Ankney <darren.ankney@gmail.com><br>
> Verzonden: maandag 24 juli 2023 20:30<br>
> Aan: DDFR | Ronald Blaas <ronald.blaas@ddfr.nl><br>
> Onderwerp: Re: [Kea-users] Trying to get GeniesACS / Genexis running<br>
><br>
> Hi,<br>
><br>
> That would be fine.  I notice that we somehow got off list here.  It<br>
> would be best if we took this back on list so that everyone can<br>
> benefit?  Future people with a similar question won't be able to see<br>
> this discussion.<br>
><br>
> On Mon, Jul 24, 2023 at 12:53 PM DDFR | Ronald Blaas<br>
> <ronald.blaas@ddfr.nl> wrote:<br>
> ><br>
> > That is kinda what I am doing.<br>
> > But it is not working.<br>
> ><br>
> > I can send you my config tomorrow if you'd like<br>
> ><br>
> > Regards<br>
> ><br>
> > ________________________________<br>
> > Van: Darren Ankney <darren.ankney@gmail.com><br>
> > Verzonden: maandag 24 juli 2023 15:25<br>
> > Aan: DDFR | Ronald Blaas <ronald.blaas@ddfr.nl><br>
> > Onderwerp: Re: [Kea-users] Trying to get GeniesACS / Genexis running<br>
> ><br>
> > Hi,<br>
> ><br>
> > Have a look at :<br>
> > <a href="https://kea.readthedocs.io/en/kea-2.4.0/arm/dhcp4-srv.html#dhcpv4-vendor-specific-options" data-auth="NotApplicable">
https://kea.readthedocs.io/en/kea-2.4.0/arm/dhcp4-srv.html#dhcpv4-vendor-specific-options</a><br>
> > specifically the example containing "vendor-2234" and "vendor-3561".<br>
> > Does this not show what you are trying to do?<br>
> ><br>
> > Thank you,<br>
> ><br>
> > Darren Ankney<br>
> ><br>
> > On Mon, Jul 24, 2023 at 7:58 AM DDFR | Ronald Blaas<br>
> > <ronald.blaas@ddfr.nl> wrote:<br>
> > ><br>
> > > Hi Darren,<br>
> > ><br>
> > > I understand but the documentation does not speak of this in how to do this.<br>
> > ><br>
> > > I have tried specifing both vendor ID's but my device (a Genexis p2410) will only accept one.<br>
> > ><br>
> > > As per documentation from Genexis one need to encapsulate both. This is a part in where I am unsuccesfull<br>
> > ><br>
> > > I can get either one to work but not both<br>
> > ><br>
> > ><br>
> > ><br>
> > > ________________________________<br>
> > > Van: Darren Ankney <darren.ankney@gmail.com><br>
> > > Verzonden: maandag 24 juli 2023 12:26<br>
> > > Aan: DDFR | Ronald Blaas <ronald.blaas@ddfr.nl><br>
> > > Onderwerp: Re: [Kea-users] Trying to get GeniesACS / Genexis running<br>
> > ><br>
> > > Hi,<br>
> > ><br>
> > > From 2.4.0 release notes<br>
> > > (<a href="https://downloads.isc.org/isc/kea/2.4.0/Kea-2.4.0-ReleaseNotes.txt" data-auth="NotApplicable">https://downloads.isc.org/isc/kea/2.4.0/Kea-2.4.0-ReleaseNotes.txt</a>):<br>
> > ><br>
> > > 6. **Multiple vendor options**: The Kea DHCPv4 server can now handle<br>
> > > multiple `vivco-suboptions` options with different enterprise IDs [#467]<br>
> > > and multiple vendor options with different enterprise IDs and multiple<br>
> > > vivso suboptions. The vendor options handling has been updated [#1518,<br>
> > > #2694]. Support has been added for multiple instances of the DHCPv6<br>
> > > vendor-class (code 16) and vendor-opts (code 17) options. Kea now<br>
> > > supports specifying multiple options with different enterprise numbers<br>
> > > [#2517].<br>
> > ><br>
> > > So you should be able to do this in Kea 2.4.0.<br>
> > ><br>
> > > Thank you,<br>
> > ><br>
> > > Darren Ankney<br>
> > ><br>
> > > On Mon, Jul 24, 2023 at 3:27 AM DDFR | Ronald Blaas<br>
> > > <ronald.blaas@ddfr.nl> wrote:<br>
> > > ><br>
> > > > Hi Darren<br>
> > > ><br>
> > > > That part of the documentation is well known to me 🙂<br>
> > > > But I am facing a little different problem.<br>
> > > ><br>
> > > > I need to send all sub-options as option 125<br>
> > > > I just have 2 different vendor-ids which needs to be encapsulated both in option 125<br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > > ________________________________<br>
> > > > Van: Darren Ankney <darren.ankney@gmail.com><br>
> > > > Verzonden: vrijdag 21 juli 2023 12:17<br>
> > > > Aan: DDFR | Ronald Blaas <ronald.blaas@ddfr.nl><br>
> > > > CC: kea-users@lists.isc.org <kea-users@lists.isc.org><br>
> > > > Onderwerp: Re: [Kea-users] Trying to get GeniesACS / Genexis running<br>
> > > ><br>
> > > > Hi,<br>
> > > ><br>
> > > > In that case, have a look at this section of the ARM:<br>
> > > > <a href="https://kea.readthedocs.io/en/kea-2.4.0/arm/dhcp4-srv.html#dhcpv4-vendor-specific-options" data-auth="NotApplicable">
https://kea.readthedocs.io/en/kea-2.4.0/arm/dhcp4-srv.html#dhcpv4-vendor-specific-options</a><br>
> > > > which explains how to encapsulate both VIVCO (43) and VIVSO (125)<br>
> > > > sub-options in Kea.  I am not sure you'll be able to do all of the<br>
> > > > things the vendor requires, however (such as option codes above 255 or<br>
> > > > code widths of 4 which is what 32 bit integer??  I was not aware DHCP<br>
> > > > supported that).<br>
> > > ><br>
> > > > > All these definitions should be added as subcodes of option 125<br>
-- <br>
ISC funds the development of this software with paid support subscriptions. Contact us at
<a href="https://www.isc.org/contact/" data-auth="NotApplicable">https://www.isc.org/contact/</a> for more information.<br>
<br>
To unsubscribe visit <a href="https://lists.isc.org/mailman/listinfo/kea-users" data-auth="NotApplicable">
https://lists.isc.org/mailman/listinfo/kea-users</a>.<br>
<br>
Kea-users mailing list<br>
Kea-users@lists.isc.org<br>
<a href="https://lists.isc.org/mailman/listinfo/kea-users" data-auth="NotApplicable">https://lists.isc.org/mailman/listinfo/kea-users</a><br>
</div>
</span></font></div>
</body>
</html>