[systemd-devel] [PATCH 00/11] Finalize initial DHCP support

Marcel Holtmann marcel at holtmann.org
Fri Dec 20 07:43:16 PST 2013


Hi Patrik,

> The first seven patches fix a few issues with the current code.
> 
> Patch 09 adds DHCP lease renewing support when timer T1 triggers. Using
> the UDP socket sending implementation in patch 08, the DHCP lease
> renewal is unicasted to the DHCP server. This means that systemd-network
> should have applied the acquired IP address and default route to the
> proper interface before timer T1 triggers.

this could become racy and we might end up in funny cases if the lease is really small. I think networkd and the DHCP need some way of communicating a) I set the IP you told me and/or b) we have T1 triggering, have you set the address or should I just redo the DHCP process.

Regards

Marcel



More information about the systemd-devel mailing list