Re: [v6ops] Fwd: New Version Notification for draft-collink-v6ops-ent64pd-01.txt

Jen Linkova <furry13@gmail.com> Tue, 20 December 2022 08:58 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 93160C1516F0 for <v6ops@ietfa.amsl.com>; Tue, 20 Dec 2022 00:58:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.846
X-Spam-Level:
X-Spam-Status: No, score=-6.846 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_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] 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 YnekVFVqDj8N for <v6ops@ietfa.amsl.com>; Tue, 20 Dec 2022 00:58:34 -0800 (PST)
Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) (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 28325C1516EF for <v6ops@ietf.org>; Tue, 20 Dec 2022 00:58:34 -0800 (PST)
Received: by mail-lf1-x129.google.com with SMTP id p36so17536786lfa.12 for <v6ops@ietf.org>; Tue, 20 Dec 2022 00:58:34 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=9nrtB/OC2vaI3BBvv8m28PmhNOSuqKWsh4A2Ca+29Dg=; b=cZKTEPIgiNVQnAIoByvv+SHuzBZM/IdI2Pci2m1SXwPsZiEt6VCiQ+mGhcHT8pyRxz rK5JzxDYOCyC32B69mJXraZuvmFiBulcGwcMcIUbyTnvFOCxTo/kIloL8124rozEQrG2 Jc6pX8WqVQx96zX8ySRl1Ca6r6p2uVoWF79ZECVjIJzniumemqbfU2nNRSpqOjBRsRTr VVsX5PsGZP8viDkXWmRImJGwQNFOrUQh2eJJoQ0qJWweecmip62LcShebtAqjqI5kJJa BJfv52x57u5zGtfHnz6W8K8jZHY8LcqQLZRI8wgCwx7FLLkUq3pjp56fUTvoC3XE/qb3 I2rQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=9nrtB/OC2vaI3BBvv8m28PmhNOSuqKWsh4A2Ca+29Dg=; b=TgdEzuNNOl3eY1zP12lwbQiDlg1iNjpvY4AXZTl5tg2+s5qcVIPzYpxymeRyF58XUD JpoGzlBxfFppfQ6oCNGsGejpg0uLEqRmTfLlCLsuKlbWe7S0GiEk4bGH42Yrr/nySQmV /r64WXTwY+k/L2zD9Zj5CHb8sYptCHmA/dwUx5dG3b84lYfPO5BSXz8j25KkF5U/Sgkr jdC1tn6dWWKApC/cvMg6m+rRVN7OyLvH+Taj4hrR8d6+YKttKf55CqrW2grvYSOBSt5z GZ2AhHw7eeQM1Sfq/Tpnk+0dI/YL9Tc6Eh3lbbY04GAinQNUSFpToa/qpOj0ixA4puZF eF7g==
X-Gm-Message-State: ANoB5pnCuqgZLDns+Q5zyX62QdyOjDsZ+Ax/L+I3P4rFFMpKedQR/TAF hBFV0t4NWI2GdQVmCeleapyttJeHKN9tHh5IkpDxB4+SreI=
X-Google-Smtp-Source: AA0mqf5t0nubMrPjEOpcrJJPPgBDPKpluTbnmLwMMA2O6W0xRWcyPi4gf9gNtoeN4NCcdzimX1qY5qIc5G6NgVCHzc4=
X-Received: by 2002:a05:6512:281d:b0:4ab:a159:3478 with SMTP id cf29-20020a056512281d00b004aba1593478mr26708614lfb.655.1671526710845; Tue, 20 Dec 2022 00:58:30 -0800 (PST)
MIME-Version: 1.0
References: <167107554671.48477.568330207202509840@ietfa.amsl.com> <CAFU7BATp=gEB3S8AzhCYDMN3fzLQrYY9pzcWJ=LQnrjC9bRKEA@mail.gmail.com> <38341414.10thIPus4b@asclepius.adm.tul.cz>
In-Reply-To: <38341414.10thIPus4b@asclepius.adm.tul.cz>
From: Jen Linkova <furry13@gmail.com>
Date: Tue, 20 Dec 2022 19:58:18 +1100
Message-ID: <CAFU7BAQYc=BP7=A+KzH2TbUu3iw1ue3_yAfxgxV6q4CKGP-J8Q@mail.gmail.com>
To: Martin Huněk <martin.hunek@tul.cz>
Cc: V6 Ops List <v6ops@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/v6ops/-qUnL9QhoXNssiJfmt9HiaiWH2U>
Subject: Re: [v6ops] Fwd: New Version Notification for draft-collink-v6ops-ent64pd-01.txt
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, 20 Dec 2022 08:58:36 -0000

Hi Martin,

On Fri, Dec 16, 2022 at 9:26 PM Martin Huněk <martin.hunek@tul.cz> wrote:

> Even though this proposal has some merit, and it might be useful for some applications (tethering, virtualization, docker, ...), it is certainly not suitable for most devices. For this reason, I think it should not aim for "Best Current Practise" but, at the most, for "Informational" status.

Oh sorry, it's a leftover from the template I used. Will be fixed in
the next version. Good catch, thanks.

> In the introduction, you state that the client needs at least eight addresses even now. However, there is still a difference between 8 addresses and 2^64. Furthermore, even in IPv6, there are simply not enough addresses to cover it - not with current rules, anyway.
>
> In chapter 4, you state that /32 should be enough. However, most organizations would not have /32. Organization != LIR. I do understand that large content providers, ISP, and some other big actors are LIRs, but not every big enterprise need to do business in the Internet domain. Such organizations would gain no benefit in becoming LIR. Because of the IPv4 shortage, we have all moved into a mindset where everyone needs to be an LIR to get address space. This is not true, or at least it should not be true. An LIR is a subject that gets an address space from RIR and assigns it to its customer. Back in the day, even ISPs were not LIRs.
>
> In the RIPE region, a customer should be given at most /48 - if you want to assign more than that, it has to be authorized. The maximum /48 is less than your requirement of /32 or even /29 stated in chapter 4.

/32 or /29 was for ~8k sites with 64 segments per site (so ~500K
segments). I doubt a customer of that size would get a single /48.

> If you need examples of such enterprises, I do have two:
>
> The first organization is a university. It does have former class B /16 IPv4 assignment and /48 IPv6 assignment. It actively uses about 100 VLANs and uses SLAAC mostly because it has been an early IPv6 adopter and now because of one mobile phone OS vendor (no DHCPv6 support). The university is slowly running out of IPv4 space as it is not using NAT. Also, it is not using DHCPv6-PD as network policy forbids connecting routers to its network. If all the devices started requiring /64 via PD, the university would be in the same situation as it is in IPv4 (64 - 48 = 16, which is the same as in IPv4 32 - 16 = 16).

Maybe that organization can ask their LIR for another /48? Maybe they
can use PD not on all segments but only on wireless ones, where the
problem of multiple addresses is more visible? Or maybe they decide
not to do it, waiting for LIRs to read this draft and adjust their
policy?

> The second organization is a small ISP. It has got /29 from RIPE. It has three geographical areas each /32. In every area, every POP has got /40. In every POP, every VLAN has got /48 (/64 for SLAAC, rest for PD). On every VLAN, there are /56s for customers via PD. This gives every customer, in theory, the possibility to assign 256 networks. That is enough for all residential customers right now. However, if the customer is using network segmentation (wired, wireless, guests, mgmt, reserve) and every device would require /64, it would easily limit the customer to 32 devices per VLAN. This is not sufficient. You may argue that ISP can allocate more. That would be true, but do you expect that ISPs would be willing to renumber the whole network?

OK, I think we need to add more text on this topic to the next version
of the draft, as it's not the first time readers miss it.
The proposed design is suitable for the large networks, where ND
scalability is an issue. The home networks with /56 delegated to CPEs
is out of scope, and indeed the device shouldn't request a prefix in
this case.
That's why a new flag is proposed, so the network can signal to hosts
if they should be using SLAAC or PD.  Section 8 explicitly states but
I assume we should make it more clear.

> In chapter 6, you state that the minimum prefix-length hint should be 64. I don't think that there is such a universal minimum value. The device (router) should request prefix length so it can saturate its need for addresses. If it is using the SLAAC, it is the /64 for VLAN, but it may have more than one VLAN. If it is using DHCPv6, it may request less than /64. It depends on the number of interfaces and autoconfiguration method in use.

I really doubt that we can converge on a specific number. The benefit
of /64 is that after the prefix is received, everything else can
function as if it were a SLAAC prefix (address assignments etc).

> In chapter 8, you wrote: "When the network supports both /64 per host and SLAAC as address assignment methods, it's highly desirable for the host NOT to use SLAAC and only use the prefix delegated via DHCPv6-PD. " Why?

Because the whole idea of this proposal is to ensure that the host
uses the delegated /64 to form addresses. That way it can form many
addresses w/o any scalability implications for the network.
If the host instead keeps using the PIO to form new addresses, we just
wasted the delegated /64.
Do you think more clarifying text is needed?

> If the device is, for example, a phone doing tethering, it would have two interfaces: up-facing rmnet0 and down-facing wlan0. What is wrong about the rmnet0 having SLAAC configured or DHCPv6 configured address on it, while routed network segment or wlan0 having DHCPv6-PD obtained prefix? How does it differ from what are routers doing nowadays? The same goes for virtualization or containers. If the device is routing, it is a router, so it should act like one. If it is not routing and it is bridging, then it is a bridge and should act like one. Furthermore, if it is a bridge, it should just act as transparent and forward ND packets and DHCPv6 packets like any other bridge. There is no need for anything in between.

Then we are back to having the problem we are trying to solve (also
described in https://www.ietf.org/archive/id/draft-linkova-v6ops-ipmaclimi-00.html):
multiple addresses per host are 1)expensive for the network 2)are not
guaranteed to work.

> In chapter 9, it is stated:
>
> "The network needs to scale to the number of devices" with /64 per device; it scales worse than with /128 per device. This is the fact as it is limited by prefix length.

Sorry, I'm not sure I understand this statement. What I'm trying to say here is:
- in a "traditional" SLAAC network (shared /64 for hosts), if a host
has 10 addresses, it would consume 10 times more network resources
- in the proposed design the number of addresses per host doesn't
matter: the scalability factor is O(n), where n is the number of
hosts, as each host would have 1 route and one ND entry.

> "The cost of having multiple addresses is offloaded to the endpoint. Devices are free to create and use as many addresses as they need" for the cost that every device becomes a router.

The device is not becoming a router (well, maybe you mean smth
different by 'becoming a router').

> "Fate sharing: all global addresses used by a given device are routed as a single /64. Either all of them work or not, which makes the failures easier to diagnoze and mitigate" Is it really better to lose connection also for the virtualization host?

What is happening currently is much worse. You randomly lose
connection to the host, or to some virtual machines etc.
Intermittent failures are the worst. First, they are hard to
troubleshoot and they impact user experience dramatically. Secondly -
and that's the most important part - they are much harder to detect
and therefore fix.
Those kinds of things are quietly waiting for network engineers who
naively believe that if they have been running dual-stack networks for
years, IPv6 is working...Nope..

> Chapter 10: The DHCPv6-PD is not an alternative to SLAAC the DHCPv6 is. This is just moving the router functionality into the client device, and auto-config has to be used inside it.
>
> Let me be clear that I have nothing against a client asking about PD when it has a need for it - when it is routing traffic. So if it has an independent L3 network segment connected to it and it needs to provide Internet access to it, then it is fine by me. >However, if every device would ask PD automatically regardless being router or not, that would create quite a mess.

The criteria is not 'is this a router or not', but 'how many addresses
does the device need?'.
As I've mentioned before, ChromeOS is running multiple virtual
instances and switching IPv6 traffic.
My workstation has 10 addresses even w/o any virtualisation enabled.
I want to find a consensus between letting devices use multiple
addresses and not upgrading my VXLAN devices so they can support 10
times more routes.

>This draft actually scares me as a network administrator of the large non-LIR network and also as a netadmin of the small ISP. In both cases, either organization or customers would run out of IPv6 addresses. It is effectively dividing address length by 2.

Please keep in mind that those organizations do not need to enable PD
if they don't need/want to (e.g. if they do not have any scalability
issues with 10 addresses per device).
However if they see the benefits and believe that it's worth it - they could.
We are describing a design which has some merits for some networks.
Maybe later the networks which do not need it now change their minds..

> Dne čtvrtek 15. prosince 2022 4:59:33 CET, Jen Linkova napsal(a):
> > Hello,
> >
> > We've just submitted -01 version of draft-collink-v6ops-ent64pd, which
> > proposes using DHCPv6-PD to delete /64 per host (the draft was very
> > briefly presented at the last IETF).
> >
> > Comments and suggestions are welcome!
> >
> >
> > ---------- Forwarded message ---------
> > From: <internet-drafts@ietf.org>
> > Date: Thu, Dec 15, 2022 at 2:39 PM
> > Subject: New Version Notification for draft-collink-v6ops-ent64pd-01.txt
> > To: Jen Linkova <furry13@gmail.com>, Lorenzo Colitti
> > <lorenzo@google.com>, Xiao Ma <xiaom@google.com>
> >
> >
> >
> > A new version of I-D, draft-collink-v6ops-ent64pd-01.txt
> > has been successfully submitted by Jen Linkova and posted to the
> > IETF repository.
> >
> > Name:           draft-collink-v6ops-ent64pd
> > Revision:       01
> > Title:          Using DHCP-PD to Allocate /64 per Host in Broadcast Networks
> > Document date:  2022-12-14
> > Group:          Individual Submission
> > Pages:          11
> > URL:
> > https://www.ietf.org/archive/id/draft-collink-v6ops-ent64pd-01.txt
> > Status:         https://datatracker.ietf.org/doc/draft-collink-v6ops-ent64pd/
> > Html:
> > https://www.ietf.org/archive/id/draft-collink-v6ops-ent64pd-01.html
> > Htmlized:
> > https://datatracker.ietf.org/doc/html/draft-collink-v6ops-ent64pd
> > Diff:
> > https://author-tools.ietf.org/iddiff?url2=draft-collink-v6ops-ent64pd-01
> >
> > Abstract:
> >    This document discusses the IPv6 deployment scenario when individual
> >    hosts connected to broadcast networks (like WiFi hotspots or
> >    enterprise networks) are allocated /64 subnets via DHCP-PD.
> >
> >
> >
> >
> > The IETF Secretariat
> >
> >
> >
> >
> >
>


--
SY, Jen Linkova aka Furry