[IPv6]Re: Working Group Last Call for <draft-ietf-6man-pio-pflag>

Jen Linkova <furry13@gmail.com> Tue, 11 June 2024 08:39 UTC

Return-Path: <furry13@gmail.com>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 47D80C1CAE71 for <ipv6@ietfa.amsl.com>; Tue, 11 Jun 2024 01:39:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.859
X-Spam-Level:
X-Spam-Status: No, score=-1.859 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id X-Sli_qflf-f for <ipv6@ietfa.amsl.com>; Tue, 11 Jun 2024 01:39:57 -0700 (PDT)
Received: from mail-lj1-x231.google.com (mail-lj1-x231.google.com [IPv6:2a00:1450:4864:20::231]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B565DC1F7039 for <ipv6@ietf.org>; Tue, 11 Jun 2024 01:39:52 -0700 (PDT)
Received: by mail-lj1-x231.google.com with SMTP id 38308e7fff4ca-2e72224c395so7831981fa.3 for <ipv6@ietf.org>; Tue, 11 Jun 2024 01:39:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718095190; x=1718699990; darn=ietf.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=hgz2v0TK7msBVp1tIHJd0DHl4cs1+lVaWesaKdpl3Ok=; b=JBKuHAsGLimyVPSyF8wf3FXd2fqo6LO934E1gPcc4Pz1KnBEOprVWoOreL/vkUSnbf hTgWlfkR+dItty/sMTAlu3Kw0SUoKWz675UhcCnyYpirszJakLcCW1x2U5jRDA1bO0RJ K4TjUthzoa4ypArmObBQVeh4Kt6XYuxEWEH3x+aghA3XPQvVlfmB29plo4sA9730yJ9T lhhF9UFACziC7Pa5mLRWkGDiMySqlJ8pYWhChKsI3uYNEQ9LaFTcdBSqzCzHj9N+fW5l tHjXGWMTDIeXNlf742eWsoAtBpl9abjfc/+iGyV4N20mM0ahp1xpxdjZlWGrd3RNABSL aasw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718095190; x=1718699990; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=hgz2v0TK7msBVp1tIHJd0DHl4cs1+lVaWesaKdpl3Ok=; b=FXTIJ/OTYOgG/fhZSTyb9Q/DQA7AJxOYACy8j7Am615n5xmHC1IPV1T6esbQWcJXs/ 0Vj5Egj6QGUYbZHHOhSG97Xb/ohUN8F1eL0Hvs1nK4o3PFVwYWaKSwZzBc0cwp88UaxR BtuyvL7nl2Ms/Atd4waUt5ZURQr9N/aqn/X2cQIc0CPsNvCG9UPNETcXJQ0iZwhS6gZ0 oE5nU4NMPWU15lA41CgHerMi6bEA6eXHPVKsYZeVPAhp9XiNmK1a7VuRwi3o8evCdxqN q9Mu/0Sw3ZuIIhXgtQY4VtgnzeANjZaVxvR2RMoqNJzd65IrqL/4RdMTITHifpu7cpR4 GBeA==
X-Gm-Message-State: AOJu0Yz4PuJDHLbrT3aO0dp92tQVzXr/jLOmUsR8QBSULTHEoyfafUi8 ORUqxj/dkE8Il/orGQ46InnHU82gsP8tK/zEoW8nBzlDheyjwALnVHo1VhZyaRP14GQokiPRa9V QuLp8SHJe8fIbk+dblBb9bCAO8xMf0OrRtZY=
X-Google-Smtp-Source: AGHT+IHrvf59+XrVNQHv85gc74ttair+btANdA5ZZphWiTuTP9X/Q1YTGVNSEKpUIQvSjm8Goecg+JkBpBeVTlV6XPs=
X-Received: by 2002:a2e:8098:0:b0:2eb:e840:4a15 with SMTP id 38308e7fff4ca-2ebe8404a82mr33951391fa.2.1718095190318; Tue, 11 Jun 2024 01:39:50 -0700 (PDT)
MIME-Version: 1.0
References: <18236.1717011844@obiwan.sandelman.ca> <2AD87DE1-075E-45E7-A682-8042F04EF59A@employees.org> <89dbde8c-82c9-4a2e-9cff-8d4fd2d8fbe6@gmail.com> <9E7BEA1C-4597-4142-A3AB-57211C436197@employees.org> <CAKD1Yr0iR+RZHvuquCGYfntiD+K7-PdkvGJzHLx1PLrFqJ=Z4Q@mail.gmail.com> <47BF97B8-2BEE-47CC-A965-C6BB112990AB@employees.org> <4bcfcd71-d295-433d-813f-1183c7da3cf3@gmail.com> <CAKD1Yr1CL_Jw4O-iETF6T1v8EL_Lj-fMi6EV=3MgPhN+M2tc8w@mail.gmail.com> <84f6e699-5587-4407-a566-b031c31e2cd5@gmail.com> <CAMGpriWqD99OzdOaJU7_nQTwvD=o1wsVxOQrbMqy5sH7sX7gwA@mail.gmail.com> <95dfd2e9-25da-4449-b740-724804a34735@gmail.com> <CAKr6gn12Vq9xJWGH+Na6xhDXXsW2XSDCnLegjXMRLN8KJ2CEZQ@mail.gmail.com> <CAKD1Yr24RyW_oxhY3iz5nEdXd0EZENy9cZBo7tfxLqLLMHOX_g@mail.gmail.com> <e2e406e1-1231-4c28-8163-c0e220da7453@lear.ch> <b8f85b39-0167-4040-a5d4-3a97f8819b99@gmail.com> <E50531BE-5867-472A-91FE-739341545D62@employees.org>
In-Reply-To: <E50531BE-5867-472A-91FE-739341545D62@employees.org>
From: Jen Linkova <furry13@gmail.com>
Date: Tue, 11 Jun 2024 18:39:38 +1000
Message-ID: <CAFU7BAS5iRLhGBkbWnnpjz_3oJX+_mbjNUZhm8X=QRMJUUPPxg@mail.gmail.com>
To: Ole Troan <otroan=40employees.org@dmarc.ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Message-ID-Hash: FUKQLJLWTOEDBWFS6Q5CXWA6HGUZCABY
X-Message-ID-Hash: FUKQLJLWTOEDBWFS6Q5CXWA6HGUZCABY
X-MailFrom: furry13@gmail.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-ipv6.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: 6man WG <ipv6@ietf.org>
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [IPv6]Re: Working Group Last Call for <draft-ietf-6man-pio-pflag>
List-Id: "IPv6 Maintenance Working Group (6man)" <ipv6.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/7KGRu7tYY1HjUhBgjnt9t9pTiU0>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipv6>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Owner: <mailto:ipv6-owner@ietf.org>
List-Post: <mailto:ipv6@ietf.org>
List-Subscribe: <mailto:ipv6-join@ietf.org>
List-Unsubscribe: <mailto:ipv6-leave@ietf.org>

Hi Ole,

Thanks for suggesting the text.
A few comments:

On Tue, Jun 4, 2024 at 5:09 PM Ole Troan
<otroan=40employees.org@dmarc.ietf.org> wrote:
> There is a simple fix to the document to achieve that I belive.
> Simply remove the following:
>
> OLD:
> "If the host does not obtain any suitable prefixes via DHCPv6 PD that
> are suitable for SLAAC, it MAY choose to disable further processing
> of the P flag on that interface, allowing the host to fall back to
> other address assignment mechanisms, such as forming addresses via
> SLAAC (if the PIO has the A flag set to 1) and/or requesting
> individual addresses via DHCPv6.
> “
> NEW:
> —

So you are suggesting to remove 'MAY stop processing P flag'. I'm not
sure it's a good idea: this text provides optional guidance for hosts
on how to deal with DHCP-PD failures. Removing it would not prohibit
such behaviour indeed, but IMHO it's still worth mentioning it
explicitly.

> OLD:
> "If the delegated prefix is too long to be used for SLAAC, the host
> MUST ignore it. If the prefix is shorter than required for SLAAC,
> the host SHOULD accept it, allocate one or more longer prefix
> suitable for SLAAC and use the prefixes as described below.”
> --

This specific draft focuses on providing a mechanism to enable
pd-per-device. It doesn’t signal availability of DHCPv6 PD - the host
can discover that by sending a PD request and seeing if it gets an
answer. The flag is indicating that the network can provide a prefix
suitable for SLAAC w/o running out of space and the device can use
that prefix for SLAAC/sending downstream in PIOs etc.
As David has pointed out, we shall make it much more clear in the
abstract/introduction.

If a device can use a long prefix (such as /120 or /80) it can just
ask for it all the time, it doesn’t need the flag - at least *this*
flag.
Therefore if we delete this text, it would basically render the flag useless.

> OLD:
> "When a host requests a prefix via DHCPv6 PD, it MUST use the prefix
> length hint Section 18.2.4 of [RFC8415] to request a prefix that is
> short enough to form addresses via SLAAC.”
>
> NEW:
> "The host MAY indicate as a hint to the delegating
> router the size of the prefix it requires. If so, it MUST
> ask for a prefix large enough to assign one /64 for each of
> its interfaces, rounded up to the nearest nibble, and SHOULD
> be configurable to ask for more."

That makes sense but I'd suggest a few modifications:
- replace '/64' with 'a prefix suitable for SLAAC' - we shall not be
hardcoding 64 anywhere.
- maybe we shall not be saying 'each interface' - my laptop has a
number of interfaces which might not even have IPv6 enabled or there
is no need to extend the network connectivity there (e.g. loopback).
So maybe smtj like 'to assign a prefix suitable for SLAAC to each
interface the host is extending the network connectivity to'?

-- 
Cheers, Jen Linkova