Project

General

Profile

Actions

Bug #15956

closed

Kea DHCP static mappings requires lease expiry before taking effect

Added by Kevin Thorne 4 months ago. Updated 3 months ago.

Status:
Rejected
Priority:
Low
Assignee:
-
Category:
DHCP (IPv4)
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Default
Affected Version:
2.7.2
Affected Architecture:
amd64

Description

See original issue here: https://www.reddit.com/r/PFSENSE/comments/1hqaf28/bug_report_kea_dhcp_static_mappings_ignored/

After having a device come online and setting up a static mapping, the Kea DHCP server (pfsense CE 2.7.2-RELEASE) keeps assigning different IPs than the one I put in the static mapping. User must wait for the lease to expire before the static mapping takes affect. The hack-the-GUI-to-delete-lease step below has a smell.

Repro Steps:

  1. Have pfsense be the DHCP server on a network with the Kea backend
  2. Plug in device into network
  3. See DHCP Leases page and note the MAC of your new device
  4. Create a new static mapping, enter the MAC previously noted and IPv4 address desired (follow the GUI to tweak your DHCP pools appropriately -- the desired IP* should be outside of DHCP pools as the GUI requires)
  5. Delete lease previously granted (this step is weird, since the GUI didn't let me delete it directly - I hacked the GUI to delete the old one)
  6. Reboot router and reboot device

Expected behavior: Device should have the desired IP set in step 4

Actual behavior: Device has some other IP in the pool

Actions

Also available in: Atom PDF