Re: [v6ops] ULA precedence [Thoughts about wider operational input]

Erik Auerswald <auerswald@fg-networking.de> Mon, 25 April 2022 12:50 UTC

Return-Path: <auerswald@fg-networking.de>
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 546603A18CD; Mon, 25 Apr 2022 05:50:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.906
X-Spam-Level:
X-Spam-Status: No, score=-1.906 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id V7eSBiYE_d6m; Mon, 25 Apr 2022 05:50:44 -0700 (PDT)
Received: from mailgw1.uni-kl.de (mailgw1.uni-kl.de [IPv6:2001:638:208:120::220]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AA0683A18CF; Mon, 25 Apr 2022 05:50:42 -0700 (PDT)
Received: from mail.fg-networking.de (mail.fg-networking.de [131.246.197.23]) by mailgw1.uni-kl.de (8.14.4/8.14.4/Debian-8+deb8u2) with ESMTP id 23PCoV13049750 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 25 Apr 2022 14:50:31 +0200
Received: from login.fg-networking.de (login.fg-networking.de [131.246.197.41]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.fg-networking.de (Postfix) with ESMTPS id B87942009B; Mon, 25 Apr 2022 14:50:30 +0200 (CEST)
Received: by login.fg-networking.de (Postfix, from userid 11002) id 9F94B155; Mon, 25 Apr 2022 14:50:30 +0200 (CEST)
Date: Mon, 25 Apr 2022 14:50:30 +0200
From: Erik Auerswald <auerswald@fg-networking.de>
To: Ted Lemon <elemon@apple.com>
Cc: Lorenzo Colitti <lorenzo@google.com>, Nick Buraglio <buraglio@es.net>, v6ops list <v6ops@ietf.org>, 6man list <ipv6@ietf.org>
Message-ID: <20220425125030.GI67548@fg-networking.de>
References: <CAM5+tA8WvjvWirxqE6kQ9LQAG0NcpWyCLGVooB=G7gZ9ETb2zQ@mail.gmail.com> <20220424172743.GA218999@fg-networking.de> <CAKD1Yr1v0Tkh+pWD-ts=PL3gZf7Qj6OHW6Cuvj8iGcSSMibjew@mail.gmail.com> <20220425100310.GF67548@fg-networking.de> <C4650446-088E-44FE-9950-55298849820C@apple.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <C4650446-088E-44FE-9950-55298849820C@apple.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/v6ops/3Psy-Ks3np0vFl0ICZuSgQyzkSg>
Subject: Re: [v6ops] ULA precedence [Thoughts about wider operational input]
X-BeenThere: v6ops@ietf.org
X-Mailman-Version: 2.1.29
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: Mon, 25 Apr 2022 12:50:50 -0000

Hi Ted,

On Mon, Apr 25, 2022 at 07:40:13AM -0400, Ted Lemon wrote:
> On Apr 25, 2022, at 06:03, Erik Auerswald <auerswald@fg-networking.de> wrote:
> > And all that would probably not preclude constructing a different
> > scenario where choosing GUA over ULA as source address would break
> > connectivity.
> 
> The question is not what possible scenarios are there, but what
> scenarios do we want to address with default behavior versus what
> scenarios can we only address with managed behavior. So e.g. not
> using longest-match for ULAs with different global identifiers
> sounds like a good default behavior, but obviously will break in
> some scenarios; in these scenarios, clearly we need support for
> configuring source address selection (which we already know how
> to do). Preferring GUA source address over ULA makes sense by
> default, I think, even though it is not always going to be the
> right thing to do.

I see a useful scenario with ULA use local reachability inside an
organization.  Some hosts are not allowed to directly communicate
with the global Internet.  They can use ULA.  Their first hop
gateways could blackhole 2000/3.  Bastion hosts with both GUA and
ULA addresses could be used to connect to ULA only hosts.  The RFC
6724 default source address selection policy supports this use
case, as does the example extension from section 10.6 of that RFC.
Without RFC 6724 section 10.6, always preferring GUA over ULA source
addresses would break this use case.

The more complex changes that conceptually introduce one policy table
entry for every possible ULA /48 prefix and then disregard prefix
match length results less than 48 would not break the common use
case of one /48 ULA per site.  It would require managed behavior
with VPN connectivity between different sites using different ULA
/48 prefixes.

> > Thus I would rather suggest to consider if making tracking which
> > gateways advertised which prefixes mandatory would be a better
> > approach.
> 
> That's nice, and again would probably produce better default
> behavior. But I suspect it doesn't solve as many problems as you're
> hoping it will. E.g. what happens if the link you're connected
> to is one hop away from the link to which both of your upstream
> providers are connected? Now you have one router advertising
> everything, so this doesn't help.

I hope to solve the single problem presented with minimum
breakage. ;-)  That is, I am not convinced that the presented problem
warrants broad changes to the address selection algorithm.

Ideas like RFC 8028 require tracking which gateway advertised wich
prefix.  It seems to me as if this RFC is intended for general use
with the hope for support in common host operating systems.

RFC 8028 allows to take the idea of intra-organization only ULA one
step further by using a set of routers that only know about ULA (and
link-local addresses), and having a different set of routers that
only know about GUA (and link-local addresses).  Unconditionally
preferring GUA over ULA in source address selection would break
such a construct.

Kind regards,
Erik
-- 
Dipl.-Inform. Erik Auerswald
Gesellschaft für Fundamental Generic Networking mbH
Geschäftsführung: Volker Bauer, Jörg Mayer
Gerichtsstand: Amtsgericht Kaiserslautern - HRB: 3630