Created attachment 235827 [details] deprecate prefix on rtadvd shutdown When rtadvd is shutdown the router lifetime and lifetimes for DNS options are set to zero in order to deprecate that information. The same should be done for prefix information as shown in the attached patch. With the patched version other hosts stop immediately the use of old prefixes when rtadvd is restarted with new prefix information. Othwerwise we have to wait for prefix expiry, which meanwhile may lead to non-working connection attempts.
I am very interested in this patch. Is there a reason this is not already done? Does this run afoul of the RFCs in some way?
Looking more closely at Linux's radvd, they have it as a configuration option (DeprecatePrefix). This should probably similarly be implemented as a per-interface config.
Keyword: patch or patch-ready – in lieu of summary line prefix: [patch] * bulk change for the keyword * summary lines may be edited manually (not in bulk). Keyword descriptions and search interface: <https://bugs.freebsd.org/bugzilla/describekeywords.cgi>
Created attachment 242978 [details] deprecate prefixes on shutdown by default This adds a configuration option. Please merge either this or the original patch. Without deprecation, rebooting the gateway (which redelegates from DHCPv6-PD with a changing prefix every lease request) causes loss of v6 connectivity on my network.