Send dhcp-users mailing list submissions to
        dhcp-users@lists.isc.org

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.isc.org/mailman/listinfo/dhcp-users
or, via email, send a message with subject or body 'help' to
        dhcp-users-requ...@lists.isc.org

You can reach the person managing the list at
        dhcp-users-ow...@lists.isc.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of dhcp-users digest..."


Today's Topics:

   1. Re: fixed-address leases in dhcpd.leases (Andrew Bell)
   2. Re: fixed-address leases in dhcpd.leases (Simon Hobson)
   3. Re: fixed-address leases in dhcpd.leases (Nate Collins)
   4. Re: fixed-address leases in dhcpd.leases (Bob Harold)


----------------------------------------------------------------------

Message: 1
Date: Mon, 30 Mar 2020 11:34:09 -0400
From: Andrew Bell <and...@poscomp.ca>
To: Users of ISC DHCP <dhcp-users@lists.isc.org>
Subject: Re: fixed-address leases in dhcpd.leases
Message-ID:
        <CAMcY7=j9ewmhemu76s9drh7+xdcrhra8ivv01m1o3zvnyut...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Ah, now I see.  Yes, I was thinking of fixed addresses, not reserved
leases.  I honestly didn't even know that was a thing until now.

On Mon, Mar 30, 2020 at 11:27 AM Simon Hobson <dh...@thehobsons.co.uk>
wrote:

> Andrew Bell <and...@poscomp.ca> wrote:
>
> > Do you want to reserve an address inside the dynamic pool?  I'm not sure
> if that works, honestly, but I just set aside space in each subnet for
> reserved addresses and make the pool smaller.
>
> Reserved addresses are different to fixed-addresses.
>
> As you point out, fixed-addresses should not be part of any pool.
>
> A reserved address *IS* part of a pool. Other than having the reserved
> flag set, it is otherwise identical to any other dynamic lease. It goes
> through the same lifecycle as any other dynamic lease - leases expire if
> not renewed - the only difference being that the address will not be
> re-allocated to any other client. So in that respect it's ideal for what
> the OP wanted since the lease status can be read by any of the lease state
> reporting tools.
> As already mentioned, it's a bit of an ugly duckling in terms of
> management. I know it can be set by manually editing the leases file,
> literally by adding a "reserved;" statement to a lease. I don't know if it
> can be set via OMAPI.
>
> Simon
>
> _______________________________________________
> dhcp-users mailing list
> dhcp-users@lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<https://lists.isc.org/pipermail/dhcp-users/attachments/20200330/f9c5adb7/attachment-0001.htm>

------------------------------

Message: 2
Date: Mon, 30 Mar 2020 16:48:01 +0100
From: Simon Hobson <dh...@thehobsons.co.uk>
To: Users of ISC DHCP <dhcp-users@lists.isc.org>
Subject: Re: fixed-address leases in dhcpd.leases
Message-ID: <eff07394-1dab-4383-8b5f-36bb52742...@thehobsons.co.uk>
Content-Type: text/plain; charset=us-ascii

Andrew Bell <and...@poscomp.ca> wrote:

> Ah, now I see.  Yes, I was thinking of fixed addresses, not reserved leases.  
> I honestly didn't even know that was a thing until now.

It's a relatively new feature, and I don't believe it was well (or at all ?) 
documented until recently. I only know about it from it being discussed on this 
list.

Simon



------------------------------

Message: 3
Date: Mon, 30 Mar 2020 10:51:58 -0500 (CDT)
From: Nate Collins <ncoll...@xes-inc.com>
To: dhcp-users <dhcp-users@lists.isc.org>
Subject: Re: fixed-address leases in dhcpd.leases
Message-ID:
        <442898452.257673.1585583518189.javamail.zim...@xes-inc.com>
Content-Type: text/plain; charset=utf-8

FWIW, we're in the same boat - we don't want to enable reserved leases for
the entire dynamic pool for fear of running out of addresses, and would
only enable it for specific fixed-address leases (but since fixed-address
leases aren't part of the dynamic pool, the option is irrelevant).

----- Original Message -----
From: "Bob Harold" <rharo...@umich.edu>
To: "dhcp-users" <dhcp-users@lists.isc.org>
Sent: Monday, March 30, 2020 10:18:19 AM
Subject: Re: fixed-address leases in dhcpd.leases

To get the effect I am looking for, I would have to make a pool of one host 
with a range of one host, for each host that needs a permanent address, and 
still have it logged in the leases file. That gets pretty messy. 

-- 
Bob Harold 


On Mon, Mar 30, 2020 at 10:52 AM Andrew Bell < [ mailto:and...@poscomp.ca | 
and...@poscomp.ca ] > wrote: 



Do you want to reserve an address inside the dynamic pool? I'm not sure if that 
works, honestly, but I just set aside space in each subnet for reserved 
addresses and make the pool smaller. 

Andrew 

On Mon, Mar 30, 2020 at 10:15 AM Bob Harold < [ mailto:rharo...@umich.edu | 
rharo...@umich.edu ] > wrote: 



I see now that "reserved lease" is documented in: 
[ https://kb.isc.org/docs/isc-dhcp-44-manual-pages-dhcpdconf | 
https://kb.isc.org/docs/isc-dhcp-44-manual-pages-dhcpdconf ] 

But until it is supported in dhcpd.conf and/or the various DDI vendors 
(Infoblox, BlueCat, etc), it will be difficult to use. 
An option in a "host" statement to make it "reserved" would be great. 

-- 
Bob Harold 



On Fri, Mar 27, 2020 at 5:42 PM Simon Hobson < [ mailto:dh...@thehobsons.co.uk 
| dh...@thehobsons.co.uk ] > wrote: 


Nate Collins < [ mailto:ncoll...@xes-inc.com | ncoll...@xes-inc.com ] > wrote: 

>Is there a setting that controls whether or not fixed-address leases 
>in dhcpd.conf will get added to the dhcpd.leases file? 

No, they aren't and never have been. 

What you can do is use a reserved lease. Once reserved, the lease will never 
get re-allocated to another client and acts very much like a host entry with 
fixed address. But, unlike the fixed-address statement, a reserved lease goes 
through the normal lifecycle so you can see it's state in the leases file. 

Simon 
_______________________________________________ 
dhcp-users mailing list 
[ mailto:dhcp-users@lists.isc.org | dhcp-users@lists.isc.org ] 
[ https://lists.isc.org/mailman/listinfo/dhcp-users | 
https://lists.isc.org/mailman/listinfo/dhcp-users ] 
_______________________________________________ 
dhcp-users mailing list 
[ mailto:dhcp-users@lists.isc.org | dhcp-users@lists.isc.org ] 
[ https://lists.isc.org/mailman/listinfo/dhcp-users | 
https://lists.isc.org/mailman/listinfo/dhcp-users ] 
_______________________________________________ 
dhcp-users mailing list 
[ mailto:dhcp-users@lists.isc.org | dhcp-users@lists.isc.org ] 
[ https://lists.isc.org/mailman/listinfo/dhcp-users | 
https://lists.isc.org/mailman/listinfo/dhcp-users ] 

_______________________________________________
dhcp-users mailing list
dhcp-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users


------------------------------

Message: 4
Date: Mon, 30 Mar 2020 12:00:37 -0400
From: Bob Harold <rharo...@umich.edu>
To: Users of ISC DHCP <dhcp-users@lists.isc.org>
Subject: Re: fixed-address leases in dhcpd.leases
Message-ID:
        <CA+nkc8A_-smikJ3vUHCnOAtWUVh=bci4fatq0vxkuubu7vv...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

This sounds like a 'new' feature, I had not heard of it before, but when I
check git blame at
https://gitlab.isc.org/isc-projects/dhcp/-/blame/master/server/dhcpd.conf.5

the lines referring to 'reserved lease' are 9 and 13 years old.  Is it
really that old?

-- 
Bob Harold


On Mon, Mar 30, 2020 at 11:52 AM Nate Collins <ncoll...@xes-inc.com> wrote:

> FWIW, we're in the same boat - we don't want to enable reserved leases for
> the entire dynamic pool for fear of running out of addresses, and would
> only enable it for specific fixed-address leases (but since fixed-address
> leases aren't part of the dynamic pool, the option is irrelevant).
>
> ----- Original Message -----
> From: "Bob Harold" <rharo...@umich.edu>
> To: "dhcp-users" <dhcp-users@lists.isc.org>
> Sent: Monday, March 30, 2020 10:18:19 AM
> Subject: Re: fixed-address leases in dhcpd.leases
>
> To get the effect I am looking for, I would have to make a pool of one
> host with a range of one host, for each host that needs a permanent
> address, and still have it logged in the leases file. That gets pretty
> messy.
>
> --
> Bob Harold
>
>
> On Mon, Mar 30, 2020 at 10:52 AM Andrew Bell < [ mailto:and...@poscomp.ca
> | and...@poscomp.ca ] > wrote:
>
>
>
> Do you want to reserve an address inside the dynamic pool? I'm not sure if
> that works, honestly, but I just set aside space in each subnet for
> reserved addresses and make the pool smaller.
>
> Andrew
>
> On Mon, Mar 30, 2020 at 10:15 AM Bob Harold < [ mailto:rharo...@umich.edu
> | rharo...@umich.edu ] > wrote:
>
>
>
> I see now that "reserved lease" is documented in:
> [ https://kb.isc.org/docs/isc-dhcp-44-manual-pages-dhcpdconf |
> https://kb.isc.org/docs/isc-dhcp-44-manual-pages-dhcpdconf ]
>
> But until it is supported in dhcpd.conf and/or the various DDI vendors
> (Infoblox, BlueCat, etc), it will be difficult to use.
> An option in a "host" statement to make it "reserved" would be great.
>
> --
> Bob Harold
>
>
>
> On Fri, Mar 27, 2020 at 5:42 PM Simon Hobson < [ mailto:
> dh...@thehobsons.co.uk | dh...@thehobsons.co.uk ] > wrote:
>
>
> Nate Collins < [ mailto:ncoll...@xes-inc.com | ncoll...@xes-inc.com ] >
> wrote:
>
> >Is there a setting that controls whether or not fixed-address leases
> >in dhcpd.conf will get added to the dhcpd.leases file?
>
> No, they aren't and never have been.
>
> What you can do is use a reserved lease. Once reserved, the lease will
> never get re-allocated to another client and acts very much like a host
> entry with fixed address. But, unlike the fixed-address statement, a
> reserved lease goes through the normal lifecycle so you can see it's state
> in the leases file.
>
> Simon
> _______________________________________________
> dhcp-users mailing list
> [ mailto:dhcp-users@lists.isc.org | dhcp-users@lists.isc.org ]
> [ https://lists.isc.org/mailman/listinfo/dhcp-users |
> https://lists.isc.org/mailman/listinfo/dhcp-users ]
> _______________________________________________
> dhcp-users mailing list
> [ mailto:dhcp-users@lists.isc.org | dhcp-users@lists.isc.org ]
> [ https://lists.isc.org/mailman/listinfo/dhcp-users |
> https://lists.isc.org/mailman/listinfo/dhcp-users ]
> _______________________________________________
> dhcp-users mailing list
> [ mailto:dhcp-users@lists.isc.org | dhcp-users@lists.isc.org ]
> [ https://lists.isc.org/mailman/listinfo/dhcp-users |
> https://lists.isc.org/mailman/listinfo/dhcp-users ]
>
> _______________________________________________
> dhcp-users mailing list
> dhcp-users@lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
> _______________________________________________
> dhcp-users mailing list
> dhcp-users@lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<https://lists.isc.org/pipermail/dhcp-users/attachments/20200330/44a615ac/attachment.htm>

------------------------------

Subject: Digest Footer

_______________________________________________
dhcp-users mailing list
dhcp-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users


------------------------------

End of dhcp-users Digest, Vol 137, Issue 6
******************************************

Reply via email to