Re: [Kea-users] Fwd: /32

2023-05-23 Thread Joshua Pool via Kea-users
Thank You!

On Tue, May 23, 2023 at 2:37 AM Darren Ankney 
wrote:

> Hi Joshua,
>
> You would need to use the flex option hook
> (
> https://kea.readthedocs.io/en/kea-2.2.0/arm/hooks.html#flex-option-flexible-option-actions-for-option-value-settings
> )
> to modify the assigned subnet mask from 255.255.255.0 to
> 255.255.255.255 using supersede.
>
> Thank you,
>
> Darren Ankney
>
> On Mon, May 22, 2023 at 3:34 PM Joshua Pool via Kea-users
>  wrote:
> >
> > Is there a way to configure Kea 2.2 to assign /32 addresses to clients?
> > Essentially I would like to use a /24 range but assign them as /32
> 255.255.255.255 to clients. I did not see this covered in the docs.  TIA
> > --
> > ISC funds the development of this software with paid support
> subscriptions. Contact us at https://www.isc.org/contact/ for more
> information.
> >
> > To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.
> >
> > Kea-users mailing list
> > Kea-users@lists.isc.org
> > https://lists.isc.org/mailman/listinfo/kea-users
>
-- 
ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.

To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.

Kea-users mailing list
Kea-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/kea-users


Re: [Kea-users] Hints

2023-05-23 Thread Joshua Pool via Kea-users
Thanks for the response. I am using a Mikrotik router and I can get
the desired PD from Charter Spectrum just fine but when I try to do the
same with Kea it always assigns me the delegated-len value of /56
regardless of what hint I include.

In this example my Mikrotik is set with prefix hin ::/64
In Kea the DEBUG DHCP6 PACKET RECEIVED it shows the prefix=::/64
DEBUG DHCP6_PROCESS_IA_PD_REQUEST duid=[00:03:00:01:0e:21:15:70:0c:f0],
tid=0x26e767: server is processing IA_PD option with iaid=1 and hint=::
DHCP6_PD_LEASE_ADVERT duid=[00:03:00:01:0e:21:15:70:0c:f0], tid=0xa0e83f:
lease for prefix fd00:c40:20:600::/56 and iaid=1 will be advertised

Full Log:
20:47:11 DEBUG DHCP6_PACKET_RECEIVED duid=[00:03:00:01:0e:21:15:70:0c:f0],
tid=0xa0e83f: SOLICIT (type 1) received from fe80::c21:15ff:fe70:cf0 to
ff02::1:2 on interface eth1

20:47:11 DEBUG DHCP6_PROCESS_IA_PD_REQUEST
duid=[00:03:00:01:0e:21:15:70:0c:f0], tid=0xa0e83f: server is processing
IA_PD option with iaid=1 and hint=::
20:47:11 DEBUG DHCPSRV_MEMFILE_GET_IAID_DUID obtaining IPv6 leases for IAID
1 and DUID 00:03:00:01:0e:21:15:70:0c:f0 and lease type IA_PD
20:47:11 DEBUG ALLOC_ENGINE_V6_ALLOC_UNRESERVED no static reservations
available - trying to dynamically allocate leases for client
duid=[00:03:00:01:0e:21:15:70:0c:f0], tid=0xa0e83f
20:47:11 DEBUG HOSTS_CFG_GET_ONE_SUBNET_ID_ADDRESS6 get one host with
reservation for subnet id 1 and having IPv6 address fd00:c40:20:600::
20:47:11 DEBUG HOSTS_CFG_GET_ALL_SUBNET_ID_ADDRESS6 get all hosts with
reservations for subnet id 1 and IPv6 address fd00:c40:20:600::
20:47:11 DEBUG HOSTS_CFG_GET_ALL_SUBNET_ID_ADDRESS6_COUNT using subnet id 1
and address fd00:c40:20:600::, found 0 host(s)
20:47:11 DEBUG HOSTS_CFG_GET_ONE_SUBNET_ID_ADDRESS6_NULL host not found
using subnet id 1 and address fd00:c40:20:600::
20:47:11 DEBUG DHCPSRV_MEMFILE_GET_ADDR6 obtaining IPv6 lease for address
fd00:c40:20:600:: and lease type IA_PD
20:47:11 INFO  DHCP6_PD_LEASE_ADVERT duid=[00:03:00:01:0e:21:15:70:0c:f0],
tid=0xa0e83f: lease for prefix fd00:c40:20:600::/56 and iaid=1 will be
advertised

Any Thoughts?






On Tue, May 23, 2023 at 2:46 AM Darren Ankney 
wrote:

> Hello Joshua,
>
> It would appear it just happens. No need to configure anything.  There
> is a debug message about the hint being processed:
>
> https://kea.readthedocs.io/en/kea-2.2.0/kea-messages.html
>
> DHCP6_PROCESS_IA_PD_REQUEST
>
> %1: server is processing IA_PD option with iaid=%2 and hint=%3
>
> This is a debug message that indicates a processing of received IA_PD
> option. The first argument contains the client and the transaction
> identification information. The second argument holds the IAID of the
> IA_PD option. The third argument may hold the hint for the server
> about the prefix that the client would like to have allocated. If
> there is no hint, the argument should provide the text indicating that
> the hint hasn't been sent.
>
> Thank you,
>
> Darren Ankney
>
> On Mon, May 22, 2023 at 8:39 PM Joshua Pool via Kea-users
>  wrote:
> >
> > With KEA 2.2 is there a way to assign a PD based on received PD hints?
> >
> >
> > --
> > ISC funds the development of this software with paid support
> subscriptions. Contact us at https://www.isc.org/contact/ for more
> information.
> >
> > To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.
> >
> > Kea-users mailing list
> > Kea-users@lists.isc.org
> > https://lists.isc.org/mailman/listinfo/kea-users
>
-- 
ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.

To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.

Kea-users mailing list
Kea-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/kea-users


Re: [Kea-users] Hints

2023-05-23 Thread Darren Ankney
Hello Joshua,

It would appear it just happens. No need to configure anything.  There
is a debug message about the hint being processed:

https://kea.readthedocs.io/en/kea-2.2.0/kea-messages.html

DHCP6_PROCESS_IA_PD_REQUEST

%1: server is processing IA_PD option with iaid=%2 and hint=%3

This is a debug message that indicates a processing of received IA_PD
option. The first argument contains the client and the transaction
identification information. The second argument holds the IAID of the
IA_PD option. The third argument may hold the hint for the server
about the prefix that the client would like to have allocated. If
there is no hint, the argument should provide the text indicating that
the hint hasn't been sent.

Thank you,

Darren Ankney

On Mon, May 22, 2023 at 8:39 PM Joshua Pool via Kea-users
 wrote:
>
> With KEA 2.2 is there a way to assign a PD based on received PD hints?
>
>
> --
> ISC funds the development of this software with paid support subscriptions. 
> Contact us at https://www.isc.org/contact/ for more information.
>
> To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.
>
> Kea-users mailing list
> Kea-users@lists.isc.org
> https://lists.isc.org/mailman/listinfo/kea-users
-- 
ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.

To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.

Kea-users mailing list
Kea-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/kea-users


Re: [Kea-users] Fwd: /32

2023-05-23 Thread Darren Ankney
Hi Joshua,

You would need to use the flex option hook
(https://kea.readthedocs.io/en/kea-2.2.0/arm/hooks.html#flex-option-flexible-option-actions-for-option-value-settings)
to modify the assigned subnet mask from 255.255.255.0 to
255.255.255.255 using supersede.

Thank you,

Darren Ankney

On Mon, May 22, 2023 at 3:34 PM Joshua Pool via Kea-users
 wrote:
>
> Is there a way to configure Kea 2.2 to assign /32 addresses to clients?
> Essentially I would like to use a /24 range but assign them as /32 
> 255.255.255.255 to clients. I did not see this covered in the docs.  TIA
> --
> ISC funds the development of this software with paid support subscriptions. 
> Contact us at https://www.isc.org/contact/ for more information.
>
> To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.
>
> Kea-users mailing list
> Kea-users@lists.isc.org
> https://lists.isc.org/mailman/listinfo/kea-users
-- 
ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.

To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.

Kea-users mailing list
Kea-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/kea-users