An update. This should be used instead:

echo 1 > /proc/sys/net/ipv6/conf/DEV/disable_ipv6
echo 0 > /proc/sys/net/ipv6/conf/DEV/disable_ipv6

This seems to work if NM's ipv6 setting is "ignore", but if it is set to
"Link-local", then NM appears to somehow block the new address. I
glanced briefly at the NM source to make sure Ignore doesn't do
anything, but not enough the track down any actual problem.

The ip command a few comments earlier appears to sometimes confuse
network-manager and cause it to reload the IPv4 connection, too.

In my opinion, there should be another option called "Opportunistic",
which does what is desired here, and it should be the default.  As IPv6
is being newly deployed, it is probably the correct thing to use if it
happens to exist on a given network.

-- 
IPv6=automatic breaks IPv4
https://bugs.launchpad.net/bugs/284874
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to