2011-06-22 I am at the surfnet office this afternoo ...
I am at the surfnet office this afternoon, and that is a great opportunity to test my scripts for dynamic ipv6 addresses depending on network. Surfnet gives out 'real' IPv4 (no NAT) addresses on their wireless and IPv6 addresses.
Yes it works:3: wlan0:One downside: the 'old' dynamic address was deleted from the interface with my ssh sessions still running. Time to tweak the settings a bit more to fix this.
mtu 1500 qdisc mq state UP qlen 1000 link/ether 00:1f:e1:45:28:94 brd ff:ff:ff:ff:ff:ff inet 22.214.171.124/22 brd 126.96.36.199 scope global wlan0 inet6 2001:610:188:431:14b8:6159:f87f:20fd/64 scope global secondary dynamic valid_lft 604014sec preferred_lft 85014sec inet6 2001:610:188:431:21f:e1ff:fe45:2894/64 scope global dynamic valid_lft 2591994sec preferred_lft 604794sec inet6 fe80::21f:e1ff:fe45:2894/64 scope link valid_lft forever preferred_lft forever
Second thought: Maybe a complete wireless disconnect / connect caused this. The current settings for temporary address lifetimes:net.ipv6.conf.wlan0.temp_valid_lft = 604800 net.ipv6.conf.wlan0.temp_prefered_lft = 86400604800 seconds is one week, 86400 seconds is one day.