summaryrefslogtreecommitdiff
path: root/src/sysv-generator
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-08-27 08:54:41 +0200
committerTom Gundersen <teg@jklm.no>2015-08-28 11:05:32 +0200
commit83cedf7ae28925e37931e7e92d22be9c936a1def (patch)
tree89c615165cb234dc42da2ffe8554ab62e6f3ad92 /src/sysv-generator
parent9c92a077b667fe3947cc8a9caa197dea8b80b8e0 (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