https://bugzilla.novell.com/show_bug.cgi?id=731730
https://bugzilla.novell.com/show_bug.cgi?id=731730#c11
--- Comment #11 from Marius Tomaschewski
This is quite unsatisfactory in the sense that the documentation suggests that setting these parameters has an effect. Apparently it is the router that determines what these lifetime values will be. In my case I have no control over these parameters, they are fixed in the router and not changeable. High priority, valid lifetime initially 7200 later RAs have lower values, and preferred lifetime 3600.
Well, the prefix lifetimes in the router RA specify the upper limit for these settings -- when the prefix is not valid any more, you can not continue to use any address in it :-). You can override the prefix lifetimes and tell the kernel it should use even _lower_ settings than the lifetime of the prefix for the temp addresses. For example when the router RA defines (defaults values): AdvValidLifetime 2592000; // 4w2d AdvPreferredLifetime 604800; // 1w for the prefix and you set: sysctl -w net.ipv6.conf.all.temp_prefered_lft=3600 (1 hour instead of a default of 1 day [86400]) sysctl -w net.ipv6.conf.all.temp_valid_lft=10800 (3 hours instead of a 7 days default [604800]) then you'll get the following life times: - for the temporary IPv6 addresses: lower lifetimes as specified in temp_*_lft settings - for the modified EUI-64 (MAC based) address: lifetimes from the prefix
Apparently I forgot a 0 behind 17280 to have two days.
For me this is only fixed when the documentation contains a warning that these values have no effect when the router provides these values with a higher or equal priority. I will document this in the wiki.
Documenting it in wiki would be cool! The documentation of the settings is quite sparing... /usr/src/linux/Documentation/networking/ip-sysctl.txt temp_valid_lft - INTEGER valid lifetime (in seconds) for temporary addresses. Default: 604800 (7 days) temp_prefered_lft - INTEGER Preferred lifetime (in seconds) for temporary addresses. Default: 86400 (1 day) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.