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

Jen Linkova <furry13@gmail.com> Wed, 30 October 2019 04:26 UTC

Return-Path: <furry13@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 6DBE6120089 for <v6ops@ietfa.amsl.com>; Tue, 29 Oct 2019 21:26:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.748
X-Spam-Level:
X-Spam-Status: No, score=-1.748 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 QLd5ixhI7EfA for <v6ops@ietfa.amsl.com>; Tue, 29 Oct 2019 21:26:27 -0700 (PDT)
Received: from mail-qt1-x82f.google.com (mail-qt1-x82f.google.com [IPv6:2607:f8b0:4864:20::82f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BEA8A12003E for <v6ops@ietf.org>; Tue, 29 Oct 2019 21:26:27 -0700 (PDT)
Received: by mail-qt1-x82f.google.com with SMTP id c26so1435712qtj.10 for <v6ops@ietf.org>; Tue, 29 Oct 2019 21:26:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=pCrT+t0Z6Gln1IsZn6globRwsONvX1/+bOeouZGx2Wo=; b=Q312etn1GBuANtG78LtvqBykLH76sMlu4JsSQXEqeFliPwyfWTlhTwa9KpDtBPwU/R L8ofZaVMkL1Tllu8RJDX2A2c9sK6iyHqk+59TNF2e5GYIvhcfuoWiUmItJyqscGWWaNV 9ZgHTaup90S1ra05AgwzfQsdNpc5wq5K1n9qt/966ZYvFda/cr8eDSEhV/Lg2OkDGjW8 gqXQ1ftwgf5NXcmfNvzNgzD0YpuvPF0aWU1n2YH/8f8yNUYymWBStmq5hbfZHcYk7+hD dN6zqgRyPFctXeRAQdXt8xDgBD6C0g2RF36WCut2kqAs60iZznkCJAb+clxL3PhhlJhz h7NQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=pCrT+t0Z6Gln1IsZn6globRwsONvX1/+bOeouZGx2Wo=; b=NSNE3lwzp5cImQgtpfpKJjlj7DYaPJHNgriTBq6sjTosQBU8k23BGz7FaqLxyKyPUs sugeNZO/L6vUp1Y++WTaD/2UmkEmkP1mZVXaA1C1Z/eeqylTbTJFx75SDrwhoV+jW3kZ vc2myPCkkP1NojcRAr11BgIFG06bfwiRvcYhrEGrb9fsM1rS9IyfoN6sbF3V1O90zBSc 8Qn63odi9JTVd0s2ofqiscdkdhBhsULKq5vZem04WSI+7lddhLXNra6ADKY0I/yEvdfF +6rSYkZkYyQpTxVLa1LModynxM777CQBLlD0aNK3XmaWOzjH19aWELhGroAtwIO65Fd1 PXtw==
X-Gm-Message-State: APjAAAXplP+K4AJ/1F5WMLMKvgz9MAGRSD0zUr4lkTbr88KJuYrQNbBB f+ReSJYqKnKg1awpRuCVKlo2NWSbHWK/PGMFlck=
X-Google-Smtp-Source: APXvYqxpJnhkXVlnmm0uMmMnmRUlghzRvpZYyItRQnb9NZAS50aGVbJCZ+cgtaaBPL2UX91/8XIcdSgjOb3PFEolGpM=
X-Received: by 2002:a0c:c2d3:: with SMTP id c19mr27532289qvi.158.1572409586478; Tue, 29 Oct 2019 21:26:26 -0700 (PDT)
MIME-Version: 1.0
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>
In-Reply-To: <A4BAB441-D099-4BB0-BE62-F112641F6AB7@cisco.com>
From: Jen Linkova <furry13@gmail.com>
Date: Wed, 30 Oct 2019 15:26:15 +1100
Message-ID: <CAFU7BASR5ODRmu-FUK_BREzXEfphN=t2mvmrXt4iXGFP-28sNQ@mail.gmail.com>
To: "Rajiv Asati (rajiva)" <rajiva@cisco.com>
Cc: Alexandre Petrescu <alexandre.petrescu@gmail.com>, Ted Lemon <mellon@fugue.com>, "v6ops@ietf.org" <v6ops@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/v6ops/yTlwKRU-gf8iAYPFXmPS3Ufbq4Y>
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 04:26:30 -0000

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...;))


> -----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



-- 
SY, Jen Linkova aka Furry