minor improvements
[automated-distro-installer] / fai / config / files / etc / dhcp / dhcpd.conf / FAISERVER
1 # dhcpd.conf for a fai installation server
2 # replace faiserver with the name of your install server
3
4 ignore-client-uids on;
5 deny unknown-clients;
6 option dhcp-max-message-size 2048;
7 use-host-decl-names on;
8 #always-reply-rfc1048 on;
9
10 subnet 192.168.33.0 netmask 255.255.255.0 {
11 option routers 192.168.33.1;
12 option domain-name "fai.example";
13 option domain-name-servers 192.168.33.250;
14 option time-servers faiserver;
15 # option ntp-servers faiserver;
16 server-name faiserver;
17 next-server faiserver;
18 if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00000" {
19 filename "fai/pxelinux.0";
20 }
21 if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00007" {
22 filename "fai/syslinux.efi";
23 }
24 allow unknown-clients;
25 pool {
26 range 192.168.33.100 192.168.33.150;
27 }
28 }
29
30 # generate a lot of entries with:
31 # perl -e 'for (1..10) {printf "host client%02s {hardware ethernet XXX:$_;fixed-address client%02s;}\n",$_,$_;}'
32 # then replace XXX with the hardware addresses of your clients