File: dhcpd.conf

package info (click to toggle)
lessdisks 0.5.3cvs.20040906-16
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,480 kB
  • ctags: 271
  • sloc: sh: 3,058; makefile: 92
file content (34 lines) | stat: -rw-r--r-- 1,093 bytes parent folder | download
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";
	     }
}