GNOME Bugzilla – Bug 646703
stateless autoconfigured IPv6 addresses persist after unplugging from network.
Last modified: 2011-04-04 15:56:17 UTC
On a debian wkeezy system, if I: 1. Plug laptop into Network1 with IPv6 router advertisements enabled, see IPv6 address auto-configured correctly. 2. Unplug from Network1 3. Plug into another Network2. My IPv6 address from Network1 will still be assigned to the interface, even though network manager will have removed the IPv4 address and rerun the DHCP configuration for IPv4. This means that if I try to go to any IPv6 hosts, they will time out as I'm using an invalid address for this new network. It seems logical that network-manager should do the same for IPv6 as it does for v4, ie remove the address when the link goes down and attempt to configure again as usual when plugged into the same or different network afterward.
Created attachment 185102 [details] screenshot of ifconfig before and after unplugging....
Which specific version of NetworkManager are you seeing this with? 0.8.2? 0.8.1?
I think this is fixed by commit 36ef4a22 which was pushed for bug 641333. I'll dupe to that bug for now, and you can test with 0.8.4 and if that does not fix the issue, lets re-open this bug. *** This bug has been marked as a duplicate of bug 641333 ***
The exact debian package version is: 0.8.3.998-1 which I presume is based on 0.8.3. I should have stated also that if Network2 has router advertisements you end up with both IPv6 addresses, one for each network. Gavin
Oh, my apologies, I didn't realise I had to configure network-manager to pay attention to IPv6. It turns out that on Debian the default is "ignore", which leads to this result. If you change it to "Automatic" the address does get removed as it should. Is it safe to leave "Automatic" on all the time or is there some down side to that? Would it make sense for me to suggest to the packagers to make "Automatic" the default? Sorry for wasting your time. Gavin