Comment 23 for bug 284874

Revision history for this message
Abraham Smith (adsmith) wrote :

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.