dhcpd.conf.j2 823 B

123456789101112131415161718192021222324
  1. ddns-update-style none;
  2. log-facility local7;
  3. authoritative;
  4. default-lease-time 600;
  5. max-lease-time 7200;
  6. # suppress wpad DHCPINFORM requests from MSFT devices
  7. # See https://lists.isc.org/pipermail/dhcp-users/2013-September/017193.html
  8. option wpad code 252 = text;
  9. option wpad "\n\000";
  10. class "MSFT" {
  11. match if substring(option vendor-class-identifier, 0, 4) = "MSFT";
  12. option dhcp-parameter-request-list = concat(option dhcp-parameter-request-list, fc);
  13. }
  14. option interface-mtu 1280;
  15. subnet {{batman_mesh_ipv4|ipaddr('network')}} netmask {{batman_mesh_ipv4|ipaddr('netmask')}} {
  16. range {{dhcp_range_start}} {{dhcp_range_end}};
  17. option routers {{batman_mesh_ipv4|ipaddr('address')}};
  18. option domain-name-servers {{batman_mesh_ipv4|ipaddr('address')}};
  19. option ntp-servers {{batman_mesh_ipv4|ipaddr('address')}};
  20. }