[Kea-users] Specifying lease times at reservation or pool level

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Kea-users] Specifying lease times at reservation or pool level

Gibbins, John (IM&T, Black Mountain)

I am trying to configure a kea server as a pilot to replace an our ISC dhcpd servers.

 

We currently specify different default lease times for reservations than we do for pools, using much smaller lifetimes for pools.  We specify a default-lease-time for the subnet (or inherit a global value) to cover the reservations and override this for the pools within the subnets.  We do not include reservations within pools (in kea terms: "reservation-mode": "out-of-pool").

 

I gather from lists that this is not yet possible:

(https://lists.isc.org/mailman/htdig/kea-users/2017-March/000898.html, http://kea-users.7364.n8.nabble.com/Kea-users-lease-time-td384.html)

 

Are there any plans to implement this?  This could be a show stopper for our migration to kea, unless I can find a workaround.

 

Background:  We current run a dozen servers spread around the country with most hosts obtaining their address via a reservation with a long lease time, but visitors from a different site are given a short lease address from a pool which is restricted to a list of known machines via over 20,000 subclass definitions.  We run dual-stack across the organisation so want to do this for both IPv4 and IPv6 pools.

 

Regards

johng

 


_______________________________________________
Kea-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users
Reply | Threaded
Open this post in threaded view
|

Re: [Kea-users] Specifying lease times at reservation or pool level

Francis Dupont
I do not believe it is possible directly but it should be indirectly using
different subnets (with per subnet different lifetimes) in a shared
network. Note you can also guard a pool (but not a subnet) using the
UNKNOWN client class.

Regards

Francis Dupont <[hidden email]>
Gibbins, John (IM&T, Black Mountain) writes:

> --===============2523206312931103576==
> Content-Language: en-US
> Content-Type: multipart/alternative;
> boundary="_000_SYAPR01MB2671C8209AFC4DC129FA2B0EF3910SYAPR01MB2671ausp_
> "
>
> --_000_SYAPR01MB2671C8209AFC4DC129FA2B0EF3910SYAPR01MB2671ausp_
> Content-Type: text/plain; charset="us-ascii"
> Content-Transfer-Encoding: quoted-printable
>
> I am trying to configure a kea server as a pilot to replace an our ISC dhcp=
> d servers.
>
> We currently specify different default lease times for reservations than we=
>  do for pools, using much smaller lifetimes for pools.  We specify a defaul=
> t-lease-time for the subnet (or inherit a global value) to cover the reserv=
> ations and override this for the pools within the subnets.  We do not inclu=
> de reservations within pools (in kea terms: "reservation-mode": "out-of-poo=
> l").
>
> I gather from lists that this is not yet possible:
> (https://lists.isc.org/mailman/htdig/kea-users/2017-March/000898.html, http=
> ://kea-users.7364.n8.nabble.com/Kea-users-lease-time-td384.html)
>
> Are there any plans to implement this?  This could be a show stopper for ou=
> r migration to kea, unless I can find a workaround.
>
> Background:  We current run a dozen servers spread around the country with =
> most hosts obtaining their address via a reservation with a long lease time=
> , but visitors from a different site are given a short lease address from a=
>  pool which is restricted to a list of known machines via over 20,000 subcl=
> ass definitions.  We run dual-stack across the organisation so want to do t=
> his for both IPv4 and IPv6 pools.
>
> Regards
> johng
>
>
> --_000_SYAPR01MB2671C8209AFC4DC129FA2B0EF3910SYAPR01MB2671ausp_
> Content-Type: text/html; charset="us-ascii"
> Content-Transfer-Encoding: quoted-printable
>
> <html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
> osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
> xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
> //www.w3.org/TR/REC-html40">
> <head>
> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
> >
> <meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
> <style><!--
> /* Font Definitions */
> @font-face
> {font-family:"Cambria Math";
> panose-1:2 4 5 3 5 4 6 3 2 4;}
> @font-face
> {font-family:Calibri;
> panose-1:2 15 5 2 2 2 4 3 2 4;}
> /* Style Definitions */
> p.MsoNormal, li.MsoNormal, div.MsoNormal
> {margin:0cm;
> margin-bottom:.0001pt;
> font-size:11.0pt;
> font-family:"Calibri",sans-serif;
> mso-fareast-language:EN-US;}
> a:link, span.MsoHyperlink
> {mso-style-priority:99;
> color:#0563C1;
> text-decoration:underline;}
> a:visited, span.MsoHyperlinkFollowed
> {mso-style-priority:99;
> color:#954F72;
> text-decoration:underline;}
> span.EmailStyle17
> {mso-style-type:personal-compose;
> font-family:"Calibri",sans-serif;
> color:windowtext;}
> .MsoChpDefault
> {mso-style-type:export-only;
> font-family:"Calibri",sans-serif;
> mso-fareast-language:EN-US;}
> @page WordSection1
> {size:612.0pt 792.0pt;
> margin:72.0pt 72.0pt 72.0pt 72.0pt;}
> div.WordSection1
> {page:WordSection1;}
> --></style><!--[if gte mso 9]><xml>
> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
> </xml><![endif]--><!--[if gte mso 9]><xml>
> <o:shapelayout v:ext=3D"edit">
> <o:idmap v:ext=3D"edit" data=3D"1" />
> </o:shapelayout></xml><![endif]-->
> </head>
> <body lang=3D"EN-AU" link=3D"#0563C1" vlink=3D"#954F72">
> <div class=3D"WordSection1">
> <p class=3D"MsoNormal">I am trying to configure a kea server as a pilot to =
> replace an our ISC dhcpd servers.<o:p></o:p></p>
> <p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
> <p class=3D"MsoNormal">We currently specify different default lease times f=
> or reservations than we do for pools, using much smaller lifetimes for pool=
> s.&nbsp; We specify a default-lease-time for the subnet (or inherit a globa=
> l value) to cover the reservations and
>  override this for the pools within the subnets.&nbsp; We do not include re=
> servations within pools (in kea terms: &quot;reservation-mode&quot;: &quot;=
> out-of-pool&quot;).<o:p></o:p></p>
> <p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
> <p class=3D"MsoNormal">I gather from lists that this is not yet possible:<o=
> :p></o:p></p>
> <p class=3D"MsoNormal">(<a href=3D"https://lists.isc.org/mailman/htdig/kea-=
> users/2017-March/000898.html">https://lists.isc.org/mailman/htdig/kea-users=
> /2017-March/000898.html</a>,
> <a href=3D"http://kea-users.7364.n8.nabble.com/Kea-users-lease-time-td384.h=
> tml">http://kea-users.7364.n8.nabble.com/Kea-users-lease-time-td384.html</a=
> >)<o:p></o:p></p>
> <p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
> <p class=3D"MsoNormal">Are there any plans to implement this?&nbsp; This co=
> uld be a show stopper for our migration to kea, unless I can find a workaro=
> und.<o:p></o:p></p>
> <p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
> <p class=3D"MsoNormal">Background:&nbsp; We current run a dozen servers spr=
> ead around the country with most hosts obtaining their address via a reserv=
> ation with a long lease time, but visitors from a different site are given =
> a short lease address from a pool which
>  is restricted to a list of known machines via over 20,000 subclass definit=
> ions.&nbsp; We run dual-stack across the organisation so want to do this fo=
> r both IPv4 and IPv6 pools.<o:p></o:p></p>
> <p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
> <p class=3D"MsoNormal">Regards<o:p></o:p></p>
> <p class=3D"MsoNormal">johng<o:p></o:p></p>
> <p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
> </div>
> </body>
> </html>
>
> --_000_SYAPR01MB2671C8209AFC4DC129FA2B0EF3910SYAPR01MB2671ausp_--
>
> --===============2523206312931103576==
> Content-Type: text/plain; charset="us-ascii"
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
>
> _______________________________________________
> Kea-users mailing list
> [hidden email]
> https://lists.isc.org/mailman/listinfo/kea-users
>
> --===============2523206312931103576==--
>
_______________________________________________
Kea-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users