[v6ops] Re: DHCPv6 PD in a multi-prefix environment

Ted Lemon <mellon@fugue.com> Wed, 24 July 2024 16:12 UTC

Return-Path: <mellon@fugue.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 00B29C151077 for <v6ops@ietfa.amsl.com>; Wed, 24 Jul 2024 09:12:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.908
X-Spam-Level:
X-Spam-Status: No, score=-1.908 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_FONT_LOW_CONTRAST=0.001, HTML_MESSAGE=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=fugue-com.20230601.gappssmtp.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 PWiR4Z7ejuAd for <v6ops@ietfa.amsl.com>; Wed, 24 Jul 2024 09:12:22 -0700 (PDT)
Received: from mail-oi1-x234.google.com (mail-oi1-x234.google.com [IPv6:2607:f8b0:4864:20::234]) (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 97C28C1516E1 for <v6ops@ietf.org>; Wed, 24 Jul 2024 09:12:22 -0700 (PDT)
Received: by mail-oi1-x234.google.com with SMTP id 5614622812f47-3d9de9f8c8dso3726652b6e.1 for <v6ops@ietf.org>; Wed, 24 Jul 2024 09:12:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fugue-com.20230601.gappssmtp.com; s=20230601; t=1721837541; x=1722442341; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=WzwAKiust+2BocO1jYFAdSztaU4CxRMQN/y7IUf3RsE=; b=lHWSFexqXXg8lLSICQt5qTmfqhXD8XDfo306INAlHZhhQGkt+NA2zLcCibQqsewI0a 7pd7PMHCMY5lM2sud7z6JMLJRYklCU9tih9sR5IAVhFEopuvbl6JHhNgjCifJIv6PAfP 142cfRv1fWVoM88g9lhhkur3GOXtlkd+MuYbSc+jTOtOjVBhPqLwLLarzpYl1NQJXH5d QMqcrgfi+PoPeKY6TJhgmWCF6iYuO1yBKpplQpR+btn11xDFn4F+cq1x1ja83cSJ69oP gBBMPqxbTpWdAZBkdR0AATPwp+C9ahmUuNuYT/mJ7OmO6kWB66AYzzsDqgGcivEod0fy V6jQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721837541; x=1722442341; h=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=WzwAKiust+2BocO1jYFAdSztaU4CxRMQN/y7IUf3RsE=; b=VdR6DMFZWe24Ivveo7NkWHbISkCBgdtwHYJHshmkBVZy/6pEKEfz7LxRhVsH9jlkp0 mylwKWBfV1baFCtVDOTX2AqGCzbNK+dMJtonWC10BvJurm10DthlbX6pJA6x6Cg2z5tO cBtpJHE6RqKzUt43eJZ7mhA3DsJfiSeZQpWcYovVOXHf0IgY5onghKhHPExt+NvanweQ V45jJrATfVwfwS4hv2tBXtCxQzwYAcp5H7Hv4Qx6iX6MTAZsFDeGdoRY7fdJeAm1dZhI wvXGwCYzEfc24eY3d9nqm0TaBF0Mjq+YPviawiYbghnIP/qmv+UL27Dea2K88qaPITh4 B+dg==
X-Forwarded-Encrypted: i=1; AJvYcCX1fdLF5yvUWQnR4RkwY/H5dpY5hHd2z2BJJQml17yeH/LhB7zj0HILiGevcHZX/ux6wR4Dh4FPFglcPI4YsA==
X-Gm-Message-State: AOJu0YxpPPsxgYu45uGHdOTgVlVg48qUCJ5LALTMPhmeEUA0BtUhR+gh fZbaX5zmL1Ww3VJXRC6WALZXKhU5cGJ/GGNBSDNMSXVTRzxEYOE4Bs0F63EIourXznN5sULLWUD bQCvTNaK5cMLsHa6pG85yQH6mfCGdqk1UHOMOwKF824jGYwrkEV8c6A==
X-Google-Smtp-Source: AGHT+IEXAsMpTl0KnzW2/55Iw6bdN3Yu4CSE/paC+yTpm4KnSsgQJtdpEMktFUX/xYoB120iyIJ2C1x0Qv9O9FK7Hbs=
X-Received: by 2002:a05:6870:d154:b0:25d:fab0:b6f4 with SMTP id 586e51a60fabf-2648c9db4afmr2420126fac.1.1721837541491; Wed, 24 Jul 2024 09:12:21 -0700 (PDT)
MIME-Version: 1.0
References: <CAJgLMKunZmnS6bOsTZrkHY2XAN5n4vRJCDC_SEmprb02Q46BiQ@mail.gmail.com> <F7BAF1E3-8CE1-45B5-AF0D-ACE22F04CCAA@employees.org> <CAJgLMKskKhmNQBzTCksTbd8Az8VjoGtbE+6vESzheE+RxF3U2w@mail.gmail.com>
In-Reply-To: <CAJgLMKskKhmNQBzTCksTbd8Az8VjoGtbE+6vESzheE+RxF3U2w@mail.gmail.com>
From: Ted Lemon <mellon@fugue.com>
Date: Wed, 24 Jul 2024 09:11:45 -0700
Message-ID: <CAPt1N1km_=HmBO5xngOUM33qVhYeZPRg9G2-n=3L-s1Z6xC1=g@mail.gmail.com>
To: Timothy Winters <tim@qacafe.com>
Content-Type: multipart/alternative; boundary="00000000000005a06e061e008bc5"
Message-ID-Hash: M4GKPBIPYP3DFI27HRTQCQ3ROUFBKXJ5
X-Message-ID-Hash: M4GKPBIPYP3DFI27HRTQCQ3ROUFBKXJ5
X-MailFrom: mellon@fugue.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-v6ops.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: David Farmer <farmer=40umn.edu@dmarc.ietf.org>, V6 Ops List <v6ops@ietf.org>
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [v6ops] Re: DHCPv6 PD in a multi-prefix environment
List-Id: v6ops discussion list <v6ops.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/v6ops/_i7nJmePB4FFn-o9IJHjo6XJupk>
List-Archive: <https://mailarchive.ietf.org/arch/browse/v6ops>
List-Help: <mailto:v6ops-request@ietf.org?subject=help>
List-Owner: <mailto:v6ops-owner@ietf.org>
List-Post: <mailto:v6ops@ietf.org>
List-Subscribe: <mailto:v6ops-join@ietf.org>
List-Unsubscribe: <mailto:v6ops-leave@ietf.org>

I think Ole is fundamentally correct about this, and we should probably
address that in 7084-bis and SNAC. There is a complication with respect to
SNAC in that the current primary use case for SNAC is Thread border
routers, and Thread has a very limited amount of space in its global
network dataset. So adding two OSNR prefixes instead of one for the Thread
use case is not a great plan.

This is then complicated by the fact that there are two modes of operation
you might want for a SNAC network: ability to phone home versus stable
addressing. The GUA prefix gives the ability to phone home, which some
vendors want, whereas the ULA prefix can be assumed to be more stable,
which I think is generally operationally more useful.

I think the way to resolve this is to say that stub routers SHOULD
advertise up to one GUA and one ULA received from infrastructure when
infrastructure provides more than one prefix. Thread would probably impose
some requirement that would contradict the SHOULD. But I think the SHOULD
is the right thing to address Ole's point.


On Wed, Jul 24, 2024 at 8:26 AM Timothy Winters <tim@qacafe.com> wrote:

> Hi Ole,
>
> I think we could add a Section to the draft for ULAs in particular.   If
> you have ULAs enabled on the Customer Edge Router, delegating makes sense.
>   It's a use case that I didn't include, but I can't think of a good reason
> not too.
>
> David,
>    The draft doesn't exclude ULAs it's just only applied to prefixes
> delegated on the WAN.
>
> ~Tim
>
> On Wed, Jul 24, 2024 at 8:20 AM Ole Trøan <otroan@employees.org> wrote:
>
>> Tim,
>>
>> On 24 Jul 2024, at 16:55, Timothy Winters <tim@qacafe.com> wrote:
>>
>> 
>> Hi David,
>>
>> draft-ietf-v6ops-cpe-lan-pd LPD-2 says the delegated prefixes for the LAN
>> come from prefixes delegations to the WAN.  So the ISP would need to assign
>> ULAs for that to happen.   The draft doesn't sub-delegate manual or
>> automatic prefixes.
>>
>>
>> The IPv6 CE router generates a ULA /48.
>> If it doesn’t sub-delegate it, how would ULA work in the site then? Which
>> I assume is what we want. That the whole site is numbered out of that ULA
>> /48. In parallel with the GUA.
>> Sub-delegating ULA would just be a continuation of L-2.
>>
>> What’s your take?
>>
>> If ULA is enabled, which I think we left open in 7084.
>>
>> Cheers
>> Ole
>>
>>
>> ~Tim
>>
>> On Wed, Jul 24, 2024 at 7:44 AM David Farmer <farmer=
>> 40umn.edu@dmarc.ietf.org> wrote:
>>
>>> Yes, I used SNAC in my first example, but I asked it in the context of
>>> draft-ietf-v6ops-cpe-lan-pd use, which supplements RFC7084, which clearly
>>> can provide both GUA and ULA prefixes. But I didn't ask the
>>> question directly enough: Do we want draft-ietf-v6ops-cpe-lan-pd to
>>> advertise its GUA and ULA prefixes? It would be good to be explicit about
>>> our expectations.
>>>
>>> It says;
>>> LPD-4:
>>> After LAN link prefix assignment the IPv6 CE Router MUST make the
>>> remaining IPv6 prefixes available to other routers via Prefix Delegation.
>>>
>>> Theoretically, the CPE Router could have remaining prefixes from
>>> multiple GUA and ULA prefixes. What are our expectations in this case?
>>>
>>> Sorry if I wasn't clear the first time.
>>>
>>> And if we expect any difference between how the DHCPv6 server treats the
>>> SNAC router and PD-per-device use cases, that brings me back to the
>>> question, "How does the DHCPv6 server know what is reusing a prefix?"
>>> Therefore, the question is equally relevant to SNAC routers and
>>> PD-per-device.
>>>
>>> Thanks
>>>
>>> On Wed, Jul 24, 2024 at 8:59 AM Ted Lemon <mellon@fugue.com> wrote:
>>>
>>>> SNAC and PD-per-device are unrelated. You asked me a question about
>>>> SNAC, which I answered. SNAC routers will pay no attention at all to the P
>>>> bit.
>>>>
>>>> Op wo 24 jul 2024 om 06:19 schreef David Farmer <farmer@umn.edu>
>>>>
>>>>> Ok, maybe we can start over again; Appendix A of PD-per-device extols
>>>>> the virtues of IPv6 providing multiple addresses including addresses from
>>>>> multiple prefixes. It talks about multihomed networks,  ULA, and graceful
>>>>> remembering.
>>>>>
>>>>> Now you seem to be saying that a desire to maintain multiple prefixes
>>>>> when using Prefix Distribution is overly complex, and at least imply it
>>>>> doesn’t make sense. But then you go on to say “you have to take what the
>>>>> network offers.” Which is it?
>>>>>
>>>>> So guess I’m confused, is multi-prefix multihoming, ULA, and
>>>>> gracefully remembering part of the IPv6 sub-prefix distribution environment
>>>>> we are creating or not. If it is not I can probably accept that, but I
>>>>> think it would be helpful to clearly say that somewhere. Otherwise, I don’t
>>>>> think is crazy to assume we intend all parts of the IPv6 addressing
>>>>> architecture to be included as part of an
>>>>> IPv6 sub-prefix distribution environment.
>>>>>
>>>>> Furthermore, if they are not explicitly excluded, and it is not
>>>>> explicitly stated that IPv6 sub-prefix distribution is intended for a
>>>>> single GUA base prefix, then I’m going to keep asking these questions.
>>>>> Either multiple prefixes are part of this and we talk about how they work
>>>>> or they are not and we clearly say that.
>>>>>
>>>>> Thanks
>>>>>
>>>>> On Tue, Jul 23, 2024 at 23:02 Ted Lemon <mellon@fugue.com> wrote:
>>>>>
>>>>>> The general assumption is that a snac router is being used on a
>>>>>> network that is managed in a way that makes sense. Eg if there is a 7084
>>>>>> router, the devices on the stub network can in principle reach out to the
>>>>>> internet, but can’t receive incoming connections and shouldn’t be
>>>>>> attackable. If it’s connected to an enterprise network, the assumption is
>>>>>> that that network is managed similarly.
>>>>>>
>>>>>> But the bottom line is that we have to take what the network offers.
>>>>>> I don’t think it makes sense to codify some complex set of heuristics to
>>>>>> adapt to various possible network setups we might encounter, because there
>>>>>> are too many possibilities, none of which seem at all likely other than the
>>>>>> two I just described. And in those two cases, we just ask for a prefix and
>>>>>> take whatever we get. I think that’s okay.
>>>>>>
>>>>>> Op di 23 jul 2024 om 20:53 schreef David Farmer <farmer@umn.edu>
>>>>>>
>>>>>>> from the Introduction of draft-ietf-snac-simple;
>>>>>>>
>>>>>>> The term "stub" refers to the way the network is seen by the link to
>>>>>>> which it is connected: there is reachability through a stub network router
>>>>>>> to devices on the stub network from the infrastructure link, but there is
>>>>>>> no reachability through the stub network to any link beyond that one.
>>>>>>>
>>>>>>>
>>>>>>> I was reading that as networks downstream of the SNAC router. Is
>>>>>>> this supposed also to mean upstream of the infrastructure link?
>>>>>>>
>>>>>>> I wanted the SNAC network to have ULA addresses to reduce the attack
>>>>>>> surface. But if the SNAC network cannot, by policy, communicate with the
>>>>>>> Internet through the infrastructure link, then providing the SNAC router
>>>>>>> with a ULA prefix is not advantageous. I'm fine proving the SNAC router
>>>>>>> with a GUA prefix.
>>>>>>>
>>>>>>> That may be how I misunderstood the scenario.
>>>>>>>
>>>>>>> Thanks
>>>>>>>
>>>>>>> On Tue, Jul 23, 2024 at 10:09 PM David Farmer <farmer@umn.edu>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> So, are you saying the SNAC router should use a GUA prefix in all
>>>>>>>> cases and expose the IOT devices to the Global Internet?
>>>>>>>>
>>>>>>>> On Tue, Jul 23, 2024 at 9:55 PM Ted Lemon <mellon@fugue.com> wrote:
>>>>>>>>
>>>>>>>>> No, I mean can you describe a real-world scenario where this would
>>>>>>>>> happen. I get that you could configure a DHCP server to do this. The
>>>>>>>>> question is, when would someone configure the DHCP server that way?
>>>>>>>>>
>>>>>>>>> On Tue, Jul 23, 2024 at 7:49 PM David Farmer <farmer@umn.edu>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> I already did scenario A.3 in draft-ietf-snac-simple. It is
>>>>>>>>>> appropriate for the SNAC router to obtain a ULA prefix instead of a GUA
>>>>>>>>>> prefix to reduce the attack surface of the IOT devices.
>>>>>>>>>>
>>>>>>>>>> On Tue, Jul 23, 2024 at 9:33 PM Ted Lemon <mellon@fugue.com>
>>>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>>> Can you give us an example of a situation where such a decision
>>>>>>>>>>> would need to be made?
>>>>>>>>>>>
>>>>>>>>>>> On Tue, Jul 23, 2024 at 6:48 PM David Farmer <farmer=
>>>>>>>>>>> 40umn.edu@dmarc.ietf.org> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> The classic ISP use case for DHCPv6 PD, as envisioned initially
>>>>>>>>>>>> by RFC3633 and integrated into RFC8415, typically expected a single prefix
>>>>>>>>>>>> to be delegated to a requesting router from the ISP. Meanwhile, many of the
>>>>>>>>>>>> draft-ietf-v6ops-cpe-lan-pd use cases probably expect a subdelegation from
>>>>>>>>>>>> this ISP provided prefix. Nevertheless, an RFC7084 CE Router may also have
>>>>>>>>>>>> a ULA prefix to subdelegate from, and a ULA prefix may be more appropriate
>>>>>>>>>>>> for some of the use cases. Not to mention, there may be prefixes from more
>>>>>>>>>>>> than one ISP or additional prefixes while renumbering.
>>>>>>>>>>>>
>>>>>>>>>>>> Should the delegating router in draft-ietf-v6ops-cpe-lan-pd
>>>>>>>>>>>> advertise subdelegations from all prefixes it may have and let the
>>>>>>>>>>>> requesting router choose one or more? How does the requesting router know
>>>>>>>>>>>> which prefixes it is appropriate to select in what circumstances? If the
>>>>>>>>>>>> delegating router doesn't advertise subdelegations from all prefixes, how
>>>>>>>>>>>> does it know which prefixes to advertise to which requesting routers?
>>>>>>>>>>>>
>>>>>>>>>>>> You can also ask the question from the opposite direction: How
>>>>>>>>>>>> does the requesting router solicit for a ULA prefix instead of a GUA prefix
>>>>>>>>>>>> if that is more appropriate for its use case?
>>>>>>>>>>>>
>>>>>>>>>>>> These questions came to mind while
>>>>>>>>>>>> reading draft-ietf-snac-simple, as it would seem reasonable to want the
>>>>>>>>>>>> SCAC router to obtain a ULA prefix from the delegating router and not a GUA
>>>>>>>>>>>> prefix, especially in the scenario described in A.3. However, similar
>>>>>>>>>>>> questions exist for downstream RFC7084 or PD-per-device in a multi-prefix
>>>>>>>>>>>> environment.
>>>>>>>>>>>>
>>>>>>>>>>>> Thanks.
>>>>>>>>>>>> --
>>>>>>>>>>>> ===============================================
>>>>>>>>>>>> David Farmer               Email:farmer@umn.edu
>>>>>>>>>>>> Networking & Telecommunication Services
>>>>>>>>>>>> Office of Information Technology
>>>>>>>>>>>> University of Minnesota
>>>>>>>>>>>> 2218 University Ave SE
>>>>>>>>>>>> <https://www.google.com/maps/search/2218+University+Ave+SE?entry=gmail&source=g>
>>>>>>>>>>>>       Phone: 612-626-0815
>>>>>>>>>>>> Minneapolis, MN 55414-3029   Cell: 612-812-9952
>>>>>>>>>>>> ===============================================
>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>> v6ops mailing list -- v6ops@ietf.org
>>>>>>>>>>>> To unsubscribe send an email to v6ops-leave@ietf.org
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> ===============================================
>>>>>>>>>> David Farmer               Email:farmer@umn.edu
>>>>>>>>>> Networking & Telecommunication Services
>>>>>>>>>> Office of Information Technology
>>>>>>>>>> University of Minnesota
>>>>>>>>>> 2218 University Ave SE
>>>>>>>>>> <https://www.google.com/maps/search/2218+University+Ave+SE?entry=gmail&source=g>
>>>>>>>>>>       Phone: 612-626-0815
>>>>>>>>>> Minneapolis, MN 55414-3029   Cell: 612-812-9952
>>>>>>>>>> ===============================================
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> ===============================================
>>>>>>>> David Farmer               Email:farmer@umn.edu
>>>>>>>> Networking & Telecommunication Services
>>>>>>>> Office of Information Technology
>>>>>>>> University of Minnesota
>>>>>>>> 2218 University Ave SE
>>>>>>>> <https://www.google.com/maps/search/2218+University+Ave+SE?entry=gmail&source=g>
>>>>>>>>       Phone: 612-626-0815
>>>>>>>> Minneapolis, MN 55414-3029   Cell: 612-812-9952
>>>>>>>> ===============================================
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> ===============================================
>>>>>>> David Farmer               Email:farmer@umn.edu
>>>>>>> Networking & Telecommunication Services
>>>>>>> Office of Information Technology
>>>>>>> University of Minnesota
>>>>>>> 2218 University Ave SE
>>>>>>> <https://www.google.com/maps/search/2218+University+Ave+SE?entry=gmail&source=g>
>>>>>>>       Phone: 612-626-0815
>>>>>>> Minneapolis, MN 55414-3029   Cell: 612-812-9952
>>>>>>> ===============================================
>>>>>>>
>>>>>>
>>>
>>> --
>>> ===============================================
>>> David Farmer               Email:farmer@umn.edu
>>> Networking & Telecommunication Services
>>> Office of Information Technology
>>> University of Minnesota
>>> 2218 University Ave SE        Phone: 612-626-0815
>>> Minneapolis, MN 55414-3029   Cell: 612-812-9952
>>> ===============================================
>>> _______________________________________________
>>> v6ops mailing list -- v6ops@ietf.org
>>> To unsubscribe send an email to v6ops-leave@ietf.org
>>>
>> _______________________________________________
>> v6ops mailing list -- v6ops@ietf.org
>> To unsubscribe send an email to v6ops-leave@ietf.org
>>
>> _______________________________________________
> v6ops mailing list -- v6ops@ietf.org
> To unsubscribe send an email to v6ops-leave@ietf.org
>