Re: [Kea-users] Logger not found in Stork

2023-10-13 Thread Marcin Siodelski
k ticket to address this issue in 1.14. I don't see any workaround for it other than use an older Kea version that doesn't use the new alias. Marcin Siodelski Sr. Software Engineer, ISC On 13.10.2023 08:28, DDFR | Ronald Blaas wrote: Hi all, I already asked a question about this on the sstork

Re: [Kea-users] HA survivor not taking over avec after communication interrupted with partner

2023-10-09 Thread Marcin Siodelski
-configuration In your failover scenario, please make sure that after the communication failure the clients properly set the `secs` field value upon retransmissions. If you want to bypass this mechanism, you can set the `max-unacked-clients` to 0. Marcin Siodelski Senior Software Engineer ISC

Re: [Kea-users] Stork does not see new dhcp4 subnet

2023-09-08 Thread Marcin Siodelski
arcin - Original Message - From: "Apu" To: kea-users@lists.isc.org Sent: Thursday, September 7, 2023 5:39:29 AM Subject: Re: [Kea-users] Stork does not see new dhcp4 subnet On 9/6/23 15:52, Marcin Siodelski wrote: > As I earlier suggested, it would be good to verify that

Re: [Kea-users] Stork does not see new dhcp4 subnet

2023-09-06 Thread Marcin Siodelski
This log is only an evidence that the new subnet hasn't been pulled from the Kea server into the Stork database. The stats periodically returned to Stork contain the stats for this subnet but Stork doesn't seem to know that this subnet exists, and logs this error. This is, however, a result

Re: [Kea-users] Stork does not see new dhcp4 subnet

2023-09-05 Thread Marcin Siodelski
ion` and check whether or not the new subnet is visible in the JSON tree. Kind Regards, Marcin Siodelski ISC On 4.09.2023 22:30, Apu wrote: kea 2.4.0 and stork 1.12.0 kea-dhcp4 -t /etc/kea/kea-dhcp4.conf shows my original six subnets (subnet IDs 171, 172, 173, 174, 175 & 176, all of which are /19

Re: [Kea-users] Load-Balancing Network issue between Relay and Kea

2023-01-09 Thread Marcin Siodelski
is always a possibility that the true failure won't be detected or a false failure will be detected, leading to a split-brain situation. It would be useful if you could please open tickets in Gitlab to describe your failover scenarios and the desired behavior. Please disregard it if you have alrea

Re: [Kea-users] Kea-Lease documentation

2022-12-22 Thread Marcin Siodelski
red. Such a lease is available for new allocation. Kind Regards, Marcin Siodelski Sr. Software Engineer ISC -- ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information. To unsubscribe visit https://lists.isc.org/m

Re: [Kea-users] Unable to re-allocate address

2021-07-08 Thread Marcin Siodelski
tistic-default-sample-age": 0, >     "statistic-default-sample-count": 20, >     "store-extended-info": false, >     "subnet4": [ >       { >         "4o6-interface": "", >         "4o6-interface-id": "",

Re: [Kea-users] Unable to re-allocate address

2021-07-06 Thread Marcin Siodelski
? Finally, please provide your Postgres database version. Kind Regards, Marcin Siodelski DHCP Software Engineer, ISC On 06.07.2021 18:28, Gordon Ross wrote: > On the off chance, I tried an upgrade to Kea 1.9.9 and the problem persists. > > Gordon. > > On 05/07/2021, 16:16, "

Re: [Kea-users] HA lease updates not working after upgrade to 1.8

2020-11-04 Thread Marcin Siodelski
. This release is tentatively scheduled for November 12th. One way would be to try 1.9.1, but this is a development release. Another way is to wait for a fix to come in 1.8.1. Marcin Siodelski ISC W dniu 04.11.2020 o 16:15, Marcin Siodelski pisze: > Christian, > > Can you please let me

Re: [Kea-users] HA lease updates not working after upgrade to 1.8

2020-11-04 Thread Marcin Siodelski
Christian, Can you please let me know what lease database backend you're currently using? Marcin Siodelski ISC W dniu 04.11.2020 o 14:24, Christian Schuldt pisze: > Hey, > > I updated one of our Kea hot-standby HA pairs from 1.6 to 1.8 and now HA > lease-updates to the standby serv

Re: [Kea-users] Kea Agent Centos 7

2020-08-26 Thread Marcin Siodelski
Good. Glad it worked. Marcin W dniu 26.08.2020 o 20:52, Jordan Tinsley pisze: > End user error on my part.  I was trying - > > systemctl enable isc-kea-agent & systemctl start isc-kea-agent > > We are good now.  Appreciate the help! > > Thanks! > > On 8/26

Re: [Kea-users] Kea Agent Centos 7

2020-08-26 Thread Marcin Siodelski
line says for 2.2.4 > Initial Setup of the Stork Agent  - > > With those settings in place, the |Stork Agent| service can be enabled > and started: > > $ sudo systemctl enable isc-stork-server > $ sudo systemctl start isc-stork-server > > > On 8/26/2020 12:

Re: [Kea-users] Kea Agent Centos 7

2020-08-26 Thread Marcin Siodelski
with it and if the agent logged any errors. Marcin Siodelski ISC W dniu 26.08.2020 o 19:38, Jordan Tinsley pisze: > Okay, I have a separate server instance setup with Stork Server working > just fine. > > I installed a new separate server instance with Stork agent (agent.env > configured

Re: [Kea-users] MySQL Error

2020-05-29 Thread Marcin Siodelski
t; Thanks for your help. > > I need to use mysql as I would like to use stork. > > Regards, > > David > > On Fri, 29 May 2020 at 10:59, Marcin Siodelski <mailto:mar...@isc.org>> wrote: > > Hello David, > > Thanks for using Kea and reporting

Re: [Kea-users] MySQL Error

2020-05-29 Thread Marcin Siodelski
Hello David, Thanks for using Kea and reporting your issue. Looking at the configuration snippet you provided it seems you didn't provide a name for the lease database. Perhaps you intended to use the memfile (rather than mysql) lease backend? Kind Regards, Marcin Siodelski Sr. Software Engineer

Re: [Kea-users] KEA HA

2020-05-22 Thread Marcin Siodelski
Hi Dirk, Thank you for your interest in Kea. Not sure if this is short how-to per your standards, but Kea ARM should be a good start to get familiar with High Availability topic in Kea: https://kea.readthedocs.io/en/latest/arm/hooks.html#ha-high-availability Kind Regards, Marcin Siodelski Sr

Re: [Kea-users] Failed to Sync lease updates from primary to backup in Hot-standby mode in V1.5.0

2020-04-03 Thread Marcin Siodelski
. Therefore, I think it must be something else. If you could provide us with the logs of BOTH DHCP servers it could shed some more light on the cauase of your problem. Kind Regards, Marcin Siodelski Sr. Software Engineer ISC On 03/04/2020 07:21, luckydog xf wrote: > I corrected both serve

Re: [Kea-users] Failed to Sync lease updates from primary to backup in Hot-standby mode in V1.5.0

2020-04-02 Thread Marcin Siodelski
r which transitioned to the "terminated" state (e.g. as a result of too high clock skew) will not transition out of this state automatically, even if the clocks get synchronized. It must be stopped and started again. Perhaps, the primary server wasn't restarted after syncing the clocks? Marcin S

Re: [Kea-users] Kea lease4-get-all via kea-ctrl-agent

2020-03-03 Thread Marcin Siodelski
rvice" parameter must be present in all commands sent to the DHCP servers. Marcin Siodelski Sr. Software Engineer ISC On 03/03/2020 09:24, Peter Simm wrote: > Hello, > > Thanks for the suggestion, unfortunately it doesn't seem to work either :( > >  curl -X POST -H "Cont

Re: [Kea-users] HA: Which server "owns" the lease

2019-09-09 Thread Marcin Siodelski
be useful for diagnostics, so I would like to encourage you to create the Gitlab issue for it and we will discuss this within the team members on our regular meeting. See: https://gitlab.isc.org/isc-projects/kea Kind Regards, Marcin Siodelski ISC Engineering On 09/09/2019 12:51, Bjørn Skovlund

Re: [Kea-users] KEA not send a NAK when request ip is out of scope

2019-08-30 Thread Marcin Siodelski
Thomas, Please refer to the following Kea ARM section for the details regarding authoritative/non-authoritative behavior: https://kea.readthedocs.io/en/latest/arm/dhcp4-srv.html#authoritative-dhcpv4-server-behavior Setting authoritative flag to true should solve your problem. Marcin Siodelski

Re: [Kea-users] DHCPv6 vendor-specific options

2019-07-19 Thread Marcin Siodelski
;   ], > >   > >   "option-data": [ > >     { > >   "name": "vendor-opts", > > "data": "26484" > >     }, > >     { > > "name": "FND&quo

Re: [Kea-users] DHCPv6 vendor-specific options

2019-07-19 Thread Marcin Siodelski
ot;vendor-26484" in the option definition and option data section would make any difference for you? Kind Regards, Marcin Siodelski Sr. Software Engineer ISC On 19/07/2019 14:06, Laurent Aubert (laaubert) wrote: > HI, > >   > > I’m struggling to configure my DHCP server to

Re: [Kea-users] Host reservations, bootfilename and client classes

2019-05-08 Thread Marcin Siodelski
Hello Branimir, Please see inline. On 07/05/2019 16:14, brna62petsto wrote: > Hello Marcin, > > Thanks for your reply. What mkangelo and I are trying to do is to replace > Microsoft DHCP server which has a feature to create host reservations with > two option 67 values which are served to the

Re: [Kea-users] Fwd: Memory leak on dhcp6

2019-05-08 Thread Marcin Siodelski
? Thanks, Marcin On 07/05/2019 10:49, Nitzan Tzelniker wrote: > Thanks for your support.  > Unless I miss it in the logs it might also be a good idea to have error > message if both servers have the same server-id  > > Thanks > > Nitzan > > On Tue, May 7, 2019 a

Re: [Kea-users] Use perfdhcp to test IoT DHCP server?

2019-05-07 Thread Marcin Siodelski
, Rick Graham wrote: > Looks like dnsmasq is running on the same host where perfdhcp was > launched. I'm not sure how/if I can change this at the moment. > > On Tue, May 7, 2019 at 1:23 PM Marcin Siodelski <mailto:mar...@isc.org>> wrote: > > This seems to indica

Re: [Kea-users] Fwd: Memory leak on dhcp6

2019-05-06 Thread Marcin Siodelski
to 28% within an hour but I don't know how many packets the server has received and processed to reach that level. If you can provide the average DHCP traffic rate we can craft the test that best mirrors your situation and confirm whether or not we see the same thing. Thanks in advance, Marcin

Re: [Kea-users] Subnets in MySQL/MariaDB

2019-05-06 Thread Marcin Siodelski
/designs/configuration%20in%20db%20design Marcin Siodelski DHCP Software Engineer, ISC On 05/05/2019 01:45, Jan Sielemann wrote: > Hello everyone, > > I'm relatively new to KEA. I just wanted to check out the follow-up to > DHCPD, especially because of the ability to store host-

Re: [Kea-users] Use perfdhcp to test IoT DHCP server?

2019-05-06 Thread Marcin Siodelski
use the default, perfdhcp may not handle it very well (depending on what the server sets as the source and destination IP address in the DHCPACK). Marcin Siodelski DHCP Software Engineer, ISC On 05/05/2019 00:44, Rick Graham wrote: > I compiled/installed v1.5 and I need a bit more help us

Re: [Kea-users] problem with INIT_REBOOT

2019-05-06 Thread Marcin Siodelski
Supplementing the answer from Dave, I am sending the link to the documentation which clarifies the server's behavior depending on the authoritative flag setting: https://jenkins.isc.org/job/Kea_doc/guide/kea-guide.html#dhcp4-authoritative Hope that helps. Marcin Siodelski DHCP Software

Re: [Kea-users] Host reservations, bootfilename and client classes

2019-05-06 Thread Marcin Siodelski
> > > Example JSON config (classes and reservation - used for testing): > > > > > > -- > Sent from: http://kea-users.7364.n8.nabble.com/ > ___ > Kea-users mailing list > Kea-users@li

Re: [Kea-users] Kea 1.5 with MySQL Cluster

2019-05-06 Thread Marcin Siodelski
ticket: https://gitlab.isc.org/isc-projects/kea/issues/593 to consider the code and/or schema changes to better facilitate cases like yours and possibly remove the UPDATE CASCADE, but that has to be discussed between the Kea developers first. Marcin Siodelski DHCP Software Engineer, ISC On 29/04

Re: [Kea-users] got unexpected keyword "control-socket" in DhcpDdns map.

2019-03-07 Thread Marcin Siodelski
the confusion. The Management API for the D2 server will be available in the 1.6.0 release. Marcin Siodelski Sr. Software Engineer ISC On 07/03/2019 09:36, Ivan Sy wrote: > root@server1:/usr/local/etc/kea # /usr/local/etc/rc.d/kea restart > INFO/keactrl: Stopping kea-dhcp4... > INFO/keactrl: Sto

Re: [Kea-users] Kea 1.4.0-P1-3 kea-ctrl-agent crashing on Ubuntu 18.10

2019-01-20 Thread Marcin Siodelski
the example configurations. Did you see the examples in the doc/examples/kea4/ha-load-balancing-primary.json and the doc/examples/kea6/ha-hot-standby.json ? Kind Regards, Marcin Siodelski Senior Software Engineer ISC On 20/01/2019 13:21, russell aspinwall wrote: > Hi, > > After fixing my config

Re: [Kea-users] HA Load Balancing not working

2018-10-08 Thread Marcin Siodelski
of different clients should be at least 20. That way, 10 should send DHCP queries to the dead server. Kind Regards, Marcin Siodelski ISC DHCP Engineering On 08.10.2018 15:07, sven.roeh...@web.de wrote: >   > >   > > Hi, > > i have a setup with 2 KEA servers in load-bala

Re: [Kea-users] kea and ha modes

2018-10-08 Thread Marcin Siodelski
Hello Philippe, Thanks for your inquiry. Please see my answers inline. Kind Regards, Marcin Siodelski ISC DHCP Engineering On 05.10.2018 09:02, Philippe Maechler wrote: > hello kea users > >   > > I’m once again looking for a way to make our dhcp setup more stable. >

Re: [Kea-users] Bug in the leases4_committed hook ?

2018-09-21 Thread Marcin Siodelski
will store at most one lease. Marcin Siodelski DHCP Engineering ISC On 21.09.2018 14:55, Hreiðar Jóelsson wrote: > Hi, I’m any of you had problems with the leases4_committed hook? I’m > getting strange errors using it. If I simply try to log some message > from it I’m getting the follow

Re: [Kea-users] Enable lease affinity with MySQL backend

2018-09-14 Thread Marcin Siodelski
same lease. That involves C++ coding though. Kind Regards, Marcin Siodelski DHCP Engineering ISC On 13.09.2018 23:40, Tim St. Pierre wrote: > Has anyone been able to get lease affinity to work with a MySQL backend? > > I am using 1.3 for dhcpv4 and dhcpv6, and whenever a client issues a &

Re: [Kea-users] kea-dhcp4 1.4.0-P1 HA features

2018-09-13 Thread Marcin Siodelski
nse-delay": 1, >                     "max-ack-delay": 5, >                     "max-unacked-clients": 5, >                     "peers": [ >                         { >                             "name": "dhcp-11", >            

Re: [Kea-users] Basic Question: Using the Control Agent

2018-08-13 Thread Marcin Siodelski
ontent type. Not to mention that it wouldn't send any command that Kea can understand. Hope that helps, Marcin Siodelski ISC Engineering ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] DHCP4 not starting or writing log file

2018-07-17 Thread Marcin Siodelski
Kea server is installed. After the server is started and configured successfully, the logging should go to the locations specified in the Kea config files. Marcin Siodelski ISC Engineering On 17.07.2018 16:49, McBride Lawrence wrote: > Centos 7.4 > >   > > *Lawrence McBride* >

Re: [Kea-users] UNIX Socket Not Configured

2018-07-12 Thread Marcin Siodelski
It seems there is a typo in your command line: kea-shell --host 127.0.0.1 --port 8080 –service dhc4 config-get It should be "dhcp4" rather than "dhc4". Marcin Siodelski ISC Engineering On 11.07.2018 21:24, Phoebe Lee wrote: > Hi! > > First time configuring a

Re: [Kea-users] issue with INIT-REBOOT

2018-07-09 Thread Marcin Siodelski
to be a valid behavior. But to be sure we'd need to know what is in the lease database and also how the clients ended up in the INIT-REBOOT state. Marcin Siodelski ISC Engineering On 04.07.2018 13:08, Hieu Nguyen wrote: > Please help me > > 2018-07-01 16:08 GMT+07:00 Hieu Nguyen <mai

Re: [Kea-users] kea-ctrl-agent not able to get information

2018-05-28 Thread Marcin Siodelski
. Some more information can be found here: https://jenkins.isc.org/job/Kea_doc/guide/kea-guide.html#ctrl-channel-client Marcin Siodelski ISC On 27.05.2018 15:23, mAineAc wrote: > I have configured kea dhcp and I am getting leases and I can see this is > working correctly. I can check th

Re: [Kea-users] option 54

2018-05-11 Thread Marcin Siodelski
Hi, I recommend upgrading to Kea 1.3 (or 1.4 in a couple of weeks), which already have this feature: https://kea.isc.org/docs/kea-guide.html#dhcp4-serverid Kind Regards, Marcin Siodelski ISC On 11.05.2018 10:58, Itay Rozenberg wrote: > > After the client gets the address from the dhcp

Re: [Kea-users] Circuit-ID

2018-04-13 Thread Marcin Siodelski
but the value you put under "identifier" is your circuit-id prefixed with 00. This exact case is described in the Kea User's Guide: https://jenkins.isc.org/job/Kea_doc/guide/kea-guide.html#flex-id This is the expression you may use for your custom identifier: "identifier-expressio

Re: [Kea-users] Option 60 vendor class

2018-04-13 Thread Marcin Siodelski
tring values, so it should not be a reason to crash. I think it is going to be hard to rootcause the problem without seeing the actual code. Marcin Siodelski ISC ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] Problems adding the premium package hooks libraries

2018-02-20 Thread Marcin Siodelski
Hello Dyl, The hooks libraries should be located in the Kea installation directory under lib/hooks. Marcin Siodelski ISC On 20.02.2018 21:37, Dylan Masson wrote: > Greetings, > My company has recently purchased the premium package for Kea 1.3.0, and I > have not been able

Re: [Kea-users] kea-ctrl-agent - request by php/curl

2018-02-08 Thread Marcin Siodelski
I am hoping that the only thing that you have to correct is to do this: "service" => [ "dhcp4" ] rather than "service" => "[ dhcp4 ]" Marcin Siodelski ISC On 08.02.2018 15:35, Zayer, Sebastian wrote: > Hey there, > >   > > i’

Re: [Kea-users] Kea LFC not executed anymore after some time (Kea 1.2.0) + other timers

2017-12-04 Thread Marcin Siodelski
to upgrade now would >>>>> be... difficult :/ >>>>> >>>>> >>>>> >>>>>> It would be useful to check if the worker thread triggering timers is >>>>>> still running or died. The kea-dhcp4 process should run main thre

Re: [Kea-users] Adding a lease via the API

2017-12-01 Thread Marcin Siodelski
Munroe, We tried to reproduce your problem with very similar configuration but unsuccessfully. What is the Kea version you're currently using? Marcin On 30.11.2017 14:24, Munroe Sollog wrote: > when I run: > > curl -X POST -H "Content-Type: application/json" -d '{ "command": > "config-get",

Re: [Kea-users] Kea LFC not executed anymore after some time (Kea 1.2.0)

2017-11-30 Thread Marcin Siodelski
updates to the timers scheduling. It would be useful it you >>> could verify whether Kea 1.3.0 also has this issue, but if it is >>> production environment, it is not good for experiments. >>> >>> Marcin >>> >>> On 20.11.2017 10:21, Chaigne

Re: [Kea-users] Manage leases table via the API

2017-11-29 Thread Marcin Siodelski
Hello Munroe, Kea includes an open source hooks library called lease_cmds (see src/hooks/dhcp/lease_cmds) which can be used to manipulate leases in the lease database. Also, see Kea User's Guide: https://jenkins.isc.org/job/Kea_doc/guide/kea-guide.html#lease-cmds Marcin Siodelski ISC

Re: [Kea-users] Can't enable the control agent

2017-11-28 Thread Marcin Siodelski
Control Agent is a separate application that has to be started separately, e.g. ./kea-ctrl-agent -c etc/kea/kea4.conf or using keactrl. Starting DHCPv4 server doesn't automatically start the control agent. If I understand you correctly, you're only starting kea-dhcp4 server. Marcin Siodelski

Re: [Kea-users] [Kea] subnet or shared network selected for multiple relays

2017-11-24 Thread Marcin Siodelski
Unfortunately, it isn't possible for the shared networks too. The shared network pretty much derives parameters from the subnet. Or, maybe I should say a subnet derives from the shared network. Marcin Siodelski ISC On 24.11.2017 18:46, Chaigneau, Nicolas wrote: > Hello, > >   >

Re: [Kea-users] Kea LFC not executed anymore after some time (Kea 1.2.0)

2017-11-20 Thread Marcin Siodelski
FC is still running, so if there's something > you want me to check... feel free to ask :) > > > > -----Message d'origine- > De : Marcin Siodelski [mailto:mar...@isc.org] > > Nicolas, > > Thanks for creating the ticket. We'll have a look and see if we

Re: [Kea-users] Kea LFC not executed anymore after some time (Kea 1.2.0)

2017-11-20 Thread Marcin Siodelski
then > echo "${f1},${f2},${f3},${f4},${f5},${f6}" >> ${TmpFile} > fi > > done < ${MainFile} > > cp -p ${MainFile} ${OldFile} > cp -p ${TmpFile} ${MainFile} > test -e ${TmpFile} && rm ${TmpFile} > > echo " record count (including header record)" > wc -l ${OldFile} > wc -l ${MainFile} > done > > echo " " > ls -al ${DBBaseDir} > > echo " " > keactrl start > > exit 0 > Mike, Were you using "logrotate" when you saw the issue with kea not executing LFC? Thanks, Marcin Siodelski ISC ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] Performance with many subnets and reservations

2017-11-20 Thread Marcin Siodelski
Hi Tino, We appreciate your feedback regarding performance of Kea. We're aware that there are possible performance optimizations in that area. We may possibly add it in the 1.4.0 release. Marcin Siodelski ISC On 20.11.2017 09:59, Tino Lehnig wrote: > We have deployed Kea 1.3 in our environm

Re: [Kea-users] Kea LFC not executed anymore after some time (Kea 1.2.0)

2017-11-17 Thread Marcin Siodelski
is gone? Marcin Siodelski ISC On 17.11.2017 10:41, Chaigneau, Nicolas wrote: > Hello, > > > I've observed the issue again. > > With a Kea server that does not receive any DHCP packet: > At some point, Kea is still running but LFC is no longer executed. > > In

Re: [Kea-users] ignore the broadcast flag in a discover and response with unicast

2017-11-13 Thread Marcin Siodelski
/dhcpv4Hooks.html Marcin Siodelski ISC On 11.11.2017 16:23, Rene Stoutjesdijk wrote: > Good day, > i'm new too the list and couldn't find yet an answer to my challenge, > hopefully you can help. > > Is it possible to setup KEA for DHCPv4 in such a way that: > - if a discover comes in th

Re: [Kea-users] ALLOC_ENGINE_V4_DISCOVER_ADDRESS_CONFLICT - conflicting reservation for address

2017-11-03 Thread Marcin Siodelski
addresses as long as they remain in that state. Marcin Siodelski ISC On 03.11.2017 14:44, Mikael Bjerkeland wrote: > Hi, > > I'm a new Kea user. Just recently upgraded to 1.3.0 and went into > production with DHCPv4 and DHCPv6 reservations and leases stored in > PostgreSQL. >

Re: [Kea-users] Question about reservations, subnet limits and lease control.

2017-10-26 Thread Marcin Siodelski
roduct/kea-hook-1-2/ for details, but note that the latest version supporting indexing leases by flex-id will be available in a couple of days. Marcin Siodelski ISC On 04.10.2017 16:44, Joelson Vendramin wrote: > Hello Marcin, > > > Thank you for your reply! > >> I suggest

Re: [Kea-users] 1.3.0-beta keactrl issues?

2017-10-19 Thread Marcin Siodelski
We have receintly split a default kea.conf configuration file to 4 files: kea-dhcp4.conf, kea-dhcp6.conf etc. for respective Kea services. That impacted the keactrl.conf which now has to hold locations of these 4 files, instead of just one. If you used old version of keactrl.conf it was

Re: [Kea-users] Kea 1.3 beta - Shared Networks Problem?

2017-10-12 Thread Marcin Siodelski
orks for me. However, there are sometimes details of the environment that matter. Anyhow, let me know if you can test it and if you need any assistance in applying the patch. The patch is available here: https://pastebin.com/L4UCM3he I also paste it below for convenience but may have odd line wraps. Than

Re: [Kea-users] kea answers to relay using giaddr instead of source address. any way to fix?

2017-09-28 Thread Marcin Siodelski
On 28.09.2017 13:22, Sergey Klusov wrote: > On Чт 28.09.2017 16:09, Francis Dupont wrote: >>   "test": "relay4[2].text == '100.101.101.0'" >> >> => please try "test": "relay4[2].hex == 100.101.101.0" >> (.text does not return what you want if the (sub-)option is not a string >> and IP address

Re: [Kea-users] kea answers to relay using giaddr instead of source address. any way to fix?

2017-09-28 Thread Marcin Siodelski
On 28.09.2017 11:14, Sergey Klusov wrote: > Hi, i'm using kea-dhcp4 version 1.1.0 from epel repo. > Here is tcpdump: > > 13:35:31.734452 IP (tos 0x0, ttl 63, id 0, offset 0, flags [DF], proto > UDP (17), length 335) >     x.x.x.156.67 > x.x.x.90.67: [udp sum ok] BOOTP/DHCP, Request from >

Re: [Kea-users] Question about reservations, subnet limits and lease control.

2017-09-26 Thread Marcin Siodelski
ddresses until the lease expires. To > workaround this I've configured low values to timers (about 10 min.), but > this increases "the conversation" between clients and the servers. Yes, lowering the lease lifetimes and timers is a good workaround for this. But, I agree there are tradeoffs. Marcin Siodelski ISC ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] debug logging not displaying boot file option in offer

2017-09-26 Thread Marcin Siodelski
for it? Marcin Siodelski ISC On 15.09.2017 21:21, Jason Lixfeld wrote: > Hi, > > For the longest time, I thought I had some odd configuration error because I > would never see bootfile in the options output of the Kea debug, despite me > having set it in the config: > > 2017-09-15 14

[Kea-users] Shared subnets configuration - input needed

2017-08-31 Thread Marcin Siodelski
B. We're planning to close the discussion around Monday/Tuesday next week. We'd appreciate any input before that time. Kind Regards, Marcin Siodelski ISC Engineering Team ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] Setting interface name while running

2017-08-24 Thread Marcin Siodelski
I guess you could simply use the CfgIface object which you retrieve by: CfgMgr::instance()->getStagingCfg()->getCfgIface() and call its use() function to set the interface name which you're planning to use. Marcin Siodelski ISC On 24.08.2017 15:59, Gokulakrishnan Gopalakrishnan wrote: &g

Re: [Kea-users] Getting the interface name in hooks

2017-08-23 Thread Marcin Siodelski
<http://libkea-dhcpsrv.la> <http://libkea-dhcpsrv.la> >     > >     > in src/hooks/dhcp/user_chk/Makefile.am <http://efile.am> and > did a make. >     > >     > I'm getting automake-1.14: command not found. Every time editing >     > Ma

Re: [Kea-users] Getting the interface name in hooks

2017-08-23 Thread Marcin Siodelski
something here? Please correct me if I'm wrong > > > > > On Wed, Aug 23, 2017 at 3:09 PM, Marcin Siodelski <mar...@isc.org > <mailto:mar...@isc.org>> wrote: > > On 23.08.2017 11:24, Gokulakrishnan Gopalakrishnan wrote: > > "interfaces-c

Re: [Kea-users] skip timed out requests

2017-08-21 Thread Marcin Siodelski
On 17.08.2017 14:02, Itay Rozenberg wrote: >   > > Hello list > >   > > Does someone know a way telling kea to skip requests that are waiting in > the  queue more then X seconds ? > >   > There is no such functionality in Kea. The server doesn't check the packets timestamps on arrival.

Re: [Kea-users] kea dhcp4 libmysqlclient segfault

2017-07-21 Thread Marcin Siodelski
On 21.07.2017 18:01, Marcin Siodelski wrote: > On 20.07.2017 19:47, Juan Settecase - Interlink S.R.L. wrote: > > Hi! > > I'm having a problem with my kea-dhcp4 server(s) falling over regularly > > with a segmentation fault (one , the line I'm seeing in the logs is > this:

Re: [Kea-users] kea dhcp4 libmysqlclient segfault

2017-07-21 Thread Marcin Siodelski
would be useful, as well as Kea debug log (severity DEBUG, debuglevel 99) to identify what was the last thing that Kea was doing before the crash. I think there might be additional data needed, but this is a start. If sending sensitive data is a concern, you're free to send it directly to me. Marcin

Re: [Kea-users] No answer from kea

2017-07-20 Thread Marcin Siodelski
ons for IPv4 > > address 172.20.220.85 > > > > 2017-07-20 12:50:51.350 DEBUG [kea-dhcp4.hosts/13276] > > HOSTS_CFG_GET_ALL_ADDRESS4_COUNT using address 172.20.220.85, found 0 > > host(s) > > > > 2017-07-20 12:50:51.350 DEBUG [kea-dhcp4.hosts/13276] > >

Re: [Kea-users] Force DHCP option in response

2017-07-06 Thread Marcin Siodelski
t; their DHCP Request. > > In ISC DHCPD we added within the shared-network configuration: > >append dhcp-parameter-request-list 43; > > Is there anything similar to "append" in Kea? > Arne, This is going to be implemented in Kea 1.3.0 release. See ticket h

Re: [Kea-users] DHCPv6, anybody got it working?

2017-06-19 Thread Marcin Siodelski
ace": "eth0" In the former case, for DHCP messages received from the particular relay agent the server will use the given subnet. In the latter case this subnet will be picked for the messages received on "eth0" interface. Marcin Siodelski ISC Engineering On 19.06.201

Re: [Kea-users] Cisco Nexus 3048 error

2017-05-15 Thread Marcin Siodelski
0.0.2.2) is padded with a leading zeros if needed and is exactly 8 digits long. If you omit the LPAD() function some IP addresses will be truncated and the overall option length will be shorter. Kea will complain that the options are invalid. Please give it a try and let me know if you have furth

Re: [Kea-users] Kea 1.1.0, MySQL and client-id

2017-01-09 Thread Marcin Siodelski
On 09.01.2017 17:46, Olivier Français wrote: > Hi, > > I've apply your patch, recompile and install : it doesn't work. > My device get and IP, but not the reserved IP. > > To test my config, I try host reservation with hw-address : it works. > > The test config : > > { > "Dhcp4": { >

Re: [Kea-users] mysql connection in hooks

2016-12-08 Thread Marcin Siodelski
On 08.12.2016 09:45, Igor Smitran wrote: > @Marcin Siodelski: > > Can you please share your user_chk hook with mysql connection that you > used in webinar? > It would be huge help... > > Thank you, > Igor Smitran > ___ >

Re: [Kea-users] Host reservations in MySQL database

2016-11-28 Thread Marcin Siodelski
d MySQL server. If you don't feel like sharing it with a list, you're free to send it privately. Thanks, Marcin Siodelski ISC ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] Client connectivity problem

2016-11-28 Thread Marcin Siodelski
Toby, Kea performs a lookup of the reservations in two places. Firstly, in a configuration file. If not found, the will use one of the alternative places: MySQL or PostgreSQL. The log fragments you have provided pertain to the phase when the reservation is being looked up in the configuration

Re: [Kea-users] Host reservations and subnet run-time modification

2016-10-20 Thread Marcin Siodelski
est regards, > Rui > > > -- > Hello, Sorry for the delayed response. Can you make it more specific from where you want to remove subnets, options and routes? Marcin Siodelski ISC ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] kea Issues

2016-10-20 Thread Marcin Siodelski
. Host gets needed option just after setting correct host_id in > to MySQL entry. > There is currently no way to specify subnet specific options or class specific options in MySQL. We are aiming to migrate most (if not all) configuration to the database but this is a future. Marcin Siode

Re: [Kea-users] Missing host parameter in kea-admin

2016-10-20 Thread Marcin Siodelski
On 17.10.2016 13:53, Thomas Andersen wrote: > Hi, > > > > The command ’kea-admin lease-version mysql’ allows the following parameters: > > -u or --user name - specifies username when connecting to a database > > -p or --password pass - specifies a password when connecting to a database > >

Re: [Kea-users] Build results of kea 1.1.0-beta on OpenBSD

2016-10-20 Thread Marcin Siodelski
will discuss them internally and update them as needed. Marcin Siodelski ISC ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users

Re: [Kea-users] Headers exported by Kea build.

2016-10-20 Thread Marcin Siodelski
locally. Let me know if you need some assistance. Marcin Siodelski ISC On 20.10.2016 14:12, Ilya Kruglik wrote: > Hi there, > > > I'm not sure if Kea developers are following threads here, however: > > > We are developing hooks/callouts and I've recently figured out that Kea &

Re: [Kea-users] Change in offer packet

2016-10-20 Thread Marcin Siodelski
Thomas, This is not configurable, although it could be because RFC2131 says that server SHOULD send to broadcast address (rather than MUST). The only thing I can suggest to you is to use a hook library that clears the broadcast flag in all incoming messages (in the packet4_receive hook point).

Re: [Kea-users] Build results of kea 1.1.0-beta on OpenBSD

2016-10-04 Thread Marcin Siodelski
r the syslog output, you're correct that the app name is generally used instead of the facility string. Note however that the logging messages themselves contain the application name, e.g. "kea-dhcp6.dhcp6" is a name of the logger which belongs to the "kea-dhcp6" application. Nev

Re: [Kea-users] option 82 based class for lease limits

2016-10-04 Thread Marcin Siodelski
ey. If the client-id has changed, the lease is not granted. Instead, it could return an existing lease or no lease, depending on the desired effect. More about hooks framework is available in Kea Developer's Guide: https://jenkins.isc.org/job/Fedora20_32_doxygen_doc/doxygen/ Marcin Siodelski ISC

Re: [Kea-users] Possible issue with documentation

2016-10-04 Thread Marcin Siodelski
d5/d8c/namespaceisc_1_1dhcp.html#aec4424838e2e5bb397345cdc32c0ef28>, > direction: *in/out* > > -- > Hello, Did you manage to resolve this problem? I am willing to help you sort it out, but it would be useful to have the snippet of the hook library to reproduce it. T

Re: [Kea-users] mysql_config program path for kea

2016-09-30 Thread Marcin Siodelski
location of mysql or my.cnf! On my Centos 7 I successfully used 'whereis' to locate it: $ whereis mysql_config mysql_config: /usr/bin/mysql_config Marcin Siodelski ISC On 30.09.2016 18:32, luke devon wrote: > Hi > > Can somebody help me on identify the correct mysql_co

Re: [Kea-users] kea-dev broken ?

2016-09-30 Thread Marcin Siodelski
the door. Marcin Siodelski ISC On 30.09.2016 17:51, Chaigneau, Nicolas wrote: > Hello, > > > > > > Is mailing list kea-dev broken ? > > > > I didn’t receive anything since the last mail I sent on September 15th. > > > > > > I’ve check

Re: [Kea-users] Lease database filename is being ignored.

2016-09-09 Thread Marcin Siodelski
Try "name" instead of the "file". Marcin Siodelski ISC Dnia 9 września 2016 22:01:54 Adam Twardowski <atwardow...@choopa.com> napisał(a): I'm trying to run kea with memfile lease database with persist: true, but when kea starts up it tries to open the file it was

Re: [Kea-users] Host reservation "hostname"

2016-09-05 Thread Marcin Siodelski
sc.org/docs/kea-guide.html#dhcp4-ddns-config for details. This rule also applies to statically assigned/reserved hostnames. We may need to improve the doc to make it more clear. The question is, though, whether you have some use case when the hostnames need to be returned to the clients when DNS

Re: [Kea-users] "filename" vs "option bootfile-name"

2016-09-03 Thread Marcin Siodelski
Therefore, we decided to add generic support for it. Currently, the siaddr, sname and file can be all defined for a host or for a class. The siaddr can also be specified on a subnet level. We may also need to add support for sname and file being specified on a subnet level. Not sure if global entr

Re: [Kea-users] Invalid DHCP Server Identifier: 0.0.0.0

2016-08-31 Thread Marcin Siodelski
outer > Length: 4 > Router: 10.128.224.1 > Option: (6) Domain Name Server > Length: 8 > Domain Name Server: 8.8.8.8 > Domain Name Server: 8.8.4.4 > Option: (51) IP Address Lease Time > Length: 4 > IP Address Lease Ti

Re: [Kea-users] Reservations not being assigned

2016-08-16 Thread Marcin Siodelski
cation, none of the first two is available for the server. Thus, the server will use the local IP address assigned to the interface on which it has received the packet to select the subnet. If that address happens to be the one that matches subnet with ID 2, it will pick this subnet. Since, there

  1   2   >