# # Sample configuration file for ISC dhcpd for Debian # # $Id: dhcpd.conf,v 1.4.2.2 2002/07/10 03:50:33 peloy Exp $ # # option definitions common to all supported networks... option domain-name-servers 192.168.80.1; option voip-tftp-server code 150 = ip-address; option voip-tftp-server 192.168.80.1; authoritative; ddns-update-style interim; ddns-updates on; ddns-domainname "LinuxMCE"; ddns-rev-domainname "in-addr.arpa."; update-static-leases on; allow unknown-clients; use-host-decl-names on; include "/etc/bind/rndc.key"; # Use what key in what zone zone LinuxMCE. { primary 127.0.0.1; key "rndc-key"; } option domain-name "LinuxMCE"; option routers 192.168.80.1; option subnet-mask 255.255.255.0; # lease IPs for 1 day, maximum 1 week default-lease-time 86400; max-lease-time 604800; allow booting; allow bootp; option space pxelinux; option pxelinux.magic code 208 = string; option pxelinux.configfile code 209 = text; option pxelinux.pathprefix code 210 = text; option pxelinux.reboottime code 211 = unsigned integer 32; subnet 192.168.80.0 netmask 255.255.255.0 { next-server 192.168.80.1; filename "/tftpboot/pxelinux.0"; option pxelinux.reboottime = 30; default-lease-time 86400; max-lease-time 604800; pool { allow unknown-clients; range 192.168.80.129 192.168.80.150; range 192.168.80.152 192.168.80.199; } zone 80.168.192.in-addr.arpa. { primary localhost; key "rndc-key"; } zone LinuxMCE. { primary localhost; key "rndc-key"; } } # PXE booting machines group { next-server 192.168.80.1; filename "/tftpboot/pxelinux.0"; option pxelinux.reboottime = 30; } # regular machines group { # Raspberry Pi Model B as MD (78) host pc1 { hardware ethernet B8:27:EB:91:2A:45; fixed-address 192.168.80.2; } # NAS - NAS (27) host pc2 { hardware ethernet 00:11:32:1D:00:07; fixed-address 192.168.80.151; } } # The following machines did not have a valid MAC address assigned in the database. # You may want to correct this manually via the web admin. # CORE (1) has bad mac address: # Custom additions to the dhcpd conf file should be maintained in this # extra file. include "/etc/dhcp/dhcpd-extra.conf";