Re: [v6ops] out-of-focus: why DHCPv6 breaks Android computers?

Alexandre Petrescu <alexandre.petrescu@gmail.com> Tue, 29 October 2019 10:37 UTC

Return-Path: <alexandre.petrescu@gmail.com>
X-Original-To: v6ops@ietfa.amsl.com
Delivered-To: v6ops@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 879F8120099 for <v6ops@ietfa.amsl.com>; Tue, 29 Oct 2019 03:37:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.632
X-Spam-Level:
X-Spam-Status: No, score=-2.632 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KJxdKhYAZIrX for <v6ops@ietfa.amsl.com>; Tue, 29 Oct 2019 03:37:15 -0700 (PDT)
Received: from sainfoin-smtp-out.extra.cea.fr (sainfoin-smtp-out.extra.cea.fr [132.167.192.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D1AA612002E for <v6ops@ietf.org>; Tue, 29 Oct 2019 03:37:14 -0700 (PDT)
Received: from pisaure.intra.cea.fr (pisaure.intra.cea.fr [132.166.88.21]) by sainfoin-sys.extra.cea.fr (8.14.7/8.14.7/CEAnet-Internet-out-4.0) with ESMTP id x9TAbBuN035971; Tue, 29 Oct 2019 11:37:11 +0100
Received: from pisaure.intra.cea.fr (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id B8DCB2027FF; Tue, 29 Oct 2019 11:37:11 +0100 (CET)
Received: from muguet1-smtp-out.intra.cea.fr (muguet1-smtp-out.intra.cea.fr [132.166.192.12]) by pisaure.intra.cea.fr (Postfix) with ESMTP id ABF6C2038D1; Tue, 29 Oct 2019 11:37:11 +0100 (CET)
Received: from [10.11.240.90] ([10.11.240.90]) by muguet1-sys.intra.cea.fr (8.14.7/8.14.7/CEAnet-Internet-out-4.0) with ESMTP id x9TAbBWN004630; Tue, 29 Oct 2019 11:37:11 +0100
To: Jen Linkova <furry13@gmail.com>
Cc: "v6ops@ietf.org" <v6ops@ietf.org>
References: <2b617ab1-018a-8f03-4d8b-081c09c9c88a@gmail.com> <CAFU7BATuer=XutH-G0v0cSCqmcULU2UgHe9GGhS0OhUY2brU4A@mail.gmail.com>
From: Alexandre Petrescu <alexandre.petrescu@gmail.com>
Message-ID: <b43f56b8-e5d6-b875-c594-656bc6ba0b45@gmail.com>
Date: Tue, 29 Oct 2019 11:37:11 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.2.0
MIME-Version: 1.0
In-Reply-To: <CAFU7BATuer=XutH-G0v0cSCqmcULU2UgHe9GGhS0OhUY2brU4A@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: fr
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/v6ops/nQYc3Yv8W5OK-_rhxKl-ph_JDK4>
Subject: Re: [v6ops] out-of-focus: why DHCPv6 breaks Android computers?
X-BeenThere: v6ops@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: v6ops discussion list <v6ops.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/v6ops>, <mailto:v6ops-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/v6ops/>
List-Post: <mailto:v6ops@ietf.org>
List-Help: <mailto:v6ops-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/v6ops>, <mailto:v6ops-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 29 Oct 2019 10:37:16 -0000

Le 29/10/2019 à 01:18, Jen Linkova a écrit :
> On Mon, Oct 28, 2019 at 8:47 PM Alexandre Petrescu 
> <alexandre.petrescu@gmail.com> wrote:
>> Why the presence of a DHCPv6 server breaks Android computers?
>> 
>> On my CPE at home, of ISP Free, I noticed recently this message: 
>> 'Watch out: if you activate the DHCPv6 server, certain Android 
>> computers are at risk of loosing their IPv6 connection'.
>> 
>> Why and how the presence of a DHCPv6 server on the CPE breaks 
>> Android computers?
> 
> The presence of DHCPv6 should not break Android devices (have not 
> seen it before).

I may have not used the right word 'break'; a more conforming
translation is 'loose their IPv6 connection'.

While trying, that is what seem to happen: when turning on DHCPv6 server
on the CPE the Android stops browsing ipv6.google.com. (it could browse
when it was off).

Remark, under same conditions, my Windows PC resists well this flipping
of the DHCPv6 Server on CPE - it continues browsing ipv6.google.com
after the flipping.

> Try it and see what happens?

Thanks, I did learn a few things while trying.

> The only theory I have is that by 'activating DHCPv6'  your CPE 
> actually means 'disabling SLAAC'. Then yes, it would break things.

Well no.  After  activating DHCPv6 on CPE the CPE sent three RAs
changing the Lifetime and flipping the M(anaged) and A(utonomous) flags.

Packet dumps available upon request.

>> I would like to try this DHCPv6 server to connect my Windows 2-in-1
>> computer to work at home,
> 
> Get the Creator update ;) Then it would work with RDNSS ;)

Well, I have Windows 10 latest version (not Creator), but it seems to
work ok.

The RDNSS option is present already in the RAs sent by the CPE.  But I
do not understand why would one suggest the use of RDNSS could solve
this problem.

Alex

>