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

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:  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: , , ,

IPv6 check

Running test...
, 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

RSS
Meningen zijn die van mezelf, wat ik schrijf is beschermd door auteursrecht. Sommige publicaties bevatten een expliciete vermelding dat ze ongevraagd gedeeld mogen worden.
My opinions are my own, what I write is protected by copyrights. Some publications contain an explicit license statement which allows sharing without asking permission.
Other webprojects: Camp Wireless, wireless Internet access at campsites, The Virtual Bookcase, book reviews
This page generated by $Id: newsitem.cgi,v 1.55 2021/11/09 13:09:49 koos Exp $ in 0.005966 seconds.