key conflict message for create host by Omapi
glenn.satchell at uniq.com.au
Thu Oct 22 10:24:49 UTC 2015
On Thu, October 22, 2015 9:19 pm, Simon Hobson wrote:
> 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).
The host statement *does* match, for example the host is still a "known"
host. It's a match based on "hardware ethernet". It's just that the
fixed-address does not match the subnet.
More information about the dhcp-users