[systemd-devel] [PATCH 17/17] networkd: add dhcp server support
Marcel Holtmann
marcel at holtmann.org
Mon May 26 21:49:02 PDT 2014
Hi Cristian,
>>> When enabled in [Network] it will set up a dhcp server on the interface, listening
>>> on one of its statically configured IPv4 addresses and with a fixed size pool of
>>> leases determined from it.
>> Hi Tom,
>> before looking at the code, a couple of general questions:
>> - does the DHCP server have to be part of networkd?
>
> Yeah IMHO the dhcp server should be a separate daemon, that of course does not preclude it from sharing code with networkd.
that is not a good idea. Why would you make the DHCP server a separate daemon. That is just asking for trouble.
The only way to provide a proper integration is if the DHCP server is part of systemd-networkd. Otherwise you are just wasting time in trying to figure out on how to handle configuration and update of states between two daemon.
Regards
Marcel
More information about the systemd-devel
mailing list