• isc-dhcpd to kea migration issue

    From Charles Curley@21:1/5 to All on Sun Jul 27 05:50:01 2025
    I am looking at migrating from the ISC DHCP server to its replacement,
    kea. I have installed keama, and can generate a kea configuration file.

    My kea file had a number of problems, most of which I have been able to
    solve. So far so good.

    I have one problem I have not been able to solve:

    /// This configuration declares some subnets but has no interfaces-config
    /// Reference Kea #245

    Where do I find "Reference Kea #245"? I have searched on that, on "interfaces-config", and several other likely keywords.


    --
    Does anybody read signatures any more?

    https://charlescurley.com
    https://charlescurley.com/blog/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Todd Zullinger@21:1/5 to Charles Curley on Sun Jul 27 06:40:02 2025
    Charles Curley wrote:
    I am looking at migrating from the ISC DHCP server to its replacement,
    kea. I have installed keama, and can generate a kea configuration file.

    My kea file had a number of problems, most of which I have been able to solve. So far so good.

    I have one problem I have not been able to solve:

    /// This configuration declares some subnets but has no interfaces-config
    /// Reference Kea #245

    Where do I find "Reference Kea #245"? I have searched on that, on "interfaces-config", and several other likely keywords.

    I know very little about Kea, but I guessed that was a
    reference to an issue or a merge request. The kea project
    is on gitlab, so pulling up their issues and viewing 245
    looks like it's what they refer to:

    https://gitlab.isc.org/isc-projects/kea/-/issues/245

    --
    Todd

    -----BEGIN PGP SIGNATURE-----

    iHUEARYIAB0WIQSvlwC4tRNlCF6x+moHOcdGE+n45gUCaIWqFQAKCRAHOcdGE+n4 5pAoAQDNw/ySFEJCeN+/A185W5tCbL2wukn8Vl9FFRaYFXSfFAEAuGlXfrgfTGT4 b07kB5GEKvH94CTN3XF6nWoBb5dZ2gI=
    =0HWG
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andy Smith@21:1/5 to Charles Curley on Sun Jul 27 18:10:02 2025
    Hi,

    On Sun, Jul 27, 2025 at 09:39:03AM -0600, Charles Curley wrote:
    https://gitlab.isc.org/isc-projects/kea/-/issues/245

    Bingo. Thank you.

    How are you finding use of kea, in general? I too will have to make the
    move at some point.

    Thanks,
    Andy

    --
    https://bitfolk.com/ -- No-nonsense VPS hosting

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Charles Curley@21:1/5 to Todd Zullinger on Sun Jul 27 17:40:01 2025
    On Sun, 27 Jul 2025 00:25:03 -0400
    Todd Zullinger <[email protected]> wrote:

    I know very little about Kea, but I guessed that was a
    reference to an issue or a merge request. The kea project
    is on gitlab, so pulling up their issues and viewing 245
    looks like it's what they refer to:

    https://gitlab.isc.org/isc-projects/kea/-/issues/245

    Bingo. Thank you.

    --
    Does anybody read signatures any more?

    https://charlescurley.com
    https://charlescurley.com/blog/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Nicolas George@21:1/5 to All on Sun Jul 27 19:30:01 2025
    Andy Smith (HE12025-07-27):
    How are you finding use of kea, in general? I too will have to make the
    move at some point.

    Speaking for myself (but agreeing with a few friends), I say I do not
    want tu run this monster:

    The following NEW packages will be installed:
    ca-certificates kea-common kea-dhcp4-server libldap-common libldap2
    liblog4cplus-2.0.5t64 libmariadb3 libpq5 libsasl2-2 libsasl2-modules
    libsasl2-modules-db mariadb-common mysql-common openssl
    0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded.
    Need to get 7544 kB of archives.
    After this operation, 27.2 MB of additional disk space will be used.

    Especially when this is available:

    The following NEW packages will be installed:
    busybox udhcpd
    0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
    Need to get 499 kB of archives.
    After this operation, 948 kB of additional disk space will be used.

    Regards,

    --
    Nicolas George

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andy Smith@21:1/5 to Nicolas George on Sun Jul 27 20:00:01 2025
    Hi,

    On Sun, Jul 27, 2025 at 07:28:36PM +0200, Nicolas George wrote:
    Andy Smith (HE12025-07-27):
    How are you finding use of kea, in general? I too will have to make the move at some point.

    Speaking for myself (but agreeing with a few friends), I say I do not
    want tu run this monster:

    The following NEW packages will be installed:
    ca-certificates kea-common kea-dhcp4-server libldap-common libldap2
    liblog4cplus-2.0.5t64 libmariadb3 libpq5 libsasl2-2 libsasl2-modules
    libsasl2-modules-db mariadb-common mysql-common openssl
    0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded.
    Need to get 7544 kB of archives.
    After this operation, 27.2 MB of additional disk space will be used.

    If it has the ability to use MySQL/MariaDB, PostgreSQL and LDAP then I
    don't see how in Debian it can avoid depending upon their libraries.

    Maybe it could be better to have a plugin architecture and separately
    package each thing as a plugin, e.g. a hypothetical kea-ldpa-backend
    that depends upon libldap2 etc., but there are reasons why some
    developers don't like plugins so I'm not that surprised.

    Especially when this is available:

    The following NEW packages will be installed:
    busybox udhcpd

    I'll have to look in to whether it has all the features I need, but it
    is a good suggestion, thanks.

    Andy

    --
    https://bitfolk.com/ -- No-nonsense VPS hosting

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Charles Curley@21:1/5 to Andy Smith on Sun Jul 27 19:40:01 2025
    On Sun, 27 Jul 2025 16:07:01 +0000
    Andy Smith <[email protected]> wrote:

    How are you finding use of kea, in general? I too will have to make
    the move at some point.

    Frustrating.

    I was able to run keama to convert from isc-dhcp to kea. But I haven't
    found any general advice on "if you hit this problem, do this". I doubt
    very much I am hitting novel problems. In one sense, there is too much documentation: the nugget I need is buried in a lot of other
    information.

    I decided to shelve that for the nonce, and just install kea and see
    what was generated or installed by way of configuration. I am slowly
    proceeding with that. I make one change at a time, then "systemctrl reload-or-restart kea-dhcp4-server.service" to test, with journalctl
    running in another terminal. So it will be slow going.

    One possible gotcha: I have dnsmasq installed as part of libvirt. It
    binds to the physical port, which is unnecessary for its mission (the
    virtual network). I had to hunt that down and shut it off before the kea
    server would start. libvirt bug?

    Perhaps a Debian Wiki page is in order? As is a relevant update to the DHCP_Server page. https://wiki.debian.org/DHCP_Server

    --
    Does anybody read signatures any more?

    https://charlescurley.com
    https://charlescurley.com/blog/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Charles Curley@21:1/5 to john doe on Sun Jul 27 21:00:02 2025
    On Sun, 27 Jul 2025 20:48:14 +0200
    john doe <[email protected]> wrote:

    Just thinking out loud, why don't you use Dnsmasq for everything?

    An interesting thought. If this gets too frustrating, I'll look into it.

    --
    Does anybody read signatures any more?

    https://charlescurley.com
    https://charlescurley.com/blog/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Nicolas George@21:1/5 to All on Sun Jul 27 20:20:01 2025
    Andy Smith (HE12025-07-27):
    If it has the ability to use MySQL/MariaDB, PostgreSQL and LDAP then I
    don't see how in Debian it can avoid depending upon their libraries.

    Vim has the ability to use Gtk+3, but when you install vim, you do not
    see apt trying to pull Gtk+3 too: Debian builds several variants of the
    package with various options enabled or disabled.

    The same thing would be possible here:

    apt-get install kea-tiny
    apt-get install kea-full

    Maybe it could be better to have a plugin architecture and separately
    package each thing as a plugin, e.g. a hypothetical kea-ldpa-backend
    that depends upon libldap2 etc., but there are reasons why some
    developers don't like plugins so I'm not that surprised.

    Run-time plugins are work. Build-time optional features are a lot less
    work.

    I'll have to look in to whether it has all the features I need, but it
    is a good suggestion, thanks.

    Please share your conclusions.

    Regards,

    --
    Nicolas George

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Charles Curley@21:1/5 to Andy Smith on Sun Jul 27 21:00:02 2025
    On Sun, 27 Jul 2025 17:49:56 +0000
    Andy Smith <[email protected]> wrote:

    If it has the ability to use MySQL/MariaDB, PostgreSQL and LDAP then I
    don't see how in Debian it can avoid depending upon their libraries.

    kea can indeed use either MySQL or PostresSQL, but you don't have to.
    The documentation says you can use flat text files. That appears to be
    what I am using now.

    --
    Does anybody read signatures any more?

    https://charlescurley.com
    https://charlescurley.com/blog/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andy Smith@21:1/5 to Nicolas George on Sun Jul 27 21:10:01 2025
    Hi,

    On Sun, Jul 27, 2025 at 08:10:11PM +0200, Nicolas George wrote:
    Vim has the ability to use Gtk+3, but when you install vim, you do not
    see apt trying to pull Gtk+3 too: Debian builds several variants of the package with various options enabled or disabled.

    The same thing would be possible here:

    apt-get install kea-tiny
    apt-get install kea-full

    I can see why no one has volunteered to do that packaging work though,
    given the relatively small user base of kea and the work it would be to separate out three different backends. I expect that it happens with the
    likes of vim because of the relatively large constituency of users that
    would want vim but not gvim, for example.

    Having to have some unused packages installed personally doesn't put me
    off but I can see why it might put some people off. Perhaps if there is
    some sufficiently motivated user then the maintainers might be open to
    such a split.

    Thanks,
    Andy

    --
    https://bitfolk.com/ -- No-nonsense VPS hosting

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)