mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-11-25 20:38:36 +00:00
radv: explicit lease time as a floor for constructed-prefix RA lifetimes.
If upstream gives short lifetimes, local clients using RA for address leasing can lose address access. This gives the ability to stretch RAs to reasonable lifetimes.
This commit is contained in:
1 parent
8d8ad76d89
commit
a4ebe438df
2 files changed
+20
-2
No files matched your search
+4
-1
@@ -1047,7 +1047,10 @@ options. If the lease time is given, then leases
|
||||
will be given for that length of time. The lease time is in seconds,
|
||||
or minutes (eg 45m) or hours (eg 1h) or days (2d) or weeks (1w) or "infinite". If not given,
|
||||
the default lease time is one hour for IPv4 and one day for IPv6. The
|
||||
minimum lease time is two minutes. For IPv6 ranges, the lease time
|
||||
minimum lease time is two minutes. An explicitly configured lease time also
|
||||
affects IPv6 router advertisements: it acts as a ceiling on the advertised
|
||||
prefix lifetimes. For constructed ranges it also acts as a floor, unless the
|
||||
prefix is being deprecated. For IPv6 ranges, the lease time
|
||||
maybe "deprecated"; this sets the preferred lifetime sent in a DHCP
|
||||
lease or router advertisement to zero, which causes clients to use
|
||||
other addresses, if available, for new connections as a prelude to renumbering.
|
||||
|
||||
Reference in new issue
Block a user