[Novalug] dhcpd fixed-address in same pool range

James Ewing Cottrell III JECottrell3@Comcast.NET
Sun Jul 27 22:50:55 EDT 2014


It is NOT Possible to mix Static (aka Reservations) and Dynamic 
Addresses in the same Pool. Actually, it is, but the Range declarations 
must exclude the Static Addresses.

Note that you can also run ssh without known_hosts.

JIM

On 7/23/2014 5:25 PM, shawn wilson wrote:
> Is it possible to put a fixed-address in the same range as a pool?
>
> I've had test boxes (mainly VMs) getting dhcp addresses from a pool
> and generally this is fine - they generally don't change. But
> sometimes one node is shutdown and another is brought up and takes the
> lease (which is kinda the point of dhcp, right?). However, sometimes I
> realize I don't want this.
>
> The work flow is: bring up a host (it gets a dhcp address), if it
> stays around for a while it gets a static dhcp address.
>
> However, at the point of it staying around for a while, I don't want
> to change ssh_config/known_hosts, iptables rules, and so on.
>
> Is there a way to do this without having a bunch of ranges?
>
> The error I'm seeing is:
> dhcpd: Dynamic and static leases present for 1.2.3.4.
> dhcpd: Remove host declaration win2k3-64 or remove 1.2.3.4
> dhcpd: from the dynamic address pool for 1.2.3.0/24
> _______________________________________________
> Novalug mailing list
> Novalug@calypso.tux.org
> http://calypso.tux.org/mailman/listinfo/novalug
>




More information about the Novalug mailing list