[kea-dev] Lease File Cleanup in Kea - Design Document

Chaigneau, Nicolas nicolas.chaigneau at capgemini.com
Mon Jan 26 16:09:33 UTC 2015


> Nicolas,
> 
> 
> So, with regards to the previous email you sent today. Is your use case to run multiple instances of the DHCP server or one instance listening on multiple interfaces/addresses. Or both?


Ideally: both, with no raw sockets.

Here are some explanation, then I'll look into your other mail and answer more in detail if some points are still unclear.

I have multiple DHCP relays, which send messages to my DHCP servers (which are all on the same physical host), using distinct destination IP addresses of the same interface.
My server has one interface, with many IP addresses.
In order to take advantage of the 12 CPU available, I need to be able to launch several processes, each one listening on a (distinct) subset of the interface addresses.
With dhcpd, I'm forced to start one server for each listening address, *but* I don't want that many.
I'd like to have one Kea server handle several listening addresses, and one physical server to host several Kea servers.

To clarify the raw sockets issue...
I don't want raw sockets at all, because:
- first I don't need them: in my setup all requests come through a relay. I don't have to handle broadcast messages or direct responses.
- second, I want to be able to filter out packets (through iptables) before they reach the DHCP server. Which is not feasible with raw sockets.


Regards,
Nicolas.


This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.


More information about the kea-dev mailing list