Advertisement
Guest User

Untitled

a guest
Jan 14th, 2014
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.81 KB | None | 0 0
  1. #
  2. # Sample configuration file for ISC dhcpd for Debian
  3. #
  4. # $Id: dhcpd.conf,v 1.4.2.2 2002/07/10 03:50:33 peloy Exp $
  5. #
  6.  
  7. # option definitions common to all supported networks...
  8. option domain-name-servers 192.168.80.1;
  9. option voip-tftp-server code 150 = ip-address;
  10. option voip-tftp-server 192.168.80.1;
  11. authoritative;
  12.  
  13. ddns-update-style interim;
  14.  
  15. include "/etc/bind/rndc.key";
  16.  
  17. # Use what key in what zone
  18. zone LinuxMCE. {
  19. primary 127.0.0.1;
  20. key "rndc-key";
  21. }
  22.  
  23. option domain-name "LinuxMCE";
  24.  
  25.  
  26. option routers 192.168.80.1;
  27. option subnet-mask 255.255.255.0;
  28.  
  29. # lease IPs for 1 day, maximum 1 week
  30. default-lease-time 86400;
  31. max-lease-time 604800;
  32.  
  33. allow booting;
  34. allow bootp;
  35.  
  36. option space pxelinux;
  37. option pxelinux.magic code 208 = string;
  38. option pxelinux.configfile code 209 = text;
  39. option pxelinux.pathprefix code 210 = text;
  40. option pxelinux.reboottime code 211 = unsigned integer 32;
  41.  
  42. subnet 192.168.80.0 netmask 255.255.255.0 {
  43. next-server 192.168.80.1;
  44. filename "/tftpboot/pxelinux.0";
  45. option pxelinux.reboottime = 30;
  46.  
  47. default-lease-time 86400;
  48. max-lease-time 604800;
  49. pool {
  50. allow unknown-clients;
  51. range 192.168.80.129 192.168.80.199;
  52. }
  53.  
  54. zone 80.168.192.in-addr.arpa. {
  55. primary localhost;
  56. key "rndc-key";
  57. }
  58. zone LinuxMCE. {
  59. primary localhost;
  60. key "rndc-key";
  61. }
  62.  
  63. }
  64.  
  65. # PXE booting machines
  66. group {
  67. next-server 192.168.80.1;
  68. filename "/tftpboot/pxelinux.0";
  69. option pxelinux.reboottime = 30;
  70.  
  71.  
  72. }
  73.  
  74. # regular machines
  75. group {
  76.  
  77. }
  78.  
  79. # The following machines did not have a valid MAC address assigned in the database.
  80. # You may want to correct this manually via the web admin.
  81. # CORE (1) has bad mac address:
  82.  
  83.  
  84. # Custom additions to the dhcpd conf file should be maintained in this
  85. # extra file.
  86. include "/etc/dhcp/dhcpd-extra.conf";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement