Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

tinkerbell/dhcp

Repository files navigation

Important

This repo is archived as the code has been moved into Smee.

Test and Build codecov Go Report Card Go Reference

dhcp

DHCP library and CLI server with multiple backends. All IP addresses are served as DHCP reservations. There are no lease pools as are normally found in DHCP servers.

Backends

  • Tink Kubernetes CRDs
    • This backend is also the main use case. It pulls hardware data from Kubernetes CRDs for use in serving DHCP clients.
  • File based
    • This backend is for mainly for testing and development. It reads a file for hardware data to use in serving DHCP clients. See example.yaml for the data model.

Definitions

DHCP Reservation: A fixed IP address that is reserved for a specific client.

DHCP Lease: An IP address, that can potentially change, that is assigned to a client by the DHCP server. The IP is typically pulled from a pool or subnet of available IP addresses.