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

Ole Trøan <otroan@employees.org> Thu, 25 July 2024 19:32 UTC

Return-Path: <otroan@employees.org>
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 94FE6C151070 for <v6ops@ietfa.amsl.com>; Thu, 25 Jul 2024 12:32:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.214
X-Spam-Level:
X-Spam-Status: No, score=-1.214 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, HTML_MESSAGE=0.001, MIME_HTML_ONLY=0.1, MIME_HTML_ONLY_MULTI=0.001, MIME_QP_LONG_LINE=0.001, MPART_ALT_DIFF=0.79, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=employees.org
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 9WWux0qW5CJ5 for <v6ops@ietfa.amsl.com>; Thu, 25 Jul 2024 12:32:15 -0700 (PDT)
Received: from proxmox01.kjsl.com (proxmox01.kjsl.com [204.87.183.6]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 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 006FFC1CAE87 for <v6ops@ietf.org>; Thu, 25 Jul 2024 12:32:14 -0700 (PDT)
Received: from proxmox01.kjsl.com (localhost.localdomain [127.0.0.1]) by proxmox01.kjsl.com (Proxmox) with ESMTP id 82D7CE5F77; Thu, 25 Jul 2024 19:32:14 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=employees.org; h=cc:cc:content-transfer-encoding:content-type:content-type :date:from:from:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=prox2023; bh=kVxYbKS60RBdFGn4 4LdSoLCKy9Yo0VtnYv4SX55MfO0=; b=hYhtyZ4xhZOkTreOt8kzEYrGRNlOmRd+ sCZ97NGiQypR2K+TfLKDuwaY4mQ8BaT5Z+RBWjUnx1qv9VjnyLHTPiKw43rxEbpS aIwZ/+1iTn3upzRYjpNTeST/XlaImBEvn3Xf38D22Q4XYh7tHeD5JjT0o9SaZrC2 nk3mGJqpNtQ7XbwyGxktcspDuaFJfpx0yPU2naXIlM0CJ0SPv+fTeWxX/G0s+08g FuBXI4CYQ9N+E2rul9Bwhv8E1xJj+iIOb2QPId/+NQ6AQNfBNuCqlPPme1SLbt16 lTm6Esk1fCNgNRO6+at7R7wkAiQPEH3VLK46G/1eQarPYc5DHfc7pg==
Received: from clarinet.employees.org (clarinet.employees.org [IPv6:2607:7c80:54:3::74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by proxmox01.kjsl.com (Proxmox) with ESMTPS id 5E27CE5F75; Thu, 25 Jul 2024 19:32:14 +0000 (UTC)
Received: from smtpclient.apple (unknown [IPv6:2a02:20c8:5921:200:e161:72fd:4f1d:ff7f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by clarinet.employees.org (Postfix) with ESMTPSA id 00A114E11B62; Thu, 25 Jul 2024 19:32:14 +0000 (UTC)
Content-Type: multipart/alternative; boundary="Apple-Mail-04A511B9-6F7A-4B03-A735-1A75AC0B5A29"
Content-Transfer-Encoding: 7bit
From: Ole Trøan <otroan@employees.org>
Mime-Version: 1.0 (1.0)
Date: Thu, 25 Jul 2024 21:32:01 +0200
Message-Id: <1E75A28E-62C5-4095-9873-766DEC0618AF@employees.org>
References: <CAN-Dau0G4xjxZgymsm2Mr-uHHcbwNNGtNSyGr2j0E5ojzaHqYQ@mail.gmail.com>
In-Reply-To: <CAN-Dau0G4xjxZgymsm2Mr-uHHcbwNNGtNSyGr2j0E5ojzaHqYQ@mail.gmail.com>
To: David Farmer <farmer=40umn.edu@dmarc.ietf.org>
X-Mailer: iPhone Mail (21F90)
Message-ID-Hash: 3BDXZ7DQWUHEGHIZ3KYCL5OHY5UXACWI
X-Message-ID-Hash: 3BDXZ7DQWUHEGHIZ3KYCL5OHY5UXACWI
X-MailFrom: otroan@employees.org
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: 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/j4R8fhsNFZrLi4fI0--U_BS5CuQ>
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>



On 25 Jul 2024, at 20:09, David Farmer <farmer=40umn.edu@dmarc.ietf.org> wrote:


No, not the ISP DHCPv6 PD server. The CE router DHCPv6 PD server is what cpe-lan-pd gets to define its behavior.

Last or last-1 time around this track:
https://datatracker.ietf.org/doc/html/draft-donley-dhc-cer-id-option-05" rel="nofollow">https://datatracker.ietf.org/doc/html/draft-donley-dhc-cer-id-option-05

O. 



On Thu, Jul 25, 2024 at 12:56 PM Ted Lemon <mellon@fugue.com> wrote:
It might make sense to use an RA flag to signal this, and do it internally. Relying on the ISP to tell us about this seems like a bad idea, and I think only returning it in PDs might be too restrictive—there may be times when we want to know about it, but aren't able to get a delegated prefix, for example.

On Thu, Jul 25, 2024 at 10:50 AM Timothy Winters <tim@qacafe.com> wrote:
An earlier version of cpe-lan-pd had this exact concept for when to be DHCPv6 Relay in the flat model.  We could try to define these zero-config internal routers, this has always been a gray area.

~Tim

On Thu, Jul 25, 2024 at 10:44 AM Ted Lemon <mellon@fugue.com> wrote:
The way I'd thought to do this is to simply notice whether the delegated prefix is a /64 or not. If it's a /64, you're inside. If it's narrower, you're at the edge. Of course, if your ISP only gives you a /64, you can't tell, but you also can't sub-delegate, so this is a relatively harmless situation.

On Thu, Jul 25, 2024 at 10:40 AM David Farmer <farmer@umn.edu> wrote:
Okay, I buy that argument. Then, we need to specify an internal router mode and detect the situation. Maybe we should specify a DHCPv6 option to be included with the Prefix Delegation from a CE Router, signaling a downstream/cascaded router that would, absent the signal, act as a CE router to instead act as an internal router.

Thanks

On Thu, Jul 25, 2024 at 12:10 PM Ted Lemon <mellon@fugue.com> wrote:
The configuration you are describing is not "cascaded CE routers." It is internal router connected to CE router. The internal router is not a CE router. You've no doubt heard discussion about the difference at the mic just now. E.g., the firewall settings have to be different. So it's fine to have different required behavior depending on whether the device is actually at the customer edge or not, and it needs to be able to detect this situation. Most obviously, a CE router will (hopefully) receive a delegation that is larger than a /64. Ideally a /48. If you receive an RA on your northbound interface for a /64 ULA, you can't sub-delegate it. And if you don't get a sub-delegation for a GUA /64 as an internal router, you can't participate in routing with the internet.

So I think it's perfectly possible to specify this in a way that addresses your concern.

On Thu, Jul 25, 2024 at 9:53 AM David Farmer <farmer@umn.edu> wrote:
So you are saying you can't cascade CE Routers. That violates the general public's expectations. We should either allow it and support it or break it. Allowing it to half-work is the worst option.

Thanks.

On Thu, Jul 25, 2024 at 11:43 AM Ted Lemon <mellon@fugue.com> wrote:
I think it's an error for 7084 router to receive a ULA on its northbound interface. Any such PD should be treated as not acceptable and ignored.

On Thu, Jul 25, 2024 at 9:19 AM Timothy Winters <tim@qacafe.com> wrote:
Hi David,


On Wed, Jul 24, 2024 at 9:38 AM David Farmer <farmer@umn.edu> wrote:


On Wed, Jul 24, 2024 at 10:23 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.

Ok, now I need clarification.

LPD-2 concerns the prefixes assigned to the CE router's local interfaces. Do you expect LPD-2 to override RFC7084: L-2?
No 
Does that mean that if you implement CPE-lan-pd, you no longer have ULA on even the CE router's local interfaces?
No, I was poorly trying to communicate that the ULA prefixes aren't delegated beyond the LAN interface unless they were provisioned on the WAN interface.

LPD-2:
The IPv6 CE Router MUST assign a prefix from the delegated prefix to each of its LAN links. If not enough addresses are available the IPv6 CE Router SHOULD log a system management error.

RFC7084: L-2:   
The IPv6 CE router MUST assign a separate /64 from its delegated prefix(es) (and ULA prefix if configured to provide ULA addressing) for each of its LAN interfaces. 

It is LPD-4 that speaks to what prefixes are advertised to DHCPv6-PD Clients.

LPD-4:
After LAN link prefix assignment, the IPv6 CE Router MUST make the remaining IPv6 prefixes available to other routers via Prefix Delegation.

So, at the very least, we want a CE Router capable of PD distribution to generate a ULA prefix and assign subnets to each local interface, as RFC7084 does now. I'm with Ole, and if one is generated, the ULA prefix should be advertised to DHCPv6 PD clients, along with the GUA prefix.
Yes, that isn't supported in the current model.  I will update it to support this.
 
That aligns with the design intent of ULA to be used "inside of a more limited area such as a site." But then we need to include logic that if you receive an upstream ULA prefix, you SHOULD use it and not generate another new ULA prefix if you are cascading CE Routers. If you want to create separate requirements for ULA, that will work.
This is interesting point that I will need to give some thought too.  

My first thought is if a Router is advertising ULAs, say ULA-1. Then gets IA_PD for a different ULA, ULA-2 does it invalidate the ULA-1 and disrupt any connections between clients?  
 

Also, I would like SNAC routers to use the ULA prefix from the upstream CE Router instead of generating a new ULA prefix if a ULA prefix is advertised for local communications when the ISP GUA prefix is unavailable.

Is there a reason for PD-per-device to not behave similarly?

Thanks.

--
===============================================
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


--
===============================================
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
===============================================


--
===============================================
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
===============================================


--
===============================================
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