Dhcpd.conf - Options Precedence

Chuck Anderson cra at WPI.EDU
Thu Apr 6 02:09:28 UTC 2006


On Wed, Apr 05, 2006 at 04:50:30PM -0400, Kelvin Williams wrote:
> In my dhcpd.conf, I have a shared network statement, several subnets (with
> pools), and several host declarations.
> Within my host declarations I simply specify the hardware Ethernet,
> fixed-address, and an option for host-name.  Within my subnet I have other

Make sure your fixed-addresses don't specify IP addresses that are 
contained within pool range statements.

> required options such as router, tftp servers, timing offsets, domain names,
> etc.  What I am finding, *SOME* options within my pool declaration are not
> being handed to the requesting client.  The only way that my client will get
> it, is if I place it within the host declaration.

Options in the pool declaration are only handed to clients that are 
assigned dynamic IPs from that pool.  Fixed-address assignments aren't 
part of pools, so they don't get the pool options.

> The only thing unique to each client is the static IP address it needs.  
> Have I missed a keyword in my configuration to tell it to apply the options
> within the host declaration, PLUS any in the subnet/pool declaration? 

Subnet options will get applied to any client that is assigned an 
address in that subnet.  Options should aggregate automatically, with 
the options in the inner scopes overriding the same options in outer 
scopes.  I believe the scoping order is shared-network, subnet, pool, 
host.


More information about the dhcp-users mailing list