concept Networks
IPv6 SLAAC addresses and privacy lifetimes
Follow one IPv6 SLAAC address from creation to expiry. See why a temporary replacement can be due while the original is still preferred, and why deprecation does not mean the address is invalid.
What it means
An IPv6 address configured through stateless address autoconfiguration (SLAAC) has two lifetimes. When its preferred lifetime ends, the address is deprecated: it can still serve existing communication, but a suitable preferred address is a better choice for new communication. When its valid lifetime ends, the address is no longer valid. A temporary address has additional lifetime limits, and its replacement can be due while the original address is still preferred.
Start with a host that has already formed an address from a suitable advertised network prefix and an interface identifier. The prefix identifies the network portion of the address. The timeline below follows one address on that prefix; it does not assume that every router advertisement creates an address.
Try it
Simulation. Start with the temporary address at 30 seconds. Its effective preferred lifetime is 40 seconds and its effective valid lifetime is 90 seconds, both measured from creation. Change only Time since creation to 35 seconds. With a regeneration lead time of 5 seconds, the result changes from preferred to rotate: a replacement is due because 40 − 5 = 35. The original address still has 5 seconds of preferred life left.
IPv6 SLAAC addresses and privacy lifetimes
Show address creation, preferred lifetime, valid lifetime and temporary address rotation
Address is valid and preferred.
Address decision
- Kindtemporary
- Statepreferred
Preferred and valid lifetimes run from creation. Regeneration is a trigger, not a new address observation.
Evaluated inputs
- Required scenario evidence
- provided
- Prefix preferred lifetime
- 60 s
- Prefix valid lifetime
- 120 s
- Effective temporary preferred cap
- 40 s
- Temporary valid cap
- 90 s
- Address kind
- temporary
- Regeneration lead time
- 5 s
- Time since creation
- 30 s
Newly created address only, suitable prefix/interface ID and successful DAD assumed; effective temporary preferred cap already includes desynchronization. No subsequent RA updates, address selection algorithm or actual rotation implementation.
About this model
The controls set only a local, bounded scenario. The computed branch is not a verdict about a live system. Inputs listed as not evaluated did not participate in this branch after validation.
Reset restores the original inputs. It does not change the open or closed state of help or FAQ answers.
Keep the same settings and compare the two expiry points:
| Time since creation | Result | What it means for the original address |
|---|---|---|
| 30 s | Preferred | Valid and preferred; regeneration is not yet due. |
| 35 s | Rotate | Still preferred. The policy calls for a replacement; the simulation does not create one. |
| 40 s | Deprecated | No preferred time remains, but 50 s of valid life remain. |
| 90 s | Expired | No valid time remains. The address is invalid. |
Reset restores the initial temporary address, all timer settings, the 30-second age, and the provided-evidence setting. The example is local; it does not inspect or change a network interface.
Where the two deadlines come from
At creation, the prefix supplies a preferred lifetime of 60 seconds and a valid lifetime of 120 seconds. For a temporary address, the model takes the shorter value in each pair separately. The 40-second temporary preferred cap shortens 60 seconds to 40; the 90-second temporary valid cap shortens 120 seconds to 90. These are parallel clocks, not successive intervals. Deprecation at 40 seconds does not start a fresh 90-second clock.
For a contrast, set the age to 40 seconds and change only Address kind from temporary to stable. The prefix lifetimes have not changed, but the stable address uses 60 and 120 seconds without applying the temporary caps. It is still preferred at the very instant the temporary address would be deprecated. A temporary address reaching its cap is not evidence that the prefix itself has expired.
Creation is a separate decision. Starting from the initial settings, reduce the effective temporary preferred cap to 5 seconds. That leaves exactly as much preferred time as the 5-second regeneration lead. The model requires more time than the lead, so its result is not-created, not expired. There is no address to age in this case.
The visible preferred and valid bars share the same origin. If creation is rejected, the diagram shows candidate limits only, not an address that is already aging. At an elapsed time equal to the valid deadline, validity has ended; the interval does not include that final instant.
The timer inputs use whole seconds from 0 to 600, except for the lead time, which ranges from 0 to 30. For each pair, the preferred value must not exceed the valid value. An inconsistent pair, such as prefix lifetimes of 130 seconds preferred and 120 seconds valid, is an input error, not an address state. With individually valid inputs but Required scenario evidence set to missing, the result is unknown; the model does not infer a timeline.
In practice
If a host shows a deprecated address, look at the valid lifetime for that address before concluding it can no longer be used. To find out whether privacy rotation produced a successor, look for a distinct preferred temporary address on the same interface and prefix. A countdown on the old address tells you when a replacement is due under a policy, not whether one exists.
The example assumes a suitable prefix and interface identifier and successful duplicate address detection (DAD) for a created address. It does not model enhanced DAD (RFC 7527) or the prefix-delegation preference flag for DHCPv6 (RFC 9762). The temporary preferred cap already includes the timing adjustment used to avoid synchronized regeneration. Later router advertisements, the host's choice of a source address for a particular connection, and actual replacement are outside the simulation.
Read each deadline as an answer to a different question: regeneration concerns the next address, deprecation changes the preferred use of the current address, and valid expiry ends its use. Only an observation of the host can tell you which addresses are actually present.
Frequently asked questions
Editorial questions based on the listed sources and explicitly labeled local examples.
Is a deprecated address unusable?
No. It remains valid until its valid lifetime expires. Deprecation concerns preference for new communication; it is not immediate invalidation.
Why rotate temporary addresses?
Changing interface identifiers limits simple address-based correlation. Rotation does not conceal the network prefix or prevent correlation by other identifiers.
Can temporary addresses hide everything?
No; network prefix and other identifiers may still correlate activity.
Does regeneration reset the old address’s timers?
No in this example. The trigger indicates when a successor is due. The existing address’s preferred and valid lifetimes continue from its own creation; the model does not create the successor or process later advertisements.
Sources & model boundaries
Primary references used for this explanation. The interactive example is an educational model, not a live check.
- RFC 4862: IPv6 Stateless Address Autoconfiguration
5.5.4. Preferred lifetime expiry deprecates an address; valid lifetime expiry invalidates it.
Checked .
- RFC 8981: Temporary Address Extensions for Stateless Address Autoconfiguration in IPv6
3.4,3.5. Temporary-address generation and regeneration depend on advertised and local lifetime limits. Rotating interface identifiers does not remove all ways of correlating traffic.
Checked .