Project

General

Profile

dhcp.conf

James Perry, 07/03/2018 01:15 PM

 
1
# dhcpd.conf
2
omapi-port 7911;
3

    
4
default-lease-time 43200;
5
max-lease-time 86400;
6

    
7
ddns-update-style none;
8

    
9
option domain-name "mydomain.dick.jane.com";
10
option domain-name-servers 1.2.3.4,5.6.7.8
11
option ntp-servers none;
12

    
13
allow booting;
14
allow bootp;
15

    
16
option fqdn.no-client-update    on;  # set the "O" and "S" flag bits
17
option fqdn.rcode2            255;
18
option pxegrub code 150 = text ;
19

    
20

    
21
# Bootfile Handoff
22
next-server 10.118.97.156;
23
option architecture code 93 = unsigned integer 16 ;
24
if option architecture = 00:06 {
25
  filename "grub2/shim.efi";
26
} elsif option architecture = 00:07 {
27
  filename "grub2/shim.efi";
28
} elsif option architecture = 00:09 {
29
  filename "grub2/shim.efi";
30
} else {
31
  filename "pxelinux.0";
32
}
33

    
34
log-facility local7;
35

    
36
include "/etc/dhcp/dhcpd.hosts";
37
# mydomain.dick.jane.com
38
subnet 10.118.97.0 netmask 255.255.255.0 {
39
  pool
40
  {
41
    range 10.118.97.180 10.118.97.189;
42
  }
43

    
44
  option subnet-mask 255.255.255.0;
45
  option routers 10.118.97.1;
46
  option domain-search "mydomain.dick.jane.com,dick.net,jane.com";
47
}