IPv6 cheat-sheet, part 3: IPv6 multicast
Many IPv6 multicast addresses are well-known to software implementing IPv6, to simplify common routing needs.
Read moreIPv6 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.
Each IPv6 prefix carries two timers, a preferred lifetime and a valid lifetime. Hosts apply them to every address built from that prefix.
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.
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.