daily pastebin goal
69%
SHARE
TWEET

Untitled

a guest Jun 14th, 2012 94 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. authoritative;
  10.  
  11. ddns-update-style interim;
  12.  
  13. include "/etc/bind/rndc.key";
  14.  
  15. # Use what key in what zone
  16. zone LinuxMCE. {
  17.         primary 127.0.0.1;
  18.         key "rndc-key";
  19. }
  20.  
  21. option domain-name "LinuxMCE";
  22.  
  23.  
  24. option routers 192.168.80.1;
  25. option subnet-mask 255.255.255.0;
  26.  
  27. # lease IPs for 1 day, maximum 1 week
  28. default-lease-time 86400;
  29. max-lease-time 604800;
  30.  
  31. allow booting;
  32. allow bootp;
  33.  
  34. option space pxelinux;
  35. option pxelinux.magic code 208 = string;
  36. option pxelinux.configfile code 209 = text;
  37. option pxelinux.pathprefix code 210 = text;
  38. option pxelinux.reboottime code 211 = unsigned integer 32;
  39.  
  40. subnet 192.168.80.0 netmask 255.255.255.0 {
  41.         next-server 192.168.80.1;
  42.         filename "/tftpboot/pxelinux.0";
  43.         option pxelinux.reboottime = 30;
  44.  
  45.         default-lease-time 86400;
  46.         max-lease-time 604800;
  47.         pool {
  48.                  allow unknown-clients;
  49.                  range 192.168.80.130 192.168.80.150;
  50.                  range 192.168.80.152 192.168.80.199;
  51.         }
  52.  
  53.         zone   80.168.192.in-addr.arpa. {
  54.                 primary localhost;
  55.                 key     "rndc-key";
  56.         }
  57.         zone    LinuxMCE. {
  58.                 primary localhost;
  59.                 key     "rndc-key";
  60.         }
  61.  
  62. }
  63.  
  64. # PXE booting machines
  65. group {
  66.         next-server 192.168.80.1;
  67.         filename "/tftpboot/pxelinux.0";
  68.         option pxelinux.reboottime = 30;
  69.  
  70.  
  71.         # Generic PC as MD (52)
  72.         host moon52 { hardware ethernet 00:30:18:AD:EE:0A; fixed-address 192.168.80.2; }
  73.         # Generic PC as MD (77)
  74.         host moon77 { hardware ethernet 00:01:6C:6F:9B:04; fixed-address 192.168.80.3; }
  75. }
  76.  
  77. # regular machines
  78. group {
  79.  
  80.         # HDHomeRun (41)
  81.         host pc1 { hardware ethernet 00:18:DD:02:06:C6; fixed-address 192.168.80.129; }
  82.         # LS-QL69D - LS-QL69D (39)
  83.         host pc2 { hardware ethernet 00:24:A5:00:06:9D; fixed-address 192.168.80.151; }
  84. }
  85.  
  86. # The following machines did not have a valid MAC address assigned in the database.
  87. # You may want to correct this manually via the web admin.
  88. #       CORE (1) has bad mac address:
  89.  
  90.  
  91. # Custom additions to the dhcpd conf file should be maintained in this
  92. # extra file.
  93. include "/etc/dhcp3/dhcpd-extra.conf";
RAW Paste Data
Pastebin PRO WINTER Special!
Get 40% OFF Pastebin PRO accounts!
Top