
118 | DHCP Server Operation |
dhcpd.leases file to gain information about which leases have been assigned. New leases are appended to the end of the lease file. In order to prevent the file from becoming arbitrarily large, the server periodically creates a new dhcp.leases file from its
If the system crashes in the middle of this process, only the lease file present in flash memory can be restored. This gives a window of vulnerability whereby leases may be lost.
BOOTP support is also provided by this server. Unlike DHCP, the BOOTP protocol does not provide a protocol for recovering
8.2 DHCP Server Configuration
This section discusses the required format of the dhcpd.conf file, first as an informal guide to the simpler aspects of server configuration, followed by a more detailed reference section.
8.3 Informal configuration guide
This section provides an overview of the DHCP server configuration process.
8.3.1 Subnets
The DHCP server software needs to know the subnet numbers and net masks of all subnets for which it will be providing service. In addition, in order to dynamically allocate addresses, it must be assigned one or more ranges of addresses on each subnet which it can in turn assign to client hosts as they boot. A very simple configuration providing DHCP support might look like this:
subnet 239.252.197.0 netmask 255.255.255.0 { range 239.252.197.10 239.252.197.250;
}