On Sun, May 14, 2017 at 6:03 PM, Matt Darcy <[email protected]> wrote: > a.) why is foreman getting IP from the dhcp server that already have hosts > allocated to them ?
> b.) is the suggest new button expected to return the same address only if > the host already has a lease/ip assigned to it, or should it get a new one > and update the lease on commit of the host ? Lease is not an allocation. Foreman's unused_ip call tries to get an IP from range you specify in our Subnet in the Foreman database. If the curren lease is in this range, than this IP is preffered, which is nice because your host will keep the same IP it had previously. However, if you set your lease pool outside of your reservation range in Foreman, the lease and reservation will be always different. Foreman also tries to ping the IP address and it's alive, it will not use it. -- Later, Lukas @lzap Zapletal -- You received this message because you are subscribed to the Google Groups "Foreman users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/foreman-users. For more options, visit https://groups.google.com/d/optout.
