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.

dhcpd.conf 1.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. ddns-update-style none;
  2. option classless-routes code 121 = array of unsigned integer 8;
  3. option classless-routes-win code 249 = array of unsigned integer 8;
  4. default-lease-time 600;
  5. max-lease-time 7200;
  6. use-host-decl-names on;
  7. authoritative;
  8. log-facility local7;
  9. subnet 10.15.100.0 netmask 255.255.255.0 {
  10. # IP settings
  11. range 10.15.100.50 10.15.100.250;
  12. option subnet-mask 255.255.255.0;
  13. option broadcast-address 10.15.100.255;
  14. option routers 10.15.100.1;
  15. # DNS settings
  16. option domain-name "site.rthoni.com";
  17. option domain-search "site.rthoni.com rthoni.com";
  18. option domain-name-servers 10.15.100.1;
  19. # Push custom routes to clients
  20. #option classless-routes 24, 10,15,42, 10.15.12,2;
  21. #option classless-routes-win 24, 10,15,42, 10.15.12,2;
  22. # Netboot settings
  23. next-server 10.15.100.1;
  24. #option root-path "10.15.100.1:/pxeroot/ubuntu";
  25. if exists user-class and ( option user-class = "iPXE-rthoni" ) {
  26. option domain-search "site.rthoni.com";
  27. filename "http://netboot/boot.ipxe";
  28. }
  29. else {
  30. filename "ipxe-rthoni.kpxe";
  31. }
  32. }