Project

General

Profile

Bug #24146 ยป dhcp.conf

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

 
# dhcpd.conf
omapi-port 7911;

default-lease-time 43200;
max-lease-time 86400;

ddns-update-style none;

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

allow booting;
allow bootp;

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


# Bootfile Handoff
next-server 10.118.97.156;
option architecture code 93 = unsigned integer 16 ;
if option architecture = 00:06 {
filename "grub2/shim.efi";
} elsif option architecture = 00:07 {
filename "grub2/shim.efi";
} elsif option architecture = 00:09 {
filename "grub2/shim.efi";
} else {
filename "pxelinux.0";
}

log-facility local7;

include "/etc/dhcp/dhcpd.hosts";
# mydomain.dick.jane.com
subnet 10.118.97.0 netmask 255.255.255.0 {
pool
{
range 10.118.97.180 10.118.97.189;
}

option subnet-mask 255.255.255.0;
option routers 10.118.97.1;
option domain-search "mydomain.dick.jane.com,dick.net,jane.com";
}
    (1-1/1)