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

Jen Linkova <furry13@gmail.com> Tue, 11 June 2024 22:45 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 27CF1C1D874E for <ipv6@ietfa.amsl.com>; Tue, 11 Jun 2024 15:45:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.858
X-Spam-Level:
X-Spam-Status: No, score=-1.858 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, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham 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 N8ODzV_pibWQ for <ipv6@ietfa.amsl.com>; Tue, 11 Jun 2024 15:45:10 -0700 (PDT)
Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) (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 40920C1DA2EB for <ipv6@ietf.org>; Tue, 11 Jun 2024 15:45:10 -0700 (PDT)
Received: by mail-lj1-x22a.google.com with SMTP id 38308e7fff4ca-2ebed33cbafso24841481fa.1 for <ipv6@ietf.org>; Tue, 11 Jun 2024 15:45:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718145908; x=1718750708; 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=iyvcwpnrkb3+oFsFbrtsLxKSrLfgp3p+hCYqxX6SNqY=; b=FkcAW2+EFzqFxlPZsEJpGDcq2naYet5PJzw+pUFgBaERyxDBvA1D8hAq6dr1n+osJ+ Sn3dRpoufje2NuH1gSmPNnVcJ2/vD/PIWe5tVdgIfZ77fVA1Kw1lVQVoRMvRTMlAMNII gwvhM2Pkx42f9U0peukLLPIwuaXWSRt7GCT6Pl7omP+0ZHBXtJnqsCKle/XoiMyIKhGy dg1PX8y9UP7bkGvylJ/b3LNZoEIediFe5SeyzOPWE6oV5miFUBcihR374xmnqSWILGxt iTBKO55ptRGJoMaws0G34JEskN63gOwuwrVzBQuRJAhslYRWZdMxSZU4CnjkGE9rZquo TQDg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718145908; x=1718750708; 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=iyvcwpnrkb3+oFsFbrtsLxKSrLfgp3p+hCYqxX6SNqY=; b=ql8pL3sHD6jSrP2Bor+bizPsV7Q5dttmmJU8Hio9ckjV564aqATKbO7eV4m+aFMbKj HfyB2sGl3disrsvACeTLEBWHXnXjLDXRhcGapjCtXYC6qthAjdlYkKrQjyWGOdRsD59A HpUPZmrnd59CqjQbEJK4N+HivItlRGKfrLwjsupTg+q9Q3v2avI14Sx9Ondp3pOMqvXq hxKXL5fPs6Tds3SSlmw2e99A/aR/Xe+hZg9oK9I9iDhvd0guiJYIhUYgA58aIOs3kgcG ENqD30c4pJgWW3CTll4nrTXt8yqRpZycojGqlcq5VGx+qNF3zdNXe6lApEDkRkFWNfcu ik1w==
X-Gm-Message-State: AOJu0YxTl0U9qJ1FR0T0/gOev35QTpD6WDgN6cfucS0KW3+xf7p05Nwb H9sZILGB56Ok5DiIAMfdudv0hX4DjOTw9QXhX2EGZuJU9xPdZryelwNWsBNyQs96SK1PiMX+Je6 q4U89NlMLxr7sA7aQg1o31ovAZP4=
X-Google-Smtp-Source: AGHT+IF3mYS3Eg8sIUhNhDc01yHU+77bPJ7TbVG7Lxtwg6ZrnpRwbUtvoTL6TPrgFMHGfGM/sqWyiDYSB4L5oOMjufM=
X-Received: by 2002:a05:651c:211:b0:2eb:e9cf:e179 with SMTP id 38308e7fff4ca-2ebfc932880mr626941fa.21.1718145907554; Tue, 11 Jun 2024 15:45:07 -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> <CAFU7BAS5iRLhGBkbWnnpjz_3oJX+_mbjNUZhm8X=QRMJUUPPxg@mail.gmail.com> <C9B5D7FD-8E88-4CA6-86EF-A2753848F138@employees.org>
In-Reply-To: <C9B5D7FD-8E88-4CA6-86EF-A2753848F138@employees.org>
From: Jen Linkova <furry13@gmail.com>
Date: Wed, 12 Jun 2024 08:44:56 +1000
Message-ID: <CAFU7BARRibBcdkXctZxoOdh9Uw5_W4tKbOp9oA5eD1agsNxnog@mail.gmail.com>
To: Ole Troan <otroan@employees.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Message-ID-Hash: LLYYJSHELRQ76BZELWTXOIXNWHLHX4TX
X-Message-ID-Hash: LLYYJSHELRQ76BZELWTXOIXNWHLHX4TX
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/LZoqcb8cd_gMsXJ4_2k_ly678w4>
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>

On Tue, Jun 11, 2024 at 10:00 PM Ole Troan <otroan@employees.org> wrote:
> I think it comes down to how you view the P-flag and how that should be specified.
> That is up to this working group to determine.

I assume it's what we are doing right now.

> If the flag means:
> - “If PD capable, use the delegated prefix to assign addresses instead of SLAAC for this PIO”
>
> or if it means:
> - “If PD capable, use the delegated prefix to assign addresses to yourself, instead of SLAAC for this PIO,
>    but only if the size of the prefix is /64 or bigger.

I'd say neither.
P-flag = 1 means that it's *safe* and desirable for a PD-capable host
to request prefixes large enough for SLAAC.
We really do not need any new flags to signal that PD is available (it
works for RFC7084 devices right now, no flags involved). We do not
need a flag to signal that a host can request /126 or /120.
The only reason the flag exists is to notify the host that the network
is OK for endpoints to request large prefixes.


> > On 11 Jun 2024, at 10:39, Jen Linkova <furry13@gmail.com> wrote:
> >
> > 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
> >
>
>


--
Cheers, Jen Linkova