diff options
author | Tom Gundersen <teg@jklm.no> | 2015-08-27 08:54:41 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2015-08-28 11:05:32 +0200 |
commit | 83cedf7ae28925e37931e7e92d22be9c936a1def (patch) | |
tree | 89c615165cb234dc42da2ffe8554ab62e6f3ad92 /src/sysv-generator | |
parent | 9c92a077b667fe3947cc8a9caa197dea8b80b8e0 (diff) |
sd-dhcp-server: improve predictability of leases
Rather than having all clients attempt to get the same leases (starting at the
beginning of the pool), make each client star at a random offset into the pool
determined by their client id. This greatly increases the chances of a given
client receiving the same IP address even though both the client and server
have lost any lease information (and distinct server instances handing out
the same leases).
Diffstat (limited to 'src/sysv-generator')
0 files changed, 0 insertions, 0 deletions