1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
# Sample configuration file for ISCD dhcpd
#
# Don't forget to set run_dhcpd=1 in /etc/init.d/dhcpd
# once you adjusted this file and copied it to /etc/dhcpd.conf.
#
default-lease-time 21600;
max-lease-time 21600;
ddns-update-style none;
allow booting;
allow bootp;
subnet 10.2.2.0 netmask 255.255.255.0 {
option subnet-mask 255.255.255.0;
option broadcast-address 10.2.2.255;
option routers 10.2.2.1;
option domain-name-servers 10.2.2.1;
option domain-name "terminals";
# option root-path "10.2.2.1:/var/lib/lessdisks/";
option root-path "/var/lib/lessdisks/";
range dynamic-bootp 10.2.2.50 10.2.2.253;
use-host-decl-names on;
# trick from Peter Rundle <peter.rundle@au.interpath.net>
if substring (option vendor-class-identifier, 0, 9) = "PXEClient"
{
filename "/var/lib/lessdisks/boot/pxelinux.0";
# NOTE: kernels are specified in boot/pxelinux.cfg/
}
else
{
filename "/var/lib/lessdisks/boot/vmlinuz";
}
}
|