I am at the surfnet office this afternoo ... / 2011-06-22

2011-06-22 I am at the surfnet office this afternoo ... 8 years ago
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:  mtu 1500 qdisc mq state UP qlen 1000
    link/ether 00:1f:e1:45:28:94 brd ff:ff:ff:ff:ff:ff
    inet 145.96.2.161/22 brd 145.96.3.255 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
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.
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 = 86400
604800 seconds is one week, 86400 seconds is one day.

Tags: , , ,

, reachable as koos+website@idefix.net. PGP encrypted e-mail preferred.

PGP key 5BA9 368B E6F3 34E4 local copy PGP key 5BA9 368B E6F3 34E4 via keyservers pgp key statistics for 0x5BA9368BE6F334E4 Koos van den Hout
RSS
Other webprojects: Camp Wireless, wireless Internet access at campsites, The Virtual Bookcase, book reviews
This page generated in 0.004298 seconds.