Peter Hessler wrote:
> I have a dhcp'd network, with static entries for a ton of machines.
> The problem is that the range is for .10 - .254, and the static entries
> are scattered throughout.  When a random client requests an address,
> dhcpd will give out a staticly defined entry.  So when the static entry
> machine comes back, the two machines fight each other for the address.

Hi Peter
As has been said, this is not a correct configuration, and dhcpd will
complain (at least does on freebsd). To mitigate the problem you might
want to set a short max-lease-time for the whole range and a unlimited
one for each host with a fixed-address (e.g. one week or more). So the
lease of the static address should remain bound until the client comes back.

Next step, of course, should be to sort out that network. If it's not
possible to move the fixed-address clients out, maybe you could move the
dynamic-address clients to the upper half and then split the network. Or
assign them to a totally new network segment. Or enlarge the segment to
10.0.0.0/22 and serve dynamic addresses from the upper 3 segments only.
Or ... In the end you will be wanting a pool and a group definition.

hth /m

Reply via email to