0% found this document useful (0 votes)
21 views

Creating A DHCPD - Conf File

The document discusses the dhcpd.conf configuration file used by the DHCP server. It explains that the file identifies DHCP clients and defines the configuration provided to each client. It then provides a sample dhcpd.conf file that dynamically assigns IP addresses to clients on a subnet and supports some clients with static addresses.

Uploaded by

JeandelaSagesse
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views

Creating A DHCPD - Conf File

The document discusses the dhcpd.conf configuration file used by the DHCP server. It explains that the file identifies DHCP clients and defines the configuration provided to each client. It then provides a sample dhcpd.conf file that dynamically assigns IP addresses to clients on a subnet and supports some clients with static addresses.

Uploaded by

JeandelaSagesse
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Creating a dhcpd.

conf File
dhcpd reads its configuration from the /etc/dhcpd.conf file. The dhcpd.conf file identifies the
clients to the server, and defines the configuration that the server provides each client. The
sample dhcpd.conf file shown in Listing 8.1 dynamically assigns IP addresses to the DHCP
clients on a subnet, and supports a few clients that require static addresses.
Listing 8.1: A Sample dhcpd.conf File
# Define global values that apply to all systems.
maxleasetime 604800;
defaultleasetime 86400;
option subnetmask 255.255.255.0;
option domain "foobirds.org";
option domainnameservers 172.16.55.1, 172.16.5.1;
option popserver 172.16.18.1;
# Define the dynamic address range for the subnet.
subnet 172.16.55.0 netmask 255.255.255.0 {
option routers 172.16.55.1;
option broadcastaddress 172.16.55.255;
range 172.16.55.64 172.16.55.192;
range 172.16.55.200 172.16.55.250;
}
# Use host statements for clients that get static addresses
group {
usehostdeclnames true;
host kestrel {
hardware ethernet 00:80:c7:aa:a8:04;
fixedaddress 172.16.55.4;
}
host ibis {
hardware ethernet 00:00:c0:a1:5e:10;
fixedaddress 172.16.55.16;
}

You might also like