Re: [Kea-users] [EXTERNAL] Re: Question regarding to HA for kea-dhcp6 VMs

2024-03-05 Thread Darren Ankney
Hi, This question is slightly beyond me, but I did find this: https://gitlab.isc.org/isc-projects/kea/-/blob/master/src/lib/dhcp/pkt_filter_inet6.cc#L111 so it might be operating system dependant. I'm sure someone will be along to correct me in the (somewhat likely) case that I am wrong.

Re: [Kea-users] Option-18 flex-id not matching incoming values

2024-03-05 Thread Darren Ankney
Hi Andrew, It looks like your option 18 isn't being attached by the relay agent. it seems to be in the DHCP packet proper. Perhaps try this? "identifier-expression": "option[18].hex" I'm not sure if that will work or not. I think option 18 is supposed to be attached by the relay agent:

Re: [Kea-users] [EXTERNAL] Re: Question regarding to HA for kea-dhcp6 VMs

2024-03-05 Thread Erik Edwards via Kea-users
For the list, does it open the v6 socket in V6_ONLY=TRUE mode or will it accept mapped v4 addresses? On 3/5/24 14:37, Darren Ankney wrote: Hi Yu, Can you share your kea-ctrl-agent configuration?  You actually send these commands to the kea-ctrl-agent which then forwards the commands to

[Kea-users] Option-18 flex-id not matching incoming values

2024-03-05 Thread Andrew Mulheirn via Kea-users
I hope someone can help me with this issue. I am using Kea 2.4 I am trying to get option-18 to match a DHCPv6 static reservation, but Kea is evaluating the option to "" and no address is being allocated. We have purchased the premium hooks package. I have got the same result on two

[Kea-users] Problem using 'config-set' in API

2024-03-05 Thread Andrew Mulheirn via Kea-users
Hi, I am trying to use the API and reading it seems to work fine. However, when I write to it using a config-set action, it seems to stop working until I restart the service. Here is an example of what I am sending in the API call. I am trying to add an IP address reservation for a device

Re: [Kea-users] Problem using 'config-set' in API

2024-03-05 Thread Veronique Lefebure
Hi, config-set will rewrite the whole config file. You cannot "append" a configuration bit. To do so you need to use the API. Cheers, V. From: Kea-users on behalf of Andrew Mulheirn via Kea-users Sent: Tuesday, March 5, 2024 10:06 AM To: kea-users@lists.isc.org

Re: [Kea-users] Questions about config DHCP4

2024-03-05 Thread Darren Ankney
Hi, > > 2. In the log, I just keep the basic output [path]file.log. Is it > possible to have the output file in local + a syslog (for the headquarters). > If yes, how I am supposed to write it? You can add multiple output blocks to a single log configuration such that the output could go

Re: [Kea-users] Problem using 'config-set' in API

2024-03-05 Thread Wlodek Wencel
Hi, the reservation-add command will accomplish what you need. However, it's important to note that if you're utilizing a JSON configuration backend, you must use the config-write command to save any reservations added via the reservation-add command. Failing to do so will result in the loss

Re: [Kea-users] Problem using 'config-set' in API

2024-03-05 Thread Andrew Mulheirn via Kea-users
Hi Veronique - Thanks very much! I have since discovered that I can use 'reservation-add' instead, which achieves what I need. That seems to be additive for host reservations. Kind regards, Andy Andrew Mulheirn Senior Network Architect M: +44 (0) 74 3654 8126 E: