[Kea-users] Trying to get GeniesACS / Genexis running

DDFR | Ronald Blaas ronald.blaas at ddfr.nl
Wed Jul 26 07:16:47 UTC 2023


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.ankney at gmail.com>
Verzonden: maandag 24 juli 2023 20:30
Aan: DDFR | Ronald Blaas <ronald.blaas at 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.blaas at 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.ankney at gmail.com>
> Verzonden: maandag 24 juli 2023 15:25
> Aan: DDFR | Ronald Blaas <ronald.blaas at 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.blaas at 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.ankney at gmail.com>
> > Verzonden: maandag 24 juli 2023 12:26
> > Aan: DDFR | Ronald Blaas <ronald.blaas at 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.blaas at 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.ankney at gmail.com>
> > > Verzonden: vrijdag 21 juli 2023 12:17
> > > Aan: DDFR | Ronald Blaas <ronald.blaas at ddfr.nl>
> > > CC: kea-users at lists.isc.org <kea-users at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20230726/0e69fe04/attachment-0001.htm>


More information about the Kea-users mailing list