key conflict message for create host by Omapi

Simon Hobson dhcp1 at thehobsons.co.uk
Thu Oct 22 10:19:25 UTC 2015


Glenn Satchell <glenn.satchell at uniq.com.au> wrote:

> The address has to match the subnet where the request came from. So
> consider a laptop that can be connected to many subnets. If there is a
> valid host statement it will use that address, otherwise it uses the
> dynamic range, and classes etc.

I was wondering about a more subtle issue, but consultation of the man page resolved that :
> When dhcpd tries to find a host declaration for a client, it first looks for a host declaration which has a fixed-address declaration that lists an IP address that is valid for the subnet or shared network on which the client is booting. If it doesn't find any such entry, it tries to find an entry which has no fixed-address declaration.

So it would appear that if the host is in a subnet where none of the fixed-address options match, then those host statements themselves don't match. Thus there is no issue over which options get applied (should you apply other options within the host declaration).





More information about the dhcp-users mailing list