Skip to content

Feature: MAC Based Leases / DHCP Accept Previous Clients #25

@bias-keenly

Description

@bias-keenly

Hello again

I have a use case where I am installing an OS via the PXE server and I need the DHCP server to respond to a previously known PXE client.

The workflow is as follows currently:

  • system requests IP as PXE client (accepted)
  • select OS install from PXE menu
  • OS installer needs DHCP address to communicate but is rejected because it is not a PXE client any more (rejected)

Proposed change:

  1. move to MAC based leases, if a specific MAC makes multiple DHCP requests it will always receive the same
    • right now only IP and timeout are captured. Proposal is to add MAC as primary key and keep both IP and timeout as children of the MAC key.
  2. add flag to accept previous PXE clients so that my use case will be satisfied

I have PRs ready but want to confirm this flow is proper before I submit.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions