Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Kea implementation

    Scheduled Pinned Locked Moved Plus 23.09 Development Snapshots (Retired)
    21 Posts 7 Posters 2.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • RobbieTTR
      RobbieTT
      last edited by

      Switching to the Kea implementation could not have been easier. I have statics, reserved addresses, DHCP4 + DHCP6 and 4 subnets. Tick box, hit save and everything still works as before. Excellent. ๐Ÿ‘

      The new Kea logs are filled with these messages:

      Oct 4 19:21:52	kea-dhcp4	71383	INFO [kea-dhcp4.dhcpsrv.0x322exxxxxxxx] EVAL_RESULT Expression pool_opt1_0 evaluated to 1
      Oct 4 19:21:52	kea-dhcp4	71383	INFO [kea-dhcp4.dhcpsrv.0x322exxxxxxxx] EVAL_RESULT Expression pool_opt3_0 evaluated to 1
      Oct 4 19:21:52	kea-dhcp4	71383	INFO [kea-dhcp4.dhcpsrv.0x322exxxxxxxx] EVAL_RESULT Expression pool_lan_0 evaluated to 1
      Oct 4 19:21:33	kea-dhcp4	71383	INFO [kea-dhcp4.dhcpsrv.0x322exxxxxxxx] EVAL_RESULT Expression pool_opt1_0 evaluated to 1
      Oct 4 19:21:33	kea-dhcp4	71383	INFO [kea-dhcp4.dhcpsrv.0x322exxxxxxxx] EVAL_RESULT Expression pool_opt3_0 evaluated to 1
      Oct 4 19:21:33	kea-dhcp4	71383	INFO [kea-dhcp4.dhcpsrv.0x322exxxxxxxx] EVAL_RESULT Expression pool_lan_0 evaluated to 1
      Oct 4 19:21:32	kea-dhcp6	72081	INFO [kea-dhcp6.dhcpsrv.0x3da4xxxxxxxx] EVAL_RESULT Expression pool_opt1_0 evaluated to 1
      Oct 4 19:21:32	kea-dhcp6	72081	INFO [kea-dhcp6.dhcpsrv.0x3da4xxxxxxxx] EVAL_RESULT Expression pool_opt1_0 evaluated to 1
      Oct 4 19:21:32	kea-dhcp6	72081	INFO [kea-dhcp6.dhcpsrv.0x3da4xxxxxxxx] EVAL_RESULT Expression pool_opt3_0 evaluated to 1
      Oct 4 19:21:32	kea-dhcp6	72081	INFO [kea-dhcp6.dhcpsrv.0x3da4xxxxxxxx] EVAL_RESULT Expression pool_opt3_0 evaluated to 1
      Oct 4 19:21:32	kea-dhcp6	72081	INFO [kea-dhcp6.dhcpsrv.0x3da4xxxxxxxx] EVAL_RESULT Expression pool_lan_0 evaluated to 1
      Oct 4 19:21:32	kea-dhcp6	72081	INFO [kea-dhcp6.dhcpsrv.0x3da4xxxxxxxx] EVAL_RESULT Expression pool_lan_0 evaluated to 1
      Oct 4 19:21:20	kea-dhcp4	71383	INFO [kea-dhcp4.dhcpsrv.0x322exxxxxxxx] EVAL_RESULT Expression pool_opt1_0 evaluated to 1
      Oct 4 19:21:20	kea-dhcp4	71383	INFO [kea-dhcp4.dhcpsrv.0x322exxxxxxxx] EVAL_RESULT Expression pool_opt3_0 evaluated to 1
      Oct 4 19:21:20	kea-dhcp4	71383	INFO [kea-dhcp4.dhcpsrv.0x322exxxxxxxx] EVAL_RESULT Expression pool_lan_0 evaluated to 1
      Oct 4 19:21:03	kea-dhcp4	71383	INFO [kea-dhcp4.dhcpsrv.0x322exxxxxxxx] EVAL_RESULT Expression pool_opt1_0 evaluated to 1
      Oct 4 19:21:03	kea-dhcp4	71383	INFO [kea-dhcp4.dhcpsrv.0x322exxxxxxxx] EVAL_RESULT Expression pool_opt3_0 evaluated to 1
      Oct 4 19:21:03	kea-dhcp4	71383	INFO [kea-dhcp4.dhcpsrv.0x322exxxxxxxx] EVAL_RESULT Expression pool_lan_0 evaluated to 1
      Oct 4 19:20:46	kea-dhcp4	71383	INFO [kea-dhcp4.dhcpsrv.0x322exxxxxxxx] EVAL_RESULT Expression pool_opt1_0 evaluated to 1
      Oct 4 19:20:46	kea-dhcp4	71383	INFO [kea-dhcp4.dhcpsrv.0x322exxxxxxxx] EVAL_RESULT Expression pool_opt3_0 evaluated to 1
      Oct 4 19:20:46	kea-dhcp4	71383	INFO [kea-dhcp4.dhcpsrv.0x322exxxxxxxx] EVAL_RESULT Expression pool_lan_0 evaluated to 1
      Oct 4 19:20:33	kea-dhcp4	71383	INFO [kea-dhcp4.dhcpsrv.0x322exxxxxxxx] EVAL_RESULT Expression pool_opt1_0 evaluated to 1
      Oct 4 19:20:33	kea-dhcp4	71383	INFO [kea-dhcp4.dhcpsrv.0x322exxxxxxxx] EVAL_RESULT Expression pool_opt3_0 evaluated to 1
      Oct 4 19:20:33	kea-dhcp4	71383	INFO [kea-dhcp4.dhcpsrv.0x322exxxxxxxx] EVAL_RESULT Expression pool_lan_0 evaluated to 1
      Oct 4 19:20:30	kea-dhcp6	72081	INFO [kea-dhcp6.dhcpsrv.0x3da4xxxxxxxx] EVAL_RESULT Expression pool_opt1_0 evaluated to 1
      Oct 4 19:20:30	kea-dhcp6	72081	INFO [kea-dhcp6.dhcpsrv.0x3da4xxxxxxxx] EVAL_RESULT Expression pool_opt1_0 evaluated to 1
      Oct 4 19:20:30	kea-dhcp6	72081	INFO [kea-dhcp6.dhcpsrv.0x3da4xxxxxxxx] EVAL_RESULT Expression pool_opt3_0 evaluated to 1
      Oct 4 19:20:30	kea-dhcp6	72081	INFO [kea-dhcp6.dhcpsrv.0x3da4xxxxxxxx] EVAL_RESULT Expression pool_opt3_0 evaluated to 1
      Oct 4 19:20:30	kea-dhcp6	72081	INFO [kea-dhcp6.dhcpsrv.0x3da4xxxxxxxx] EVAL_RESULT Expression pool_lan_0 evaluated to 1
      Oct 4 19:20:30	kea-dhcp6	72081	INFO [kea-dhcp6.dhcpsrv.0x3da4xxxxxxxx] EVAL_RESULT Expression pool_lan_0 evaluated to 1
      Oct 4 19:20:23	kea-dhcp4	71383	INFO [kea-dhcp4.dhcpsrv.0x322exxxxxxxx] EVAL_RESULT Expression pool_opt1_0 evaluated to 1
      Oct 4 19:20:23	kea-dhcp4	71383	INFO [kea-dhcp4.dhcpsrv.0x322exxxxxxxx] EVAL_RESULT Expression pool_opt3_0 evaluated to 1
      Oct 4 19:20:23	kea-dhcp4	71383	INFO [kea-dhcp4.dhcpsrv.0x322exxxxxxxx] EVAL_RESULT Expression pool_lan_0 evaluated to 1
      

      I presume this is just Kea 'info' noise that can be ignored, albeit cluttering the log?

      M 1 Reply Last reply Reply Quote 0
      • M
        michmoor LAYER 8 Rebel Alliance @RobbieTT
        last edited by

        @RobbieTT How does your experience match up to whats missing according to the documentation? https://docs.netgate.com/pfsense/en/latest/releases/23-09.html#rn-23-09-kea

        So for example there is no DNS Resolver/Forwarder Registration.
        Have you tried running DHCP Server and Relay at the same time?

        Firewall: NetGate,Palo Alto-VM,Juniper SRX
        Routing: Juniper, Arista, Cisco
        Switching: Juniper, Arista, Cisco
        Wireless: Unifi, Aruba IAP
        JNCIP,CCNP Enterprise

        RobbieTTR 1 Reply Last reply Reply Quote 0
        • RobbieTTR
          RobbieTT @michmoor
          last edited by RobbieTT

          @michmoor said in Kea implementation:

          @RobbieTT How does your experience match up to whats missing according to the documentation?

          I don't use Relay, so not best placed to answer that. I don't register dynamic addresses with the resolver either, due to the previous resolver cache restart issue.

          I've not checked to see if the resolver registers the static DHCP reservations from Kea though, rather than having to learn them as it goes. I will look into that, if I can.

          I'm now 2 days into using Kea and I have no substantive issues with it. I turned it on with an eye on the boot environment snapshots but the sky didn't fall in or anything.

          I have had issues with HomeKit in the past (solved with the use of DHCPv6 and a tweaked RA) but Kea hasn't perturbed it at all.

          Yes, colour me surprised but it has all been good so far. Even UniFi seems content with the change.

          โ˜•๏ธ

          [All presuming my Kea logs are just noise but someone more knowledgeable will have to clarify that bit.]

          1 Reply Last reply Reply Quote 0
          • M
            marcosm Netgate
            last edited by

            It's just noise. At some point, a setting will be added to the GUI to control the verbosity. As Kea gets tested and issues are found, the higher verbosity should help resolve them.

            RobbieTTR 1 Reply Last reply Reply Quote 1
            • RobbieTTR
              RobbieTT @marcosm
              last edited by

              @marcosm

              Understood and as transitions go this was a very good one. ๐Ÿ‘

              โ˜•๏ธ

              1 Reply Last reply Reply Quote 0
              • dennypageD
                dennypage
                last edited by

                Quick question: The release notes currently indicate that Local DNS Resolver Registration for DHCP clients is not yet implemented. Does this apply to static mappings as well? Or just to dynamic leases? Thanks

                M 1 Reply Last reply Reply Quote 0
                • M
                  marcosm Netgate @dennypage
                  last edited by

                  @dennypage We'll need to clarify that. Hostnames in static leases aren't supported either currently.

                  RobbieTTR 1 Reply Last reply Reply Quote 1
                  • stephenw10S
                    stephenw10 Netgate Administrator
                    last edited by

                    I think you mean client IDs? Static mappings appear to resolve as expected. With host names.

                    dennypageD 1 Reply Last reply Reply Quote 1
                    • RobbieTTR
                      RobbieTT @marcosm
                      last edited by RobbieTT

                      @marcosm

                      As above, hostnames work without issue and the static/reservations seem to register correctly with DHCP.

                      I don't register DHCP leases in the DNS resolver, so that bit I have not tested with Kea.

                      โ˜•๏ธ

                      1 Reply Last reply Reply Quote 0
                      • stephenw10S
                        stephenw10 Netgate Administrator
                        last edited by

                        I do and can confirm they don't work yet. Which is expected.
                        I didn't realise how much I was relying on that feature. ๐Ÿ˜‰

                        1 Reply Last reply Reply Quote 1
                        • dennypageD
                          dennypage @stephenw10
                          last edited by

                          @stephenw10 Just to ensure I am not misunderstanding, what I am hearing is that configuration is currently expected to work with Kea. Is this correct?

                          Screenshot 2023-10-14 at 13.20.43.png

                          1 Reply Last reply Reply Quote 0
                          • stephenw10S
                            stephenw10 Netgate Administrator
                            last edited by

                            Yes, that's correct.

                            It's trivial to switch back to ISC if you do hit some issue that's unworkable.

                            Steve

                            dennypageD 1 Reply Last reply Reply Quote 2
                            • dennypageD
                              dennypage @stephenw10
                              last edited by

                              @stephenw10 Thank you Steve. Much appreciated.

                              1 Reply Last reply Reply Quote 0
                              • stephenw10S
                                stephenw10 Netgate Administrator
                                last edited by

                                After further digging it appears that static mappings from kea are not actually supported.

                                However if you switch from ISC to Kea existing mappings will still be resolvable as the hosts file still contains them. Any additional mappings added will not be though.

                                RobbieTTR dennypageD 2 Replies Last reply Reply Quote 0
                                • RobbieTTR
                                  RobbieTT @stephenw10
                                  last edited by

                                  @stephenw10
                                  Ok, that is a gotcha for now.

                                  โ˜•๏ธ

                                  1 Reply Last reply Reply Quote 0
                                  • dennypageD
                                    dennypage @stephenw10
                                    last edited by

                                    @stephenw10 said in Kea implementation:

                                    However if you switch from ISC to Kea existing mappings will still be resolvable as the hosts file still contains them. Any additional mappings added will not be though.

                                    That kinda kills it for me. DHCP is the source of almost all hostname/ipaddr mapping for my network.

                                    RobbieTTR 1 Reply Last reply Reply Quote 1
                                    • RobbieTTR
                                      RobbieTT @dennypage
                                      last edited by

                                      @dennypage
                                      I hope it is an easy fix...

                                      โ˜•๏ธ

                                      1 Reply Last reply Reply Quote 0
                                      • stephenw10S
                                        stephenw10 Netgate Administrator
                                        last edited by

                                        It's not really a fix, it's more like adding a feature. Ultimately we should end up with something much better using Kea and Unbound that what we have currently. Something something dhcpleases.... ๐Ÿ˜‰

                                        I'm not sure when we will have that. The introduction of Kea in 23.09 is to find whatever issues will inevitably be present by exposing it to far more users. But that will probably require dhcp leases resolvable for many test long term.

                                        Steve

                                        J 1 Reply Last reply Reply Quote 0
                                        • J
                                          jaltman @stephenw10
                                          last edited by

                                          @stephenw10 said in Kea implementation:

                                          The introduction of Kea in 23.09 is to find whatever issues will inevitably be present by exposing it to far more users. But that will probably require dhcp leases resolvable for many test long term.

                                          If that is the reason then in my opinion Kea should be labeled as "Experimental" in the UI and ISC should not be labled as "Deprecated". "Deprecated" means that the functionality is still present and is no longer supported. It doesn't mean we plan to get rid of it when its replacement is ready.

                                          jimpJ 1 Reply Last reply Reply Quote 2
                                          • jimpJ
                                            jimp Rebel Alliance Developer Netgate @jaltman
                                            last edited by

                                            @jaltman said in Kea implementation:

                                            "Deprecated" means that the functionality is still present and is no longer supported.

                                            That is exactly what the situation is -- the ISC daemon is still present, but no longer supported (by ISC in this case).

                                            It doesn't mean we plan to get rid of it when its replacement is ready.

                                            Anything marked "deprecated" is eligible for eventual removal. Such things are not left in place indefinitely. There is no hard ETA on when ISC will be removed, however, just at some future time after Kea is feature complete.

                                            So far FreeBSD hasn't marked the port deprecated or given it a removal date, so there isn't any upstream pressure there (yet) from FreeBSD, but it would be nice to only have to worry about the currently supported daemon (Kea) sooner rather than later.

                                            Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                                            Need help fast? Netgate Global Support!

                                            Do not Chat/PM for help!

                                            J 1 Reply Last reply Reply Quote 1
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.