Re: [Kea-users] Overlapping Subnets

2024-07-29 Thread Peter Davies
Hi Matt,    Both subnets have the same name, "192.0.2.0/24" This is what Kea complains about. If you need to duplicate address space, you will have to change the name of one of these to, for example, "subnet": "192.0.2.1/24" Kind Regards Peter -- Peter Da

Re: [Kea-users] Sockets not creating when starting kea-ctrl-agent

2024-07-25 Thread Peter Davies
Hi Jonathan,    This is incorrect; the sockets are defined with the "control-socket" configuration element in the kea-dhcp4/kea-dhcp6 config file. See: https://kea.readthedocs.io/en/kea-2.6.0/arm/dhcp4-srv.html#management-api-for-the-dhcpv4-server Kind Regards Peter -- Peter Davi

Re: [Kea-users] Sockets not creating when starting kea-ctrl-agent

2024-07-24 Thread Peter Davies
20.254, port 8000, control sockets: dhcp4 dhcp6, requires basic HTTP authentication, 0 lib(s): DEBUG DCTL_RUN_PROCESS Control-agent starting application event loop INFO CTRL_AGENT_STARTED Kea Control Agent version 2.2.1 started DEBUG COMMAND_REGISTERED Command list-commands registered DEBUG COMMAND_R

Re: [Kea-users] config Kea via database.

2024-07-23 Thread Peter Davies
fix for Gitlab #3481 "Subnet DHCP options in the config backend are not correctly encapsulated when fetched from the config backend" which  affects vendor-encapsulated options saved to the CB. See: https://gitlab.isc.org/isc-projects/kea/-/issues/3481 Kind Regards Peter Peter Dav

Re: [Kea-users] config Kea via database.

2024-07-19 Thread Peter Davies
XX",                                         "never-send": false,                                         "space": "vendor-encapsulated-options-space"                                     } Kea is sending 43 with missing data. Thanks in advance. -- Peter Davies Support En

Re: [Kea-users] Reservation lookup fails

2024-07-01 Thread Peter Davies
identifiers": ["hw-address"],     "reservations-global": false,     "reservations-in-subnet": true,     "reservations-out-of-pool": true, -- Peter Davies Support Engineer Internet Systems Corporation -- ISC funds the development of thi

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

2024-05-22 Thread Peter Davies
  ] Kind Regards Peter On 22/05/2024 07.30, Lexi Winter wrote: "option-data": [ { "name": "v6-only-preferred", "data": "3

Re: [Kea-users] High memory utilization for Kea server / Stork agent

2024-05-14 Thread Peter Davies
:00.09 /usr/sbin/kea-dhcp4 -c /etc/kea/kea-dhcp4.conf  20587 _kea   20   0  507M 19292 14552 S  0.0  0.2  0:00.08 /usr/sbin/kea-dhcp4 -c /etc/kea/kea-dhcp4.conf Regards Marek -- Peter Davies Support Engineer Internet Systems Corporation -- ISC funds the development of this software with

Re: [Kea-users] vendor class for Meraki AP

2024-05-14 Thread Peter Davies
, direction? Working my way through https://kea.readthedocs.io/en/latest/arm/classify.htmlbut I'm not sure I fully understand the vendor options concept of all this...especially in resolving my isseu. CS, cs.temp.m...@gmail.com -- Peter Davies Support Engineer Internet Systems Corporation -

Re: [Kea-users] How to compile ISC KEA as shared object lib

2024-04-19 Thread Peter Davies
IP Routes tables and IP neighbor tables ? Any suggestions and guidance from the community is highly appreciated. With Regards Anil Kumar S N -- Peter Davies Support Engineer Internet Systems Corporation -- ISC funds the development of this software with paid support subscriptions. Contact us

Re: [Kea-users] migrating from DHCPd to Kea

2024-04-18 Thread Peter Davies
best practices. thanks for the help and effort, brendan On 4/17/24 5:49 AM, Peter Davies wrote: Hi Brendan,    It is not possible to see any details from this logging. You should check your haproxy configuration, Kea cannot continue processing requests if it is unable to connect to the lease datab

Re: [Kea-users] migrating from DHCPd to Kea

2024-04-17 Thread Peter Davies
requests and how Kea is processing them.  As all your reservations are global, you should define  "reservations-global": true,"  the default is false.  All pools are guarded by client classes. The client may not be associated with  any of these classes. /Peter -- Peter Davies S

Re: [Kea-users] Kea-dhcp4-server service failed after debian update

2024-04-16 Thread Peter Davies
+41 44 6354812 fabio.sno...@mls.uzh.ch <mailto:fabio.sno...@mls.uzh.ch> *From:*Kea-users *On Behalf Of *Peter Davies *Sent:* Dienstag, 16. April 2024 13:15 *To:* kea-users@lists.isc.org *Subject:* Re: [Kea-users] Kea-dhcp4-server service failed after debian update Hi Fabio,    What v

Re: [Kea-users] migrating from DHCPd to Kea

2024-04-16 Thread Peter Davies
ed through. what info should i provide, to understand where i have issues to address?  i am running Kea 2.4.0 on fedora 38. thanks in advance, brendan -- Peter Davies Support Engineer Internet Systems Corporation -- ISC funds the development of this software with paid support subscription

Re: [Kea-users] Kea-dhcp4-server service failed after debian update

2024-04-16 Thread Peter Davies
bio - Fabio Snozzi University of Zurich Department of Molecular Life Sciences Department of Quantitative Biomedicine Winterthurerstrasse 190 CH-8057 Zurich Switzerland IT Services Office Y32-F-01 Phone +41 44 6354812 fabio.sno...@mls.uzh.ch <mailto:fabio.sno...@mls.uzh.ch> -- Pet

Re: [Kea-users] DHCP NAK through relay option 82

2024-04-05 Thread Peter Davies
cted by missing RAI options. Kind Regards Peter On 04/04/2024 16.07, Jeff Kletsky wrote: "relay": { "ip-address": "10.11.12.13" }, -- Peter Davies Support Engineer Internet Systems Corporation -- ISC funds the development of this software with paid support subscri

Re: [Kea-users] DHCP NAK through relay option 82

2024-04-04 Thread Peter Davies
response with NAK, because packet doesn't match to subnet rule criteria. In the logs I see message "ailed to select a subnet for incoming packet, src 100.64.1.1, type DHCPREQUEST" Is there a way to configure kea to accept renewal requests if lease already exists and mac address of a cli

Re: [Kea-users] Multiple-Storage Extension

2023-12-24 Thread Peter Davies
Hi Carsten, The reference to multiple-storage extensions refers to the ability to define more than one host reservation database. The "hosts-database": {}; statement contains the definition of one database, The "hosts-databases": []; statement can contain more than one "host-database" defin

Re: [Kea-users] multiple MACs to same IP

2023-10-11 Thread Peter Davies
On Mon, Oct 9, 2023 at 11:47 PM Peter Davies wrote: Hi -m,     You can use the "ip-reservations-unique": false, See: https://kea.readthedocs.io/en/kea-2.4.0/arm/dhcp4-srv.html#multiple-reservations-for-the-same-ip Perfect! Thank you for the assist. Would the develop

Re: [Kea-users] migration questions

2023-10-10 Thread Peter Davies
0 Oct 2023, at 09:40, Peter Davies wrote: Hi Daniel,   The "domain-name-servers" option expects a list of IP addresses. Kea does not  resolve domain names as dhcpd did.  See: https://kea.readthedocs.io/en/kea-2.4.0/arm/dhcp4-srv.html#standard-dhcpv4-options i got it, forgot that

Re: [Kea-users] migration questions

2023-10-09 Thread Peter Davies
isc-dhcp: option FBSD.conf-path code 5 = text; becomes:    "option-def": [ ...      {    "space": "FBSD",    "name": "conf-path",    "code": 5,    "type": "string"  }, so far so good, but then …      

Re: [Kea-users] multiple MACs to same IP

2023-10-09 Thread Peter Davies
ddress: multiple records were found in the database where only one was expected for query get_host_subid_addr Am I missing something to allow this particular configuration? Or is it not possible in Kea (to do what was possible in ISC DHCPD)? Thanks for any help! -m -- Peter Davies Support

Re: [Kea-users] running isc-kea in different netns

2023-07-27 Thread Peter Davies
Hi Abdallah, I'm afraid I don't know, but if the plugin can be configured to send DHCP traffic to a Kea server, I guess it should. I suggest performing a suitable test. Kind Regards Peter From: "Khebchi Abdallah" To: "Peter Davies" Sent: Thursday, 27 Ju

Re: [Kea-users] running isc-kea in different netns

2023-07-27 Thread Peter Davies
Hi Abdallah, The following client class should match the string. "client-classes" [ { "name": "rabah-class", "test": "substring(option[61].hex,-9,all) == '@test1.io'" } ] Kind Regards Peter From: "Khebchi Abdallah"

Re: [Kea-users] running isc-kea in different netns

2023-07-27 Thread Peter Davies
Hi Abdallah , What version of Kea are you running? What does your configuration file look like? What does the Kea log report? Kind Regards Peter From: "Khebchi Abdallah" To: "Kea-users@lists.isc.org" Sent: Wednesday, 26 July, 2023 20:47:33 Subject: [Kea-users] running isc-kea in differ

[Kea-users] Kea 2.4.0, a new stable production release of Kea, is now available

2023-07-05 Thread Peter Davies
Hello Kea-users subscribers: Usually, we don't duplicate posts sent to the kea-announce list on kea-users, but the debut of a new stable release branch doesn't occur that often, so we hope you'll forgive us this time. We'll go back to our usual practice of confining the announcements to the an

Re: [Kea-users] COMMAND_SOCKET_WRITE_FAIL

2023-06-15 Thread Peter Davies
Hi Shobhith You echo the command to /opt/tcpwave/timsdhcp/kea4-ctrl-socket But according to your Kea configuration socket-name": "/opt/dhcp/dhcp/kea4-ctrl-socket" If this is a typo you may find extra info in your Kea log file Kind Regards Peter -- ISC funds the development of this softwar

Re: [Kea-users] Kea HA issue with terminating connection

2023-06-12 Thread Peter Davies
Hi Sebastian, Apart from the value of "this-server-name", the configuration on both servers ought be identical. Could you check that this is so? Kind Regards Peter -- ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ fo

Re: [Kea-users] Dropping the packets in load balancing

2023-05-16 Thread Peter Davies
Hi Kraishak, Looking at your log file, it appears that "Server A" only saw one unacked client, so it didn't transform to a partner-down state. I see several HA_COMMUNICATION_INTERRUPTED_CLIENT4 messages but only one HA_COMMUNICATION_INTERRUPTED_CLIENT4_UNACKED message. 2023-05-15 16:07:30.12

Re: [Kea-users] Dropping the packets in load balancing

2023-05-11 Thread Peter Davies
Hi Kraishak In addition to Darren's excellent suggestion to enable debug logging, you write that the number of "max-unacked-clients" reached 14 during your testing. I wonder if this could be because Kea was waiting for the next "ha-heartbeat" before transitioning. Could you retry your test an

Re: [Kea-users] Dropping the packets in load balancing

2023-05-10 Thread Peter Davies
Hi Kraishak, Why would you want to stop the secondary HA server? What are you trying to achieve? In answer to your questions: 1/2) When a HA server loses its connection to its partner, it starts a "failure detection" process. When the value of max-unacked-clients is not "0", the server uses

Re: [Kea-users] Dropping the packets in load balancing

2023-05-10 Thread Peter Davies
Hi Kraishak, This behaviour is expected when HA is configured in "load-balancing" mode. Under normal operations, the two Kea servers divide the clients between them. The server decides which clients they need to respond to based on a hash of the client identifier; this is often the client's M

Re: [Kea-users] kea 2.0.3 dhcp4 HA not working

2023-04-20 Thread Peter Davies
gards Peter On 20/04/2023 19.13, vom513 wrote: FYI - I sent the below to the list with the 4 attachments but it’s awaiting moderator approval (total size was a bit above the limit). If it doesn’t come through I will post these up somewhere http accessible. On Apr 20, 2023, at 12:28 PM, Peter

Re: [Kea-users] kea 2.0.3 dhcp4 HA not working

2023-04-20 Thread Peter Davies
/2023 16.48, vom513 wrote: On Apr 20, 2023, at 3:14 AM, Peter Davies wrote: Hi - It will be difficult to see what is happening at the log level you have configured. I suggest you change the log level to DEBUG and the severity level to 99. Sending this logging to a file would also be he

Re: [Kea-users] kea 2.0.3 dhcp4 HA not working

2023-04-20 Thread Peter Davies
lt logging format). Issue https://gitlab.isc.org/isc-projects/kea/-/issues/1364 ; this issue was addressed in Kea 1.9.0. So I don't think it applies here. NB there is an illegal character in the lease-database definition:     "type": "memfile”, Kind Regards Peter --

Re: [Kea-users] IPv6 Address Selection from Pool

2023-04-19 Thread Peter Davies
[     {        "hw-address": "11:22:33:aa:bb:cc",        "hostname": "named-host.example.com",        "ip-addresses": [ "fd8a:::b::222::444" ]     }     ]     }     ], Is

Re: [Kea-users] CIDR or range notation in relay lists when using shared-networks?

2023-02-21 Thread Peter Davies
ddresses, but for big networks with lots of relays like ours, it would be very helpful to be able to just add an entire range of IPs and have Kea figure it out automatically. thanks, Klaus -- Peter Davies -- ISC funds the development of this software with paid support subscriptions. Contact us

Re: [Kea-users] Problems setting up HA

2022-11-09 Thread Peter Davies
Hi Tan,   I strongly advise you to read the Kea ARM for a description of the different HA modes and example configurations. see: https://kea.readthedocs.io/en/kea-2.3.2/arm/hooks.html#ha-high-availability-outage-resilience-for-kea-servers Kind Regards Peter On 09/11/2022 15.15, perl-list w

Re: [Kea-users] Problems setting up HA

2022-11-09 Thread Peter Davies
Hi Tan,    Does the "control-socket" definition in your kea-dhcp4 configuration match the "control-socket" definition in the /etc/kea-ctrl-agent.conf file? /Peter On 09/11/2022 11.22, perl-list wrote: Are you running the control agent? Mine shown below is for dhcp6, but i'm sure the config i

Re: [Kea-users] Multiple Subnets on same VLAN

2022-11-09 Thread Peter Davies
dresses": ["10.255.0.3"] },    "subnet4": [ {   // VLAN 1113 -  Node     "subnet": "10.0.4.0/24",     "pools": [ { "pool": "10.0.4.4 – 10.0.4.254" } ],     "option-data": [ { &q

[Kea-users] Kea 2.2.0, a new stable production release of Kea, is now available

2022-07-27 Thread Peter Davies
the announcements to the announcement list as the new branch progresses, but just in case anyone here is NOT also subscribed to that list, you can join it by going to: https://lists.isc.org/mailman/listinfo/kea-announce Peter Davies ISC Support-- ISC funds the development of this softwa

Re: [Kea-users] Including other config files

2022-06-14 Thread Peter Davies
Hi Jason, From the Kea "Administrator Reference Manual" 5.1.1 JSON Syntax ... File inclusion: JSON files can include other JSON files by using a statement of the form . see: https://kea.readthedocs.io/en/latest/arm/config.html#json-syntax /Peter Sent from Outlook ___

Re: [Kea-users] KEA and pxeboot

2022-02-26 Thread Peter Davies
Hi Stephen, This client appears to be directly connected with the server’s eth0 interface. Is 192.168.100.100 an appropriate address for this interface and is dhcp-socket-type “raw”? Kind Regard Peter From: Stephen Berg, Code 7309 via Kea-users Sent: Saturda

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

2022-02-25 Thread Peter Davies
Hi Dan, You don't mention what version of Kea you are running, but I think this may be a known issue. One which was fixed in release 2.1.2 see https://gitlab.isc.org/isc-projects/kea/-/issues/2264 "error parsing url with ipv6 address" Kind Regard Peter Sent from Outlook

Re: [Kea-users] Question

2022-01-14 Thread Peter Davies
Hi Jordan, I believe all current kea packages on cloudsmith.io are compiled with '--with-mysql' From: https://kb.isc.org/docs/isc-kea-packages : We provide the following types of packages: RPMs for RHEL, CentOS, Fedora debs for Debian and ubuntu apk for Alpine Kind Regards Peter Se

Re: [Kea-users] Kea logging if request invalid

2022-01-06 Thread Peter Davies
Hi Joe, You could try something like: ... [ { "name": "kea-dhcp4", "output_options": [ { "output": "/var/log/kea/kea-dhcp6.log", "flush": true }], "severity": "INFO"}, { "name": "kea-dhcp6.bad-packets", "output_options": [ { "output": "/var/l

Re: [Kea-users] Lease affinity of released leases

2021-11-11 Thread Peter Davies
msgtype == 8” } ] /Peter From: Johannes Midgren Sent: 10 November 2021 23:38 To: Peter Davies Cc: egor.gri...@orange.com ; kea-users@lists.isc.org Subject: Re: [Kea-users] Lease affinity of released leases Hi Johannes, If you don't wan

Re: [Kea-users] Lease affinity of released leases

2021-11-10 Thread Peter Davies
Hi Johannes, If you don't want to define host reservations you can give the client very long lease times and get Kea to drop DHCPRELEASE packet /Peter From: Kea-users on behalf of Johannes Midgren Sent: 10 November 2021 15:14 To: egor.gri...@orange.com

Re: [Kea-users] HA with dhcp6

2021-11-08 Thread Peter Davies
Hi Christian, Do you load the "lease_cmds" hooks library in both the kea-dhcp4 and kea-dhcp4 configurations? /Peter From: Kea-users on behalf of BÖSCH Christian Sent: 08 November 2021 09:34 To: kea-users@lists.isc.org Subject: [Kea-users] HA with dhcp6 H

Re: [Kea-users] Kea monitoring possibilities

2021-11-03 Thread Peter Davies
g Kind Regards Peter From: egor.gri...@orange.com Sent: 03 November 2021 10:25 To: Peter Davies ; kea-users Subject: RE: Kea monitoring possibilities 8.8. Statistics in the DHCPv4 Server Sorry, missed that From: Kea-users On Behalf Of Peter Davies Sent: Wednesday,

Re: [Kea-users] ddns rev. zones and required client class

2021-11-03 Thread Peter Davies
Hi again Christian, In reply to 2), try adding the following to the subnet definition: "client-class": "reservation", NB: "reservation" is perhaps not the best choice of name for a client class. Kind Regards Peter From:

Re: [Kea-users] Kea monitoring possibilities

2021-11-03 Thread Peter Davies
Hi Egor, You can use the "statistic-get" api call, see : https://kea.readthedocs.io/en/kea-2.0.0/arm/stats.html#commands-for-manipulating-statistics also: https://kea.readthedocs.io/en/kea-2.0.0/arm/dhcp4-srv.html#statistics-in-the-dhcpv4-server https://kea.readthedocs.io/en/kea-2.0.0/arm/dh

Re: [Kea-users] ddns rev. zones and required client class

2021-11-03 Thread Peter Davies
Hi Christian, DNS updates are performed by the kea-dhcp-ddns (aka d2) process on receipt a "Name Change Request" (NCR). You would need to change the ip address in the NCR sent from Kea to enable sort of behaviour. The behavioral parameters for ddns in kea-dhcp4 configuration are: • ddns-send-up

Re: [Kea-users] Host reservation via Kea control agent API

2021-10-05 Thread Peter Davies
Hi Allan, According the Kea Arm : https://kea.readthedocs.io/en/kea-2.0.0/arm/hooks.html#host-cmds-host-commands "Currently this library is only available to ISC customers with a paid support contract" For more details see: https://www.isc.org/contact/ Kind Regards Peter Sent from Mail

Re: [Kea-users] Example for ifelse in host reservation or class

2021-07-20 Thread Peter Davies
Hi Veronique, "client-classes" within a reservation definition can only contain a list of classes: Can you explain what you are trying to achieve here? There may be another way of accomplishing it. Kind Regards Peter >From "Kea Configuration File Syntax (BNF)": reservation_client_class

Re: [Kea-users] DDNS remains off - DDNS: disabled

2021-05-17 Thread Peter Davies
Hi There, To get ddns working you need to do three things: 1 Configure Connectivity Parameters 2 Configure Behavioral Parameters see 8.2.18 DDNS for DHCPv4 https://kea.readthedocs.io/en/kea-1.8.2/arm/dhcp4-srv.html#ddns-for-dhcpv4 3. Configure the kea-dhcp-ddns, daemon see https://kea.readthedo

Re: [Kea-users] Multiple Config File

2021-05-17 Thread Peter Davies
Hi Onur, What does your config file look like? Something like the following should do what you are looking for: "subnet4": , Kind Regards Peter Sent from Outlook From: Kea-users on behalf of Onur GURSOY Sent: 17 May 202

Re: [Kea-users] Need Help and solution

2021-04-17 Thread Peter Davies
Hi Makhdoom, If you configure the dhcp4 logging to a higher level, such as: "loggers": [ { "name": "kea-dhcp4", "output_options": [ { "output": "/var/log/kea-dhcp4.log", "flush": true }], "severity": "DEBUG",

Re: [Kea-users] Does kea support relay?

2021-04-13 Thread Peter Davies
Hi Grace, Kea contains dhcp servers for IPv4 and IPv6. It does not contain a dhcp relay agent or a dhcp client. Kind Regards Peter Sent from Outlook From: Kea-users on behalf of Yu, Mingli Sent: 13 April 2021 08:22 To: kea-users@lis

Re: [Kea-users] Need Solution

2021-04-12 Thread Peter Davies
Hi Makhdoom, It appears that the configure script is not in your current directory. I have a couple of questions: Are you trying to install Kea from the source tarball or have you installed it already from a package? Could you explain the step you have taken to get where you are now? Kind

Re: [Kea-users] Need guidance

2021-04-11 Thread Peter Davies
H i Makhdoom, "man keacrtl" will show you how to use the "keacrtl" command. How to configure "keactrl" can be found in the Kea Administrators Reference Manual at: https://kea.readthedocs.io/en/kea-1.8.2/ NB: the use of "keacrtl" precludes the use of other service managers such as systemd.

Re: [Kea-users] Need help to install kea dhcp4 in ubuntu.

2021-04-04 Thread Peter Davies
Hi Makhdoom, If you wish to download and build the Kea software from source it is available at : https://www.isc.org/download/ Instructions for compiling and configuring are included in the Kea Arm, which is found at : https://kea.readthedocs.io/en/kea-1.8.2/ If you wish to install from ISC'

Re: [Kea-users] Moving to implementing shared-networks

2020-11-14 Thread Peter Davies
Hi Tim, I notice that you are using "subnet id"s in the "shared network" example whereas in your non "shared network example there appears to be no "subnet id"s. Also the "subnet id"s returned in "stat-lease4-get" call don't seem to match your config? If you are seeing relayed "offers" being s

Re: [Kea-users] New IP address after each reboot

2020-10-19 Thread Peter Davies
Hi Anton, Have you considered dropping the DHCPRELEASE packets instead? You can read how this could be done in Gitlab #606 "Drop packets in DROP class" at https://gitlab.isc.org/isc-projects/kea/-/issues/606 Please refer to the Kea Arm for a discussion on the "DROP" class. Kind Regards Pe