xref: /dragonfly/nrelease/root/etc/dhcpd.conf (revision 8af44722)
1# $DragonFly: src/nrelease/installer/etc/dhcpd.conf,v 1.2 2008/08/30 16:47:47 hasso Exp $
2#
3
4pid-file-name "/var/run/dhcpd.pid";
5lease-file-name "/var/db/dhcpd.leases";
6ddns-update-style none;
7
8class "pxeboot-class" {
9    match if substring (option vendor-class-identifier, 0, 9) = "PXEClient";
10}
11
12class "etherboot-class" {
13    match if substring (option vendor-class-identifier, 0, 9) = "Etherboot";
14}
15
16class "dragonfly-class" {
17    match if substring (option vendor-class-identifier, 0, 9) = "DragonFly";
18}
19
20subnet 10.1.0.0 netmask 255.255.0.0 {
21    pool {
22	allow members of "pxeboot-class";
23	allow members of "etherboot-class";
24	allow members of "dragonfly-class";
25	range 10.1.0.128 10.1.0.254;
26	option subnet-mask 255.255.255.0;
27	option broadcast-address 10.1.0.255;
28	filename "pxeboot";
29	option root-path "10.1.0.1:/";
30	next-server 10.1.0.1;
31    }
32}
33