Re: [v6ops] Continuing WGLC: ietf-v6ops-dhcp-pd-per-device-03

Brian E Carpenter <brian.e.carpenter@gmail.com> Tue, 10 October 2023 20:54 UTC

Return-Path: <brian.e.carpenter@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 2B122C14CE33 for <v6ops@ietfa.amsl.com>; Tue, 10 Oct 2023 13:54:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.199
X-Spam-Level:
X-Spam-Status: No, score=-2.199 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_FROM=0.001, NICE_REPLY_A=-0.091, 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 vupc9Y636zz4 for <v6ops@ietfa.amsl.com>; Tue, 10 Oct 2023 13:53:59 -0700 (PDT)
Received: from mail-oi1-x22e.google.com (mail-oi1-x22e.google.com [IPv6:2607:f8b0:4864:20::22e]) (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 D8DC8C1519B2 for <v6ops@ietf.org>; Tue, 10 Oct 2023 13:53:59 -0700 (PDT)
Received: by mail-oi1-x22e.google.com with SMTP id 5614622812f47-3ae5ee80c0dso4182674b6e.3 for <v6ops@ietf.org>; Tue, 10 Oct 2023 13:53:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696971239; x=1697576039; darn=ietf.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=5V/1C457KCuCxZmg3p3iMGIC95QYLChkhGeL4RwBcBU=; b=OMNDAJg/4WYa4n2bVOAX/vaIIxWI1qSKZ3CcVyfPMf2EkNmfDa7/7fcCIiZEsuBZiy 4CFcYAseozfiRuzbLcJAF2UckvLbBlx7W0l+jyvhYA2wHvPjQcuEWVOCaZlSTfvt1cMp ttC2kptbNumUW8zvfFL8a5DtuCrzbnWmdYmIAR820In4moYiIvYrZGpiBViGQXEPKMxh LeC5lstz8tlIuPs3lWRNhcXohs4gP/YqiNHVUHSJzRjbSkEd7OuQiu349RiufBe5shb4 b9TLEXW0RyfUAJ7+lyWIzPsjG1Zm7dkmVlvXRVGguOi/+kuegVbre2+DD8VztyW16lEi iI+g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696971239; x=1697576039; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=5V/1C457KCuCxZmg3p3iMGIC95QYLChkhGeL4RwBcBU=; b=buiU6WGSkVXLxjdH72BYFQaQVLmFVSp88TLOGJtrQ3ABzFD8UrXRHBVhLmE2DJ3SHO sN2WxBhTIe1eMN1wa/a/AmqmST/W6fmMGHgPcqiLsQfPxgGYt3/j2tZM6+ll0mV2qYZl eFbn/BvQYHAjulSjWws1hiVenQaWc2eaU89+kgigv2fdWCBpyW51EE2cO4M7g3VCDsZD wsv/Rh0YLZiz4YtyCUSeG/IsjmimeH7Ih07pDoLv1tLJ+ejLUE8zaHitB3DLsUor/bkL PudJTwGqd8tCROBSpmMFaWeZgAr+j9PCCAHj8BEVfI6HbEU9BWW9oNES7+gsOm/72SNa g1qw==
X-Gm-Message-State: AOJu0YxI4vOsRBSs++uEvCZ7iC5eWo9DEbyqNzlVBN1k7WIOGlLJwqSu 3X2Zl6GMW9y2xLgNyNn4FpA=
X-Google-Smtp-Source: AGHT+IH+HIANiWbFKDkX1CYOw0aDKWyS6JE6Ysl+ty3o8yOA5zekJfHW9Kr0rRa7sNMI4WoOpINewg==
X-Received: by 2002:a54:4181:0:b0:3b0:d630:64c5 with SMTP id 1-20020a544181000000b003b0d63064c5mr5802944oiy.0.1696971238852; Tue, 10 Oct 2023 13:53:58 -0700 (PDT)
Received: from ?IPV6:2406:e003:110d:5301:8cb6:a2c:7461:4047? ([2406:e003:110d:5301:8cb6:a2c:7461:4047]) by smtp.gmail.com with ESMTPSA id f26-20020a63381a000000b00578b40a4903sm10739624pga.22.2023.10.10.13.53.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 10 Oct 2023 13:53:58 -0700 (PDT)
Message-ID: <5d43fef7-5851-41a5-f6ac-67984e668c88@gmail.com>
Date: Wed, 11 Oct 2023 09:53:52 +1300
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0
Content-Language: en-US
To: Lorenzo Colitti <lorenzo@google.com>, Ole Troan <otroan@employees.org>
Cc: Jen Linkova <furry13@gmail.com>, V6 Ops List <v6ops@ietf.org>, Pascal Thubert <pascal.thubert@gmail.com>, Vasilenko Eduard <vasilenko.eduard@huawei.com>, "Joel M. Halpern" <jmh@joelhalpern.com>, Paolo Nero <oselists@gmail.com>
References: <169660647031.23597.13067349132781805398@ietfa.amsl.com> <CAFU7BATORG5sruy19XMAXsfvqumOB7wL=G1EbNo-zUrtzoddNg@mail.gmail.com> <2AE8C0BD-4290-45B2-82A6-7DE89BBD6EAD@employees.org> <CAKD1Yr1Dyk_aRbGkOAVfL9az_4yM1wTFTFD88YbTmniscgpYoQ@mail.gmail.com> <A0E43256-9E6D-471D-854C-6F2C6D71CEF3@employees.org> <CAKD1Yr2gy5dBcUf-6=+7MC9kXchtm14POUSck+Gxz++D-7-myg@mail.gmail.com>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
In-Reply-To: <CAKD1Yr2gy5dBcUf-6=+7MC9kXchtm14POUSck+Gxz++D-7-myg@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: base64
Archived-At: <https://mailarchive.ietf.org/arch/msg/v6ops/I70SW7Lohma5hX-Kejx51KUUwoM>
Subject: Re: [v6ops] Continuing WGLC: ietf-v6ops-dhcp-pd-per-device-03
X-BeenThere: v6ops@ietf.org
X-Mailman-Version: 2.1.39
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, 10 Oct 2023 20:54:04 -0000

Lorenzo,
On 10-Oct-23 19:27, Lorenzo Colitti wrote:
> On Tue, Oct 10, 2023 at 3:10 PM Ole Troan <otroan@employees.org <mailto:otroan@employees.org>> wrote:
> 
>      > This is very similar to how address pools are allocated when using DHCP to assign individual addresses (e.g., DHCPv4 or DHCPv6 IA_NA), where each link has a dedicated pool of addresses, and clients on the link obtain addresses from the pool. In this model, each link's pool can be sized according to the expected maximum of devices on a particular link, similar to how DHCPv4 pools are sized today. For example, if the network assigns a /64 to every client, then any link that is assigned an IPv4 prefix of /X (e.g., X=/18, X=/24) would require a corresponding prefix pool of size X+32 (e.g., X=/50, X=56).
> 
>     I think I would like to see some operational guidance.
> 
> 
> Isn't the text I suggested above already operational guidance? It basically says that for the pool-per-link model (which is the only one documented in the draft), the operator should assign one pool for each link and size the pools based on expected maximum usage, which is basically the same way that operators size IPv4 address pools today. 

Hmm. That requires the operator (a fallible and unscaleable component) to estimate the maximum usage for each link. It seems to me that is a fallible solution that doesn't scale. Either the local pool size should be computed and maintained automatically, or there should be a central on-demand pool of some kind. (This is really why we used prefix assignment as an example use case for autonomic networking - it's not exactly a new problem - and why we did RFC8992.)

    Brian

> Not sure what else we should say here, maybe say that the lease times need to be consistent with IPv4 lifetimes as well, to prevent prefix exhaustion?
> 
>     Also, regarding the prefix pool idea. When this was last discussed in SNAC the opinions seemed to lean towards flat allocation. That’s a lot more efficient for address utilisation. The pool approach is hierarchical. At least at the first level.
>     If an EN has 3 downstream links, I think the network should get a PD request with 3 IA_PD options. Assigning a /64 to each. Instead of a request of a /62 with a prefix hint. The document likely needs some guidance regarding that. Not quite sure how the text should look like.
> 
> 
> I don't think we can easily make such a recommendation since a direct contradiction of RFC 7084 (WPD-2 says that if it supports hinting it MUST ask for a single prefix enough to address the entire router). Also, this draft is trying to avoid specifying any host behaviour as much as possible, and focus on the network side. This is because removing the text that we had about hosts resolved a lot of objections/lack of consensus, and because v6ops this isn't really a WG that is chartered to change host behaviour or define new protocols. This draft is strictly operational - it describes an operational model and what network operators need to do to support it.
> 
> Once this is published I think we can get more ambitious - for example, work on the mobility problem that as Pascal points out would be a major upgrade - but I think we should get this document out first.