# /etc/dhcpd.conf example for ISC DHCP 3.0. # This example uses fixed IP address mappings, and bootstraps Etherboot images # via PXE. default-lease-time -1; max-lease-time -1; server-name "nimbus"; ddns-update-style none; # Use DNS to populate DHCP option 12. This isn't strictly necessary, as the # DIET-PC client will do this anyway. get-lease-hostnames on; # When serving fixed addresses only, it is a good idea not to allocate dynamic # addresses to strangers, for both security and practical reasons (eg. you # might get an unexpected result if there is a typo in a MAC address). deny unknown-clients; # N.B. User-defined option definitions differ significantly from ISC DHCP 2.0. option etherboot_id code 128 = string; option etherboot_params code 129 = string; subnet 10.0.0.0 netmask 255.0.0.0 { option broadcast-address 10.255.255.255; option routers 10.0.0.4; } group { option domain-name "cloud.com.au"; option domain-name-servers 10.0.0.4; option log-servers 10.0.0.4; option x-display-manager 10.0.0.4; option font-servers 10.0.0.4; option ntp-servers 10.0.0.4; option time-offset 36000; option etherboot_id e4:45:74:68:00:00; # Use "host" labels in this file to populate DHCP option 12. IMHO it is # preferable to add the IP addresses to DNS (cf. get-lease-hostnames, above), # in case what you have here doesn't match DNS. # use-host-decl-names on; next-server 10.0.0.4; # The great strength of DHCP 3.0 is the ability to modify behaviour according # to the Vendor Class Identifier provided by the client. This allows us to # serve a PXE-encapsulated Etherboot ROM to a PXE ROM, and then an Etherboot # NBI to that Etherboot ROM once it activates. if substring (option vendor-class-identifier, 0, 9) = "Etherboot" { filename "/diet-pc/diet-pc.nbi"; } else { filename "/diet-pc/eb-5.0.6-ne.pxe"; } host cumulonimbus { hardware ethernet 00:00:E8:2E:7E:62; fixed-address 10.0.0.6; } host cirrostratus { hardware ethernet 00:00:E8:9D:FA:F2; option etherboot_params "pci=biosirq eth0=ne2k-pci"; fixed-address 10.0.0.7; } host stratocumulus { hardware ethernet 00:00:F8:00:B7:CC; fixed-address 10.0.0.8; if substring (option vendor-class-identifier, 0, 9) = "Etherboot" { filename "/diet-pc/diet-pc_p3.nbi"; } else { filename "/diet-pc/eb-5.0.6-dc21041.pxe"; } } }