Re: [Kea-users] DHCPv4 - respond to option 108 without allocating leases

2024-05-22 Thread Dan Oachs via Kea-users
Yes, for option 108 to work and have an IPv6-mostly network, you need an IPv4 pool available. I believe Kea needs to temporarily allocate an IP address for the DHCP request, then the client rejects or ignores it if the client supports being on an IPv6 only network. If the pool has no addresses

Re: [Kea-users] lease4-del

2024-03-28 Thread Dan Oachs via Kea-users
I can delete a lease by doing this... kea-shell (lots of options followed by) lease4-del Then I hit enter and type"ip-address": "XXX.XXX.XXX.XXX" Then hit enter and control-d That seems to work for me. I'm sure there are other probably better ways to make it work as well. --Dan On Thu,

Re: [Kea-users] dhcp4 config file and ip reservation

2024-01-16 Thread Dan Oachs
If I understand what you are doing correctly, yes, it will work. I am running a kea server the same way. All the configuration is in the config files and the host reservations are in the MySQL database. --Dan On Tue, Jan 16, 2024 at 9:18 AM mtint hpc wrote: > Hi All, > > I am interested in

Re: [Kea-users] dhcp4 server stops responding to a device

2024-01-16 Thread Dan Oachs
Is that device using BOOTP instead of DHCP by any chance? If so, you might need the Bootp kea hook library. But that's just a guess. --Dan On Tue, Jan 16, 2024 at 6:08 AM Gavin Davenport wrote: > I have a “Wiser smart hub” > https://wiser.draytoncontrols.co.uk/smart-heating-kits > > > >

Re: [Kea-users] Problems trying to implement RFC 8925 (v6-only-preferred)

2023-07-31 Thread Dan Oachs
Ah, ok. In my experience, devices that don't support DHCP option 108, are not ready to live on an ipv6 only network, and need some sort of ipv4 to function. --Dan On Mon, Jul 31, 2023 at 1:42 PM Brian Candler wrote: > On 31/07/2023 19:32, Dan Oachs wrote: > > I'm confused. What is

Re: [Kea-users] Problems trying to implement RFC 8925 (v6-only-preferred)

2023-07-31 Thread Dan Oachs
I'm confused. What is the issue with Kea offering v6 only clients an ipv4 address? The client will not accept the ipv4 address and kea will not reserve that IP address for them. The end result is a drastic reduction in ipv4 pool usage. At least, that's how it is working for me. Thanks, Dan

Re: [Kea-users] Problems trying to implement RFC 8925 (v6-only-preferred)

2023-07-28 Thread Dan Oachs
I'm a little confused about what you are trying to do. What don't you like about the way it is working now? I have also configured an "ipv6-mostly" network and have kea doing the option 108 thing and am happy with the way it is all working. --Dan On Fri, Jul 28, 2023 at 2:12 PM Brian Candler

Re: [Kea-users] Getting Started: Dual-stack Dynamic DNS Updates

2023-03-03 Thread Dan Oachs
I can't answer most of your questions, but I can tell you that the fd75:81b2:5386:4f06::/64 subnet is part of the Unique Local Address ( ULA ) range for IPv6. And you are correct, that is somewhat akin to rfc1918 space. They should only be

Re: [Kea-users] DHCPv4 Conflict resolution on MAC change

2023-01-30 Thread Dan Oachs
That's basically the same situation we are in. It would be awesome if there was a configuration option in Kea to tell the server that it should immediately expire a lease if there is a request for a static reservation that conflicts with an existing lease. But maybe there are issues with that

Re: [Kea-users] DHCPv4 Conflict resolution on MAC change

2023-01-27 Thread Dan Oachs
We have run into the same issue when replacing hardware. Luckily for us our lease times are in the range of a few hours instead of days, but it would still be nice to have a better solution for this. -- Dan Oachs On Fri, Jan 27, 2023 at 7:27 AM Veronique Lefebure < veronique.lefeb...@cern

Re: [Kea-users] Monitoring a Kea cluster

2023-01-03 Thread Dan Oachs
s Specialist* > Direct: 605.990.1859 > eric.gra...@vantagepnt.com > > -- > *From:* Kea-users on behalf of Dan > Oachs > *Sent:* Tuesday, January 3, 2023 9:25 AM > *To:* Stefan G. Weichinger > *Cc:* kea-users@lists.isc.org > *

Re: [Kea-users] Monitoring a Kea cluster

2023-01-03 Thread Dan Oachs
I have noticed something similar with our Kea servers. Running Kea 2.0.3 on Rocky Linux 8.7 After a server reboot dhcpv6 is running but not handing out leases. There is some issue with the way things start up and the firewall blocking packets. My current workaround is to add a few lines in

Re: [Kea-users] How to best update the KEA configuration on a HA hot-standby KEA setup

2022-11-18 Thread Dan Oachs
thanks for these interesting hints! > A last question then: how do you notify KEA processes (kea-dhcp4, > kea-dhcp6) in case you modify any of you json files ? with a "reload" > command ? > Thanks, > Veronique > -- > *From:* Dan Oachs >

Re: [Kea-users] How to best update the KEA configuration on a HA hot-standby KEA setup

2022-11-17 Thread Dan Oachs
gt; We have client classes with a test expression that depends on the mac > addresses of the clients. > Can these classes be stored in the database as well ? > > Thanks, > Veronique > > > -- > *From:* Dan Oachs > *Sent:* Thursday, November 17, 202

Re: [Kea-users] How to best update the KEA configuration on a HA hot-standby KEA setup

2022-11-17 Thread Dan Oachs
dresses), hence the list of > host-reservations is quite volatile. > > Véronique > ------ > *From:* Dan Oachs > *Sent:* Wednesday, November 16, 2022 6:31 PM > *To:* Veronique Lefebure > *Cc:* kea-users@lists.isc.org > *Subject:* Re: [Kea-users] How

Re: [Kea-users] How do I install and configure ISC Kea DHCP Server on RHEL 9.0?

2022-11-16 Thread Dan Oachs
server today. --Dan On Tue, Nov 15, 2022 at 9:09 PM Turritopsis Dohrnii Teo En Ming < tdtemc...@gmail.com> wrote: > On Tue, 15 Nov 2022 at 15:51, Kenneth Porter > wrote: > > > > On 11/14/2022 7:53 AM, Dan Oachs wrote: > > > > I would start by installing the cl

Re: [Kea-users] How to best update the KEA configuration on a HA hot-standby KEA setup

2022-11-16 Thread Dan Oachs
I am curious why you are updating the config every 5 minutes. We used to do that with our old DHCP server, but with Kea we moved to storing reservations in a database. That way we rarely need to make changes to the actual Kea configuration that would necessitate a reload of the config. --Dan

Re: [Kea-users] How to best update the KEA configuration on a HA hot-standby KEA setup

2022-11-16 Thread Dan Oachs
If you really wanted to make sure the standby was serving requests during that period, you could try starting and stopping via the ha-maintenance-start command. I don't do it that frequently, but I run that command before installing updates and rebooting the main kea server. --Dan On Wed, Nov

Re: [Kea-users] How do I install and configure ISC Kea DHCP Server on RHEL 9.0?

2022-11-14 Thread Dan Oachs
I would strongly suggest going with Kea. I have Kea running on RHEL 8. I would start by installing the cloudsmith repository and then you can use yum/dnf to install kea: https://cloudsmith.io/~isc/repos/kea-2-2/setup/#formats-rpm Once you have kea installed, follow the Kea documentation here:

Re: [Kea-users] dhcp6 address assignment

2022-10-19 Thread Dan Oachs
ek > > > > > > Sent with Proton Mail secure email. > > --- Original Message --- > On Wednesday, October 19th, 2022 at 19:12, perl-list < > perl-l...@network1.net> wrote: > > > > > > - Original Message - > > > > > From:

Re: [Kea-users] dhcp6 address assignment

2022-10-18 Thread Dan Oachs
Have you looked at using multiple reservations for the same IP? Would that solve any of your issues? https://kea.readthedocs.io/en/latest/arm/dhcp6-srv.html?highlight=unique#multiple-reservations-for-the-same-ip --Dan On Tue, Oct 18, 2022 at 1:15 PM Marek Greško via Kea-users <

Re: [Kea-users] dhcp6 address assignment

2022-10-18 Thread Dan Oachs
address assigned to it, the address might change depending on what host it is connected to :( Thanks, Dan Oachs On Tue, Oct 18, 2022 at 1:15 PM Marek Greško via Kea-users < kea-users@lists.isc.org> wrote: > Hello, > > I am in a phase of migration ISC DHCPD into kea and

Re: [Kea-users] problems enabling HA Hot-Standby setup (OPEN)

2022-03-22 Thread Dan Oachs
On Tue, Mar 22, 2022 at 8:28 AM Bohnenberger, Mark < mark.bohnenber...@bechtle.com> wrote: > Do have configured the kea-ctrl-agent, which is responsible for the > activation / communication of the RESTful service? > > > > Mark > > > > > > *Von:* Kea-users

Re: [Kea-users] problems enabling HA Hot-Standby setup (OPEN)

2022-03-22 Thread Dan Oachs
That looks very similar to my setup which is working. Are you sure the kea service is not listening on port 8000? One way to check would be with "lsof -i -P| grep kea-dhcp" and look for a line showing the hostname:8000 (LISTEN). If the service is listening, then perhaps there is a firewall

Re: [Kea-users] Unable to send DHCPOFFER packet

2022-03-08 Thread Dan Oachs
I feel like I had a similar error message when the firewall on my system was not allowing the traffic. Another possibility would be selinux if you have that enabled. --Dan On Tue, Mar 8, 2022 at 11:24 AM Dustin Berube wrote: > Thanks Chad & Bob, I'm replying to the list to update the thread.

Re: [Kea-users] How to add a second subnet?

2022-03-03 Thread Dan Oachs
Have you looked at the example configuration files? On my server there are a bunch of good example files in /usr/share/doc/isc-kea/examples/kea4 If you can find an example that is similar to what you are trying to do, it might make it easier. --Dan On Thu, Mar 3, 2022 at 7:21 AM Stephen Berg,

Re: [Kea-users] IPv6 High Availability hooks library not accepting ipv6 address in square brackets for peers?

2022-02-25 Thread Dan Oachs
Thanks. I should know better than ask for help without mentioning the version number I am running. :)That looks exactly like the error I am seeing. Good to know it should get fixed in the next update. I am using version 2.0.1. Thanks, Dan Oachs On Fri, Feb 25, 2022 at 4:08 PM Peter

[Kea-users] IPv6 High Availability hooks library not accepting ipv6 address in square brackets for peers?

2022-02-25 Thread Dan Oachs
uot;basic-auth-password": "passwordhere","url": "http://[2001:db8::1]:8080/","role": "primary"} Do I have the configuration wrong, or is there a bug here? Hopefully I am missing something simple. Thanks, Dan Oachs -- ISC funds the deve

Re: [Kea-users] DHCPSRV_NO_SOCKETS_OPEN problem

2022-02-18 Thread Dan Oachs
I am running kea 2.0.1 on Rocky Linux 8.5. My interfaces option is set to: "interfaces": ["eth0"] And I have ip helper addresses set for all the vlans to point dhcp traffic to this server. Are you 100% sure there is not some other process or dhcp server listening on port 67 on your