Hi, On Tue, May 10, 2011 at 03:44:18PM +0200, Jan Just Keijser wrote: > > Without "store=active", address assignment is "sticky" and will even > > survive reboots - thus making the next tunnel setup fail, because the > > address is already there. On WinXP, that was not needed, but Win7 seems > > to have changed the default. > > > but then why not use > add address <> store=active > ? why switch to "set address" ? what's the difference?
Sorry for taking a while to come back to this. I needed to re-read the Windows reference docs to be sure. I originally had "add address" there because that's what I tried and what worked - and that's sort of based on "ip -6 addr add" thinking in the back of my head, where there is basically only "add" and "delete" (and "replace a *given* address"). OTOH, what I really want here is "whatever is on the interface, make it go away and use only the address that I'm telling you to use!", and that's "netsh interface ipv6 *set*"... Reference is here: http://technet.microsoft.com/en-us/library/cc740203%28WS.10%29.aspx#BKMK_20 So, strictly speaking, the change "add" -> "set" is not required to make it work on Win7, it actually better fits what the code is trying to do. gert -- USENET is *not* the non-clickable part of WWW! //www.muc.de/~gert/ Gert Doering - Munich, Germany g...@greenie.muc.de fax: +49-89-35655025 g...@net.informatik.tu-muenchen.de
pgpVrZCl5p0ed.pgp
Description: PGP signature