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