[systemd-devel] [PATCH 0/6] Init-Reboot and some minor fixes

Tom Gundersen teg at jklm.no
Fri Jan 31 03:13:51 PST 2014


On Fri, Jan 31, 2014 at 10:31 AM, Patrik Flykt
<patrik.flykt at linux.intel.com> wrote:
> This patch set implements DHCP Init-Reboot support for libsystemd-dhcp
> and fixes a few other minor things.
>
> Init-Reboot support is implemented by patch 03. If the previous IPv4
> address is set before starting the DHCP procedure, the code now tries
> starting with Init-Reboot as described in RFC 2131. As this cuts off
> broadcasting Discovers and waiting for the first Offer to arrive, the
> address acquisition time is reduced by a significant amount. Should
> the Init-Reboot not complete successfully or a timeout occurs before
> the reply is received, the state machine is reset and a full DHCP
> exchange is done instead. To utilize Init-Reboot, systemd-networkd
> would need to persistently store the client IP address used last time.
>
> Patches 01 and 02 are trivial cleanups and patches 04 and 05 fix two
> minor details. Patch 06 has a bit more meat in it. It turns out that the
> 'secs' field is to be updated only with each sent DHCP Discover and
> not constantly for each message. The commit message contains a link
> to the discussion on the IETF DHC WG mailing list some years ago.

Thanks Patrik!

Cheers,

Tom


More information about the systemd-devel mailing list