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

Alexandre Petrescu <alexandre.petrescu@gmail.com> Wed, 30 October 2019 15:51 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 58D1A120113 for <v6ops@ietfa.amsl.com>; Wed, 30 Oct 2019 08:51:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.631
X-Spam-Level:
X-Spam-Status: No, score=-2.631 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, URIBL_BLOCKED=0.001] 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 L0wmnscLgXBm for <v6ops@ietfa.amsl.com>; Wed, 30 Oct 2019 08:51:50 -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 1A206120019 for <v6ops@ietf.org>; Wed, 30 Oct 2019 08:51:49 -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 x9UFph2f018572; Wed, 30 Oct 2019 16:51:43 +0100
Received: from pisaure.intra.cea.fr (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id C6CF0206690; Wed, 30 Oct 2019 16:51:43 +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 B3E45202E41; Wed, 30 Oct 2019 16:51:43 +0100 (CET)
Received: from [10.8.35.150] (is154594.intra.cea.fr [10.8.35.150]) by muguet1-sys.intra.cea.fr (8.14.7/8.14.7/CEAnet-Internet-out-4.0) with ESMTP id x9UFphMW030249; Wed, 30 Oct 2019 16:51:43 +0100
To: Jen Linkova <furry13@gmail.com>, "Rajiv Asati (rajiva)" <rajiva@cisco.com>
Cc: Ted Lemon <mellon@fugue.com>, "v6ops@ietf.org" <v6ops@ietf.org>
References: <8DA54CF0-B7D7-4E4B-BA85-EA024401DEAC@fugue.com> <EA825926-BD88-4B10-84F8-91E25C1BBA6D@cisco.com> <dd6a2619-d8b0-0b9e-b3f9-77919b1ca9ba@gmail.com> <A4BAB441-D099-4BB0-BE62-F112641F6AB7@cisco.com> <CAFU7BASR5ODRmu-FUK_BREzXEfphN=t2mvmrXt4iXGFP-28sNQ@mail.gmail.com>
From: Alexandre Petrescu <alexandre.petrescu@gmail.com>
Message-ID: <b71c949a-b0b9-986c-57d2-59105af2594b@gmail.com>
Date: Wed, 30 Oct 2019 16:51:43 +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: <CAFU7BASR5ODRmu-FUK_BREzXEfphN=t2mvmrXt4iXGFP-28sNQ@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/74rV3DX2Er4cc1RXu8F_Bj1GvEQ>
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: Wed, 30 Oct 2019 15:51:53 -0000


Le 30/10/2019 à 05:26, Jen Linkova a écrit :
> On Wed, Oct 30, 2019 at 2:35 PM Rajiv Asati (rajiva)
> <rajiva@cisco.com> wrote:
>> Yes, same prefix can be specified in DHCPv6 server and router RA
>> PIO. If ever a conflict between the IPv6 addresses at a host, then
>> the host could use DAD to resolve the conflict (and recycle the
>> SLAAC derived address). Standard machinery.
> 
> Well, I guess the more tricky case is 'a host got an address from 
> DHCP, DAD is failing because another host already assigned the same
> IP (manually or via SLAAC)'. What's next (besides sending DECLINE
> back to the server)? Split-brain condition in address assignments is
> hard. The more I read this thread the less I see the point of having
> DHCPv6 (for address assignment) when we have SLAAC.
> 
> Oh...I think I'm breaking the promise I made to myself ("never get 
> involved into SLAAC vs DHCP discussion ever') again...;))

I dont want to discuss a vs b either.

Alex

> 
> 
>> -----Original Message----- From: Alexandre Petrescu
>> <alexandre.petrescu@gmail.com> Date: Tuesday, October 29, 2019 at
>> 2:32 PM To: Rajiv Asati <rajiva@cisco.com>, Ted Lemon
>> <mellon@fugue.com> Cc: "v6ops@ietf.org" <v6ops@ietf.org> Subject:
>> Re: [v6ops] out-of-focus: why DHCPv6 breaks Android computers?
>> 
>> 
>> 
>> Le 29/10/2019 à 13:38, Rajiv Asati (rajiva) a écrit :
>>> 
>>> Indeed. CPE router should allow keeping both M and A flags, to
>>> allow simultaneous usage of DHCPv6 and SLAAC by the hosts.
>> 
>> At high level, it makes sense to require to allow simultaneous DHCP
>> and SLAAC usage on a same subnet; a private email suggests the
>> same. With that, Android and Windows would live ok side-by-side on
>> same subnet.
>> 
>> Further, thinking about how to implement the req, one would wonder 
>> whether the prefix in PIO with A flag set in an RA with M set,
>> would be the same as the prefix used by the DHCP Server to form and
>> deliver addresses?
>> 
>> (if yes, I think that is difficult to achieve: (1) difficult to put
>> same prefix in the software implementing RA sending, and in the
>> DHCP server connfig files and (2) difficult to make sure the Server
>> does not form an address for a Client, address that a Host has
>> already formed in the same prefix).
>> 
>> (because of that reason, I think that trying to implement that 
>> requirement would lead to designating a prefix for SLAAC and
>> another prefix for DHCP; that may sound a little bit as a waste).
>> 
>> Alex
>> 
>>> 
>>> About time to update RFC7084 - 
>>> https://tools.ietf.org/html/rfc7084#section-4.3
>>> 
>>> 
>>> 
>>> Cheers, Rajiv
>>> 
>>> 
>>>> On Oct 29, 2019, at 7:22 AM, Ted Lemon <mellon@fugue.com>
>>>> wrote:
>>>> 
>>>> On Oct 29, 2019, at 6:37 AM, Alexandre Petrescu 
>>>> <alexandre.petrescu@gmail.com 
>>>> <mailto:alexandre.petrescu@gmail.com>> wrote:
>>>>> 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.
>>>> 
>>>> That’s the problem.   It should turn on the managed bit but
>>>> not turn off the autonomous bit.  The two can validly be on at
>>>> the same time.
>>>> 
>>>> Of course, since their meanings are deprecated, it’s not too 
>>>> surprising that implementations get this wrong.
>>>> 
>>>> _______________________________________________ v6ops mailing
>>>> list v6ops@ietf.org
>>>> https://www.ietf.org/mailman/listinfo/v6ops
>> 
>> 
>> _______________________________________________ v6ops mailing list 
>> v6ops@ietf.org https://www.ietf.org/mailman/listinfo/v6ops
> 
> 
>