KEA DHCP leases don't behave like ISC DHCP

Started by os914964619, August 18, 2025, 07:33:20 PM

Previous topic - Next topic
Today at 02:56:28 PM #15 Last Edit: Today at 03:01:55 PM by hharry
Quote from: sopex8260 on Today at 02:34:11 PMSo you choose the advanced config under Kea and it doesn't keep the custom changes?

there is no advanced config custom options in Services: Kea DHCP: Kea DHCPv4

If you had read the link i provided earlier, you would have noticed below are the kea DHCP server lease affinity config options we are after.



OPNsense 25.7.1_1-amd64 running on ESXi 6.7 U2 VM, 4Gbytes RAM, 2 x vCPU
frr OSPF + eBGP, IDS, AdGuard Home, sftp-backup plugins. limited kea DHCP server deployment.

Quote from: hharry on Today at 02:56:28 PM
Quote from: sopex8260 on Today at 02:34:11 PMSo you choose the advanced config under Kea and it doesn't keep the custom changes?

there is no advanced config custom options in Services: Kea DHCP: Kea DHCPv4

Manual = Custom

Today at 03:04:19 PM #17 Last Edit: Today at 03:25:25 PM by hharry
Quote from: sopex8260 on Today at 03:02:03 PM
Quote from: hharry on Today at 02:56:28 PM
Quote from: sopex8260 on Today at 02:34:11 PMSo you choose the advanced config under Kea and it doesn't keep the custom changes?

there is no advanced config custom options in Services: Kea DHCP: Kea DHCPv4

Manual = Custom

oh, now i see what you mean, i now have enabled manual config, so i can take control of /usr/local/etc/kea/kea-dhcp4.conf, and i've added the below config which kea appears to have accepted...after restarting, which should give me 7 days of lease affinity...will see if it does what the kea documentation states...


    "expired-leases-processing": {
        "reclaim-timer-wait-time": 10,
        "hold-reclaimed-time": 25200,
        "flush-reclaimed-timer-wait-time": 25
    },
OPNsense 25.7.1_1-amd64 running on ESXi 6.7 U2 VM, 4Gbytes RAM, 2 x vCPU
frr OSPF + eBGP, IDS, AdGuard Home, sftp-backup plugins. limited kea DHCP server deployment.

Quote from: hharry on Today at 03:04:19 PM
Quote from: sopex8260 on Today at 03:02:03 PM
Quote from: hharry on Today at 02:56:28 PM
Quote from: sopex8260 on Today at 02:34:11 PMSo you choose the advanced config under Kea and it doesn't keep the custom changes?

there is no advanced config custom options in Services: Kea DHCP: Kea DHCPv4

Manual = Custom

I'll re-iterate it for you one last time, there is no advanced (manual) config custom options in OPNsesne Services: Kea DHCP: Kea DHCPv4

Okay :)

There is. But then you need to provide the entire configuration manually as a text file.

Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Quote from: hharry on Today at 03:04:19 PM
Quote from: sopex8260 on Today at 03:02:03 PM
Quote from: hharry on Today at 02:56:28 PM
Quote from: sopex8260 on Today at 02:34:11 PMSo you choose the advanced config under Kea and it doesn't keep the custom changes?

there is no advanced config custom options in Services: Kea DHCP: Kea DHCPv4

Manual = Custom

oh, now i see what you mean, i now have enabled manual config, so i can take control of /usr/local/etc/kea/kea-dhcp4.conf, and i've added the below config which kea appears to have accepted...after restarting, which should give me 7 days of lease affinity...will see if it does what the kea documentation states...


    "expired-leases-processing": {
        "reclaim-timer-wait-time": 10,
        "hold-reclaimed-time": 25200,
        "flush-reclaimed-timer-wait-time": 25
    },


Exactly! Sorry, I thought you would see it sooner :) I wasn't in a computer to provide a screenshot.