IPAM glossary

What is IPv6 Prefix Lifetime?

Abstract isometric UI showing network ranges, usage bars, region names (EMEA/APAC), and a purple "Deploy" button
Key takeawaysKey takeaways are generated with AI assistance. Because automated summaries can occasionally contain errors or miss important context, always refer to the full blog post for complete information.

IPv6 prefix lifetime is a critical addressing parameter consisting of preferred and valid lifetime timers that control how long IPv6 addresses derived from a prefix remain usable on a network, enabling orderly address deprecation and prefix renumbering without disrupting active connections. Advertised through router advertisements or DHCPv6, these timers help organizations manage address lifecycles, prevent stale addresses after renumbering, and support security practices like router advertisement guard. Misconfigured lifetimes—whether too long or too short—cause operational problems ranging from persistent stale routes to intermittent connectivity loss, making proper lifetime planning essential for IPv6 network reliability and management.

  • IPv6 prefix lifetimes consist of two independent timers: a preferred lifetime that gates new connections and a valid lifetime that gates address retention, with the preferred lifetime never exceeding the valid lifetime per RFC 4862.
  • Lifetimes are refreshed through subsequent router advertisements or DHCPv6 renewals, and a prefix can be gracefully deprecated by advertising a preferred lifetime of zero while the valid lifetime continues, allowing existing connections to complete before expiry.
  • Configuration errors such as valid lifetimes shorter than advertisement intervals or mismatches between delegated prefix lifetimes and downstream host lifetimes result in dropped connectivity and stale address problems that require careful alignment with network refresh cycles.

IPv6 prefix lifetime at a glance

AttributeValue
CategoryIPv6 addressing parameter
Defined inRFC 4861 for neighbor discovery, RFC 4862 for stateless address autoconfiguration, RFC 8415 for DHCPv6
Protocol and portICMPv6 router advertisements (type 134) and DHCPv6 (UDP ports 546 and 547)
OSI layerLayer 3, network
Primary useControlling how long addresses from a prefix are preferred and valid, so prefixes can be renumbered or retired
Related termsDHCPv6, DHCPv6 prefix delegation, SLAAC, router advertisement, IPAM

How IPv6 prefix lifetime works

Each IPv6 prefix carries two timers, a preferred lifetime and a valid lifetime. Hosts apply them to every address built from that prefix.

  1. Prefix is advertised: A router sends a router advertisement with a prefix information option, or a DHCPv6 server assigns an address or delegated prefix. The message includes a preferred lifetime and a valid lifetime in seconds.
  2. Host configures addresses: The host builds an address from the prefix, for example through stateless address autoconfiguration, and starts both timers for that address.
  3. Lifetimes are refreshed: While the prefix is still in use, later advertisements or DHCPv6 renewals reset the timers, which keeps the address in service.
  4. Address becomes deprecated: When the preferred lifetime ends, the address is deprecated. Existing connections can continue, but new connections should use a preferred address.
  5. Address becomes invalid: When the valid lifetime ends, the address is removed and can no longer be used.

The preferred lifetime must not exceed the valid lifetime. A value of all ones (4294967295 seconds) means infinite. Hosts also apply rules that limit how fast a spoofed advertisement can shorten a valid lifetime, as specified in RFC 4862.

Why IPv6 prefix lifetime matters in enterprise networks

Lifetimes are the mechanism that makes IPv6 renumbering workable. When an ISP changes a delegated prefix or an organization retires a block, the old prefix can be advertised with a preferred lifetime of zero so hosts stop starting new connections from it, then left to expire. Lifetimes also let networks clean up addresses without touching each host.

Poorly chosen values cause visible problems. Very long lifetimes leave stale addresses and routes in place after a renumbering, so traffic may use a prefix that is no longer routed. Very short lifetimes increase refresh traffic and can drop addresses if advertisements are lost, for example on busy wireless networks or links that filter multicast.

Lifetimes also matter for security and operations. A rogue router advertisement can set a prefix lifetime to zero or push hosts onto an unwanted prefix, which is why RFC 6105 describes router advertisement guard. Address management records should track the lifetimes assigned to each prefix, so administrators can tell whether an address seen in logs was valid at the time of an incident.

IPv6 prefix lifetime vs DHCP lease

A DHCP lease is the time limit on one IPv4 or IPv6 address binding held by a client, while an IPv6 prefix lifetime is a pair of timers attached to a prefix that apply to every address built from it. What is DHCP Lease?

AttributeIPv6 prefix lifetimeDHCP lease
ScopePrefix and all addresses derived from itOne address binding for one client
TimersPreferred lifetime and valid lifetimeLease duration with renewal and rebinding times
SourceRouter advertisement or DHCPv6 serverDHCP server
Protocol coverageIPv6 onlyDHCPv4 and DHCPv6

Common IPv6 prefix lifetime issues

When an old prefix keeps a long valid lifetime, hosts hold addresses from it for days after the router stops routing it. Users see intermittent failures because source address selection may still pick the deprecated or dead prefix.

If the valid lifetime is shorter than the interval between router advertisements, addresses expire between refreshes and connectivity drops periodically. Check the advertisement interval against the configured lifetimes.

A DHCPv6 prefix delegation with a short lifetime can expire on the requesting router while downstream hosts still hold longer lifetimes. Hosts then keep using addresses from a prefix the router no longer owns.

A configuration where the preferred lifetime exceeds the valid lifetime is invalid, and hosts typically ignore the option. The prefix appears to be advertised but no addresses are configured from it.

Simply stopping advertisements of a prefix does not remove it from hosts. Without advertising a zero preferred lifetime, hosts keep using the address as preferred until the valid lifetime runs out.

See how unified DDI simplifies network operations

Manage DNS, DHCP and IP addresses from one platform with automation, visibility and control built in.

IPv6 prefix lifetime FAQ

Related terms

Article

IPv6 (Internet Protocol version 6)

Internet Protocol version 6 (IPv6) is the most recent version of Internet Protocol, using 128-bit address space with approximately 340 undecillion available addresses.

Learn more
Article

DHCP (Dynamic Host Configuration Protocol)

DHCP (Dynamic Host Configuration Protocol) is the standard mechanism to dynamically assign IP addresses within a network.

Learn more
Article

DHCP Lease

A DHCP lease is the period during which a DHCP server assigns an IP address to a client device, allowing it to use that address before renewal or expiration.

Learn more
Article

Time to Live (TTL)

TTL (time to live) is a setting for each DNS record that specifies how long a resolver caches the DNS query before it expires.

Learn more
Article

IP Address Lifecycle Management

IP address lifecycle management is the process of allocating, tracking, monitoring, reclaiming, and retiring IP addresses throughout their use in a network.

Learn more
Article

IPAM (IP address management)

IP address management (IPAM) is a method for planning, tracking, and managing IP address space on a network.

Learn more
Article

DHCP Scope

A DHCP scope defines the range of IP addresses and related configuration settings that a DHCP server can assign to devices on a network segment.

Learn more
Article

Internet Protocol Address (IP Address)

An Internet Protocol Address (IP Address) is a numerical label assigned to each device connected to a network using IP for communication.

Learn more