[Kea-users] Problem with ip address range in subnets

Hartmann, Jörg Joerg.Hartmann at lrh.sachsen-anhalt.de
Mon Nov 4 08:03:54 UTC 2024


Hello Darren,

your advice was right.
Also i found an  old mail on the list by Tomek Mrugalski from Aug 2016 where he recommends just the same solution.
I suppose Kea treats all 192.168.x.y addresses as a class C (/24)  without looking for the netmask on the interface.
After including "interface": "enp1s0"  in the subnet config it works like i expected.
Thanks for your help!

regards 
Jörg

-- 
Mit freundlichen Grüßen
im Auftrage

Jörg Hartmann
Referat P2 / IT-Stelle
Landesrechnungshof Sachsen-Anhalt 
06844 Dessau-Roßlau, Kavalierstraße 31
Tel. +49 340 2510 404

-----Ursprüngliche Nachricht-----
Von: Kea-users <kea-users-bounces at lists.isc.org> Im Auftrag von Darren Ankney
Gesendet: Donnerstag, 31. Oktober 2024 09:50
An: Kea user's list <kea-users at lists.isc.org>
Betreff: [EXTERN] Re: [Kea-users] Problem with ip address range in subnets

Hi Jôrg,

You might be able to overcome this by using the interface parameter.

"interface": "eth0",

added to the subnets that are each on the interface might help, but I've never personally tested assigning multiple subnets to the same interface.  It may be that the wrong subnet mask will be computed and sent to the client as well since these subnets do not match what is configured on the interface, it seems.

Thank you,
Darren Ankney

On Wed, Oct 30, 2024 at 9:41 AM Sten Carlsen <stenc at s-carlsen.dk> wrote:
>
>
> Thanks
>
> Sten
>
> On 30 Oct 2024, at 14.24, Kevin P. Fleming <lists.kea-users at kevin.km6g.us> wrote:
>
> On Wed, Oct 30, 2024, at 07:58, Hartmann, Jörg wrote:
>
> The error message is "no suitable subnet configured for a direct client".
> If i give the cisco phones a part of 192.168.22.0 they get IPs to. So it's a probably an error with the netmask which i dont understand.
> The server has 192.168.22.0/23 so 192.168.23.0/24 should be part of his address range.
> Could someone pls explain why the server dont distributes IPs from 192.168.23.0 ?



More information about the Kea-users mailing list