Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KEA DHCP Reservation bypassed #7435

Open
2 tasks done
bdonfouet opened this issue May 3, 2024 · 0 comments
Open
2 tasks done

KEA DHCP Reservation bypassed #7435

bdonfouet opened this issue May 3, 2024 · 0 comments

Comments

@bdonfouet
Copy link

Important notices

Before you add a new report, we ask you kindly to acknowledge the following:

Describe the bug

I ' running opnsense 24.1.6 and have reservations on Kea DHCP.
i have a synology nas which interface is configured to dhcp mode, and a reservation on Kea with the mac address.
After reboots, the NAS still get the old IP it was getting before i setup the reservation and never get the reserved ip!

To Reproduce

Steps to reproduce the behavior:

  1. configure a device on your lan to use dhcp, and get an ip
  2. Configure a reservation in Kea using an ip different from the one received in previous step
  3. Restart your device so that he request ip to dhcp server
  4. check your IP, and it is still the old IP

Expected behavior

When restarted my lan device after created the dhcp reservation, the device should received the ip set in reservation

Describe alternatives you considered

  • Deleted and recreated the reservations
  • restarted Kea DHCP

Screenshots

none

Relevant log files

In Kea logs, i can see that the device request his old adress(normal dhcp behaviour), and the dhcp server leased it despite the reservation

2024-05-02T19:59:49	Informational	kea-dhcp4	INFO [kea-dhcp4.leases.0x8323d0400] DHCP4_LEASE_ALLOC [hwtype=1 xx:xx:xx:xx:xx:xx], cid=[01:xx:xx:xx:xx:xx:xx], tid=0x2fd91b67: lease 192.168.xx.100 has been allocated for 4000 seconds	
2024-05-02T19:59:49	Informational	kea-dhcp4	INFO [kea-dhcp4.leases.0x8323d0400] DHCP4_INIT_REBOOT [hwtype=1 xx:xx:xx:xx:xx:xx], cid=[01:xx:xx:xx:xx:xx:xx], tid=0x2fd91b67: client is in INIT-REBOOT state and requests address 192.168.xx.100

Additional context

i was using ISC DHCP before, and it was working as expected

Environment
OPNsense 24.1.6 (amd64).
AMD GX-424CC SOC with Radeon(TM) R5E Graphics (4 cores, 4 threads)

@bdonfouet bdonfouet changed the title KEA DHCP servation bypassed KEA DHCP Reservation bypassed May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant