Comment 18 for bug 761558

Revision history for this message
Tore Anderson (toreanderson) wrote : Re: [Bug 761558] Re: Default to enabling IPv6 addresses, but set to optional to bring up devices

Okay, now I've tested a bit with the Oneiric Alpha 3 live image. Highlights:

- The default Wired connection profile now has set the IPv6 mode to
Automatic by default.
- ...however, it behaves as if it is still set to «Disable» and does no
attempt of configuring IPv6.
- DHCPv6 appears broken, any activation attempt fails with a dhcp-error
- Also, dhclient6 appears to corrupt its own lease file.

Test #1: Wired ethernet, dual-stack network
-------------------------------------------
* Connection profile «Wired connection 1» has by default IPv6 mode
«Automatic».
* However, DHCPv6 is not attempted. Behaves as if IPv6 mode is «Disabled».
* «Require IPv4 for this connection to complete» is set.
* IPv4 DHCP activation succeeds, as do the overall network connectivity.

Test #2: Wired ethernet, single-stack IPv6 network
--------------------------------------------------
* Like test #1 - IPv6 configuration not performed in spite of IPv6 mode
being set to «Automatic».
* See attachment test2.oneiric-a3.wired.singlestack.syslog
* Since IPv4 is required and not present, the overall connection fails
(as expected I guess).

Test #3: Wireless ethernet, dual-stack network
----------------------------------------------
* Same default settings as for the Wired ethernet profiles
* DHCPv6 is attempted, but fails with «DHCPv6 client didn't bind to a
lease».
* Connection attempts loops and fails for 13 iterations until it settles
with only IPv4, no IPv6 configuration active.
* See attachment test3.oneiric-a3.wireless.dualstack.syslog

Test #4: Wireless ethernet, single-stack IPv6 network
-----------------------------------------------------
* Same default settings as for the Wired ethernet profiles
* DHCPv6 is attempted, but fails with «DHCPv6 client didn't bind to a
lease», as in test #3.
* Eventually corrupts the dhclient6-*.wlan0.lease file:
Aug 6 13:01:01 ubuntu dhclient:
/var/lib/dhcp/dhclient6-186b9d3d-e0d2-4fdc-a8a4-54798bef6345-wlan0.lease
line 4: expecting hexadecimal number.
Aug 6 13:01:01 ubuntu dhclient: ia-na "jPb`"
* Connection attempts loops and fails for 4 iterations until it gives up
completely, leaving the network disconnected.
* See attachment test4.oneiric-a3.wireless.singlestack.syslog

--
Tore Anderson