You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
1.8 KiB

  1. data-resources:
  2. - /var/lib/dhcp
  3. - /var/log/dhcp
  4. config-resources:
  5. - /etc/dhcp/dhcpd.conf
  6. default-options:
  7. # config: |
  8. # ## Sample configuration file for ISC dhcpd
  9. # option domain-name "example.org";
  10. # option domain-name-servers ns1.example.org, ns2.example.org;
  11. # default-lease-time 600;
  12. # max-lease-time 7200;
  13. # #ddns-update-style none;
  14. # authoritative;
  15. # log-facility local7;
  16. # ## No service will be given on this subnet, but declaring it allows the dhcp
  17. # ## server to listen on this network
  18. # subnet 172.17.0.0 netmask 255.255.255.0 {
  19. # }
  20. # ## This is a very basic subnet declaration.
  21. # subnet 10.254.239.0 netmask 255.255.255.224 {
  22. # range 10.254.239.10 10.254.239.20;
  23. # option routers rtr-239-0-1.example.org, rtr-239-0-2.example.org;
  24. # }
  25. # ## A slightly different configuration for an internal subnet.
  26. # subnet 10.5.5.0 netmask 255.255.255.224 {
  27. # range 10.5.5.26 10.5.5.30;
  28. # option domain-name-servers ns1.internal.example.org;
  29. # option domain-name "internal.example.org";
  30. # option routers 10.5.5.1;
  31. # option broadcast-address 10.5.5.31;
  32. # default-lease-time 600;
  33. # max-lease-time 7200;
  34. # }
  35. # ## Fixed IP addresses can also be specified for hosts. These addresses
  36. # ## should not also be listed as being available for dynamic assignment.
  37. # ## Hosts for which fixed IP addresses have been specified can boot using
  38. # ## BOOTP or DHCP. Hosts for which no fixed address is specified can only
  39. # ## be booted with DHCP, unless there is an address range on the subnet
  40. # ## to which a BOOTP client is connected which has the dynamic-bootp flag
  41. # ## set.
  42. # host fantasia {
  43. # hardware ethernet 08:00:07:26:c0:a5;
  44. # fixed-address fantasia.example.com;
  45. # }
  46. docker-compose:
  47. ports:
  48. - 67:67/udp