[Kea-users] error message

BÖSCH Christian boesch at fhv.at
Mon Nov 11 10:13:24 UTC 2024


Hi Peter, 

All the dhcp requests are coming through a relay agent. 
So the server isn’t in the same broadcast domain. Therefore I’ve configured dhcp-socket-type to “udp” as it’s mentioned in the documentation you posted below: 
“Therefore, in deployments where the server does not need to provision the directly connected clients and only receives the unicast packets from the relay agents, the Kea server should be configured to use UDP sockets instead of raw sockets. “ 

BR, Christian 

On 11.11.24, 10:39, "Kea-users" <kea-users-bounces at lists.isc.org> wrote: 


Hi Christian, 

The incoming request was from 172.21.11.104, and the lease request is for 

172.21.11.104. 



I don't know what the request packet contains, but Kea tries to send the reply 

to 255.255.255.255 - this is a Limited Scope Broadcast Address; unlike other 

types of broadcasts, packets sent to 255.255.255.255 do not pass through routers. 

Therefore, it's confined to the sender's local network segment. 



If the client with mac address b8:27:eb:12:96:74 is located in the same broadcast 

domain as the Kea server, you will need to define "dhcp-socket-type": "raw". 



See: https://kea.readthedocs.io/en/kea-2.6.1/arm/dhcp4-srv.html#interface-configuration 



/Peter 


________________________________________

From: "BÖSCH Christian" <boesch at fhv.at>
To: "Kea-users at lists.isc.org" <kea-users at lists.isc.org>
Sent: Monday, 11 November, 2024 09:40:40
Subject: Re: [Kea-users] error message 



Hi Peter, 

Dhcp-socket-type is: 
"dhcp-socket-type": "udp" 

Kea is running as user “_kea”, installed on debian with the subscriber package from isc in version 2.6.1. 
In general kea works, but some clients get this error. 
I’ve shared the config in this thread on the email before to Darren. 

Best regards, Christian 

On 10.11.24, 11:11, "Kea-users" <kea-users-bounces at lists.isc.org> wrote: 


Hi Christian, 

What is the value of "dhcp-socket-type" in your "interfaces-config" definition? 



Also, what users are you running Kea as? If Kea is not run as root, there may be 

permissions issues. 










-- 
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 at lists.isc.org
https://lists.isc.org/mailman/listinfo/kea-users 






-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20241111/a852f15b/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 9549 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20241111/a852f15b/attachment-0001.bin>


More information about the Kea-users mailing list