The DHCP server supports exclusion ranges, address conflict detection, known-clients-only scopes and turning a lease into a reservation #165

Open
opened 2026-10-31 12:42:18 -04:00 by claude · 0 comments
Owner
  • Draft: PN-21
  • Priority: medium (replacing a router's DHCP safely needs exclusions and conflict detection)
  • Agent: none (epic)
  • Depends on: none
  • Decisions: Q-PN-9, Q-PN-10

Why

DhcpScopeEntity (src/dotnet/src/Ninlil.Dhcp.Data.Abstractions/Entity/DhcpScopeEntity.cs:17-140) has no exclusions and no unknown-client policy. Free-address selection (src/dotnet/src/Ninlil.Dhcp.Server.Core/Allocation/Dhcpv4LeaseAllocationService.cs:451-543) skips only the server address, reservations and blocking leases. No ICMP probe exists anywhere under Ninlil.Dhcp.*. DhcpLeasesController has only list, get and release (src/dotnet/src/Ninlil.Web/Controllers/DhcpLeasesController.cs:50,110,132).

What changes

Children:

Acceptance

  • Children closed; README.md DHCP sections updated.

Source

audit-feature-parity.md §2A #14.
Owner decision 2026-10-31: conflict detection on, 500 ms (Q-PN-9); a known client has a reservation in the scope or is in the client registry (Q-PN-10).

- **Draft:** PN-21 - **Priority:** medium (replacing a router's DHCP safely needs exclusions and conflict detection) - **Agent:** none (epic) - **Depends on:** none - **Decisions:** Q-PN-9, Q-PN-10 ### Why `DhcpScopeEntity` (`src/dotnet/src/Ninlil.Dhcp.Data.Abstractions/Entity/DhcpScopeEntity.cs:17-140`) has no exclusions and no unknown-client policy. Free-address selection (`src/dotnet/src/Ninlil.Dhcp.Server.Core/Allocation/Dhcpv4LeaseAllocationService.cs:451-543`) skips only the server address, reservations and blocking leases. No ICMP probe exists anywhere under `Ninlil.Dhcp.*`. `DhcpLeasesController` has only list, get and release (`src/dotnet/src/Ninlil.Web/Controllers/DhcpLeasesController.cs:50,110,132`). ### What changes Children: - #166: storage - #167: exclusions - #168: known-only - #169: conflict detection - #170: lease to reservation - #171: api-regen - #172: console ### Acceptance - [ ] Children closed; README.md DHCP sections updated. ### Source `audit-feature-parity.md` §2A #14. Owner decision 2026-10-31: conflict detection on, 500 ms (Q-PN-9); a known client has a reservation in the scope or is in the client registry (Q-PN-10).
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
lantea-one/ninlil#165
No description provided.