Re: [Kea-users] CIDR or range notation in relay lists when using shared-networks?

2023-02-22 Thread Klaus Steden
Hello all, Thanks for the responses, and sorry for the ambiguity in my original question, so I'll try to clarify. FWIW, my team had no input into the network design process, we just got saddled with a bespoke implementation and have been adapting as we go. This is the basic model: - an instance

Re: [Kea-users] got unexpected keyword "valid-lifetime" in reservations map.

2023-02-22 Thread Francis Dupont
You can't specify the option 51 dhcp-lease-time because it is directly managed by Kea. BTW if you were allowed to change it (which still can be done by the flex-option hook) it would not change the valid lifetime in the lease database so would be very far from what you wanted... Regards Francis

Re: [Kea-users] got unexpected keyword "valid-lifetime" in reservations map.

2023-02-22 Thread Veronique Lefebure
I don't know. You should probably test, or get the answer of an expert. From: Kraishak Mahtha Sent: Wednesday, February 22, 2023 11:19 AM To: Veronique Lefebure Cc: kea-users@lists.isc.org Subject: Re: [Kea-users] got unexpected keyword "valid-lifetime" in

Re: [Kea-users] CIDR or range notation in relay lists when using shared-networks?

2023-02-22 Thread Simon
Darren Ankney wrote: > In addition to what Peter said, another option would be to use shared > networks and add the subnet for relays along with the subnet of > addresses that you wish to allocate to the clients to a shared > network. See: >

Re: [Kea-users] CIDR or range notation in relay lists when using shared-networks?

2023-02-22 Thread Darren Ankney
Hello Klaus, In addition to what Peter said, another option would be to use shared networks and add the subnet for relays along with the subnet of addresses that you wish to allocate to the clients to a shared network. See:

Re: [Kea-users] got unexpected keyword "valid-lifetime" in reservations map.

2023-02-22 Thread Kraishak Mahtha
Hi Veronique, So for a reservation entry, if we want to define a lease time that is different from subnet can we do as follows? i.e define only the option 51(dhcp-lease-time) will this be efficient ? "subnet4": [ { "subnet": "4.0.0.0/16", "valid-lifetime": 3600,

Re: [Kea-users] got unexpected keyword "valid-lifetime" in reservations map.

2023-02-22 Thread Veronique Lefebure
Hi, If you look at https://kea.readthedocs.io/en/latest/grammar/grammar.html you can see that valid_life_time is not an attribute of host-reservations: reservation_param ::= duid 753 | reservation_client_classes 754 | client_id_value 755

[Kea-users] got unexpected keyword "valid-lifetime" in reservations map.

2023-02-22 Thread Kraishak Mahtha
Hi All, I am using the kea-dhcp of 2.2.0 version, I am trying to add a reservation entry along with a valid lifetime option value but I am facing the syntax issue saying "got unexpected keyword "valid-lifetime" in reservations map". kea-dhcp4 -t kea-dhcp4.conf. --> syntax validator Syntax check