Module dhcpv4::configuration

source ·


  • Parameters controlling lease duration allocation. Per,, times are represented as relative times.
  • The IP addresses which the server will manage and lease to clients.
  • A list of MAC addresses which are permitted to request a lease.
  • A collection of the basic configuration parameters needed by the server.
  • A collection of static address assignments. Any client whose MAC address has a static assignment will be offered the assigned IP address.
  • A bitmask which represents the boundary between the Network part and Host part of an IPv4 address.


  • A wrapper around the error types which can be returned when loading a ServerConfig from file with load_server_config_from_file().