Re: [Kea-users] kea 1.2 - "One or more hook libraries failed to load"

2017-09-06 Thread Francis Dupont
Try to get the HOOKS_OPEN_ERROR which returns errors from dlopen(). Note the main reason to get dlopen to not find DSOs is to forget to set LD_LIBRARY_PATH... Regards Francis Dupont ___ Kea-users mailing list Kea-users@lists.isc.org

[Kea-users] Kea Option 125

2017-09-06 Thread Thomas Wilhelm
Hi list, we try to migrate from isc-dhcpd to kea-dhcpd but I have some problems with the option 125. We need to use several enterprise id's within the option 125. I have already tried to overwrite option 125 with my own custom space, but it doesn't work. current used kea-version: 1.1.0

Re: [Kea-users] Kea Option 125

2017-09-06 Thread Francis Dupont
There is a comment saying: /// @todo We need to extend support for vendor options with ability to specify /// multiple enterprise numbers for a single option. Perhaps it would be /// ok to specify multiple instances of the "vivso-suboptions" which will be /// combined in a single option by the

Re: [Kea-users] kea 1.2 - "One or more hook libraries failed to load"

2017-09-06 Thread Jason Lixfeld
Oh, I’m sorry - I guess perhaps I should include some system specific info? :/ root@build:/var/log/kea# uname -a Linux build 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u2 (2017-06-26) x86_64 GNU/Linux root@build:/var/log/kea# cat /etc/debian_version 9.1 root@build:/var/log/kea# Out from

[Kea-users] Dynamic options generation.

2017-09-06 Thread Marcin Jurczuk
Hi, I'm evaluating isc-dhcp replacement with kea and I've stumbled upon some configuration options that I don't know how to convert to kea format. Many options in my ISC dhcp are generated "on the fly" from data retrieved from DHCP DISCOVER packets. For example:

Re: [Kea-users] kea 1.2 - "One or more hook libraries failed to load"

2017-09-06 Thread Jason Lixfeld
I tend to fumble around debugging stuff like this, so forgive me if I’m not doing what you ask; I really have no idea how :) What I was able to piece together was starting up with LD_DEBUG=all : root@build:/var/log/kea# LD_DEBUG=all /usr/local/sbin/kea-dhcp4 -c /usr/local/etc/kea/kea.conf -d

Re: [Kea-users] Dynamic options generation.

2017-09-06 Thread Tomek Mrugalski
W dniu 06.09.2017 o 15:29, Marcin Jurczuk pisze: > Hi, > > I'm evaluating isc-dhcp replacement with kea and I've stumbled upon some > configuration options that I don't know how to convert to kea format. > Many options in my ISC dhcp are generated "on the fly" from data retrieved > from DHCP

Re: [Kea-users] Dynamic options generation.

2017-09-06 Thread Francis Dupont
Francis Dupont writes: I should have added my answer applies only to static (i.e. in config file) definitions / setting data values. > Marcin Jurczuk writes: > > I'm evaluating isc-dhcp replacement with kea and I've stumbled upon some co > nf > > iguration options that I don't know how to

Re: [Kea-users] Dynamic options generation.

2017-09-06 Thread Francis Dupont
Marcin Jurczuk writes: > I'm evaluating isc-dhcp replacement with kea and I've stumbled upon some conf > iguration options that I don't know how to convert to kea format. => we have a tool doing this (it works well even there are some deep differences between ISC DHCP and Kea). Note if the option

[Kea-users] Kea reservations & subnet limits.

2017-09-06 Thread Joelson Vendramin
Hello Kea Users! I'm using Kea 1.2.0 in an environment that uses only Option82 (for IPv4) and Option18 (for IPv6) in order to always provide the same addresses to the same client (in fact, the same VLAN ID that asks for IPs). Since I don't have the flex-id hook library, I'm implementing IPv4

Re: [Kea-users] Dynamic options generation.

2017-09-06 Thread Tomek Mrugalski
W dniu 06.09.2017 o 16:50, Francis Dupont pisze: > Marcin Jurczuk writes: >> I'm evaluating isc-dhcp replacement with kea and I've stumbled upon some conf >> iguration options that I don't know how to convert to kea format. > > => we have a tool doing this (it works well even there are some deep

Re: [Kea-users] kea 1.2 - "One or more hook libraries failed to load"

2017-09-06 Thread Francis Dupont
Jason Lixfeld writes: > However, running -t said syntax was OK. => -t does not check everything, for instance hook parameters. Regards Francis Dupont BTW the manual page says that "hook libraries are not loaded" so don't expect to have a not loaded hook checking for its

Re: [Kea-users] kea 1.2 - "One or more hook libraries failed to load"

2017-09-06 Thread Thomas Markwalder
On 9/6/17 12:06 PM, Francis Dupont wrote: > Jason Lixfeld writes: >> However, running -t said syntax was OK. > => -t does not check everything, for instance hook parameters. Hi Jason: Hook parameters only have meaning to the hook libraries which consumes them, making it problematic for the kea