Re: [v6ops] Thoughts about wider operational input

Ted Lemon <mellon@fugue.com> Thu, 24 March 2022 09:42 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 2257C3A1356 for <v6ops@ietfa.amsl.com>; Thu, 24 Mar 2022 02:42:18 -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_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=fugue-com.20210112.gappssmtp.com
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 DbNtWfSBqnZC for <v6ops@ietfa.amsl.com>; Thu, 24 Mar 2022 02:42:09 -0700 (PDT)
Received: from mail-oa1-x2b.google.com (mail-oa1-x2b.google.com [IPv6:2001:4860:4864:20::2b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A9D453A15E2 for <v6ops@ietf.org>; Thu, 24 Mar 2022 02:42:09 -0700 (PDT)
Received: by mail-oa1-x2b.google.com with SMTP id 586e51a60fabf-dacc470e03so4407573fac.5 for <v6ops@ietf.org>; Thu, 24 Mar 2022 02:42:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fugue-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=pQV0oDGNbsHlS3QMdAQ39UKi9OB+QLNfLJq8FUdzC/w=; b=zHiYtFHjon073DAC5jyYFU4/1tgqEL9dO6PI4cDD/uzVkH0yk/0gmESAdYKPuH8ecL 88Ees5jcnGkHiW+BR4MfepBh02p7s3ERIhPh7RaRM1T3MUABbyOmmcfyrPeuhN245+kH UqeYU3EHlGHkg3rGRWeuYDQSOHS6U1UcL0OmoP5nZuJFI7rLMipadOwniZDWIQObGrb9 lDmz/8wTWiNPgk/3m1JwQaegjRts11YRZp1YaMGwztSQd6pCqQa7m/hvrDmEUCJi4uUm ySsmkHvEQ8F+Rcwn9b+PU+mLUvocrLM+BxVLYcdzvqtFrEGETuXlhJ8QvPVkHJimm815 fgTA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=pQV0oDGNbsHlS3QMdAQ39UKi9OB+QLNfLJq8FUdzC/w=; b=mHRwxT0ttZRMcLst8PLJE81XTgqcJXOBTaOpNDplLDJcxJPIhc/8kj00VVPpUROjNp KZ5WvYtURDTVF4dOay3dNoKnOxPJM4NS7V8PdbpNOnRGSUUJzw1nzJtJcc96K2KLG1ML /okG8Qa4622ugmVm0gFT180mJmQWjeVDQVTK0YIEEzWRb9YEvmBqyZrKY/cxBSVCV3Lk 9X9AY/TVHMAAyz09wogm2Upi3E8DnOJ+z6Pklg6kegFztnY8dH7NsOL2ZF5iHHojnXfZ 481rvWOlvP7W3kRydMJYqoc7OJZP2DNhETJvJlLdM5bRmtGupLJq9XeT3Dfr+wNyYXOP CiqA==
X-Gm-Message-State: AOAM530vP3N8ZyDxHAQyoVhk+/LYapXJUL3Fmz91GP5WIFEcFOIvOYmU I2uOsuw/QGoR9FydaOcCBwafWLhgMVYgaU9pbNwJpw==
X-Google-Smtp-Source: ABdhPJxb6dvd7DOtiMNWG7xSEo1rQXsZDnwNJLNmxpFJSbW377AIbX8cWB1n6Xqt7NwiKfDxrA89aEfG8/HiK+OxxIE=
X-Received: by 2002:a05:6870:46a1:b0:dd:a325:6fc7 with SMTP id a33-20020a05687046a100b000dda3256fc7mr2026065oap.12.1648114928333; Thu, 24 Mar 2022 02:42:08 -0700 (PDT)
MIME-Version: 1.0
References: <52661a3d-75dc-111a-3f23-09b10d7cb8d4@gmail.com> <A72CDDDB-CDCE-4EAF-B95E-997C764DB2C4@gmail.com> <9175dc32-45c1-e948-c20a-3bcc958b77b9@gmail.com> <YjmJQMNgnJoSInUw@Space.Net> <fd17a91f-68dc-92b5-0544-51aefa1b7f08@gmail.com> <CAM5+tA-Wq5O4pjQ++VZQi-FTKZGMRAW-LFc6O5dPOyox4QZDEw@mail.gmail.com> <CAPt1N1mK=Xgtt+aYa4ga8YqK2XYhCdQUPrwgVU8xstH+F_RAfQ@mail.gmail.com> <CAM5+tA9zhMpJ1s8keoL8eoEMej5tOM=-imXypHEreUa3wOrt5Q@mail.gmail.com> <2959747f-7b2e-ba95-64ae-95794fa8c4eb@gmail.com> <1854df9952924635afe5ac183421a046@huawei.com> <CAM5+tA95XJEEmz3jBNgNyHVdSDTPqE+A1nXogKEvnQHKTG=Mrg@mail.gmail.com> <8f918356-89ce-e2a1-a807-7d382568db0a@gmail.com>
In-Reply-To: <8f918356-89ce-e2a1-a807-7d382568db0a@gmail.com>
From: Ted Lemon <mellon@fugue.com>
Date: Thu, 24 Mar 2022 10:41:32 +0100
Message-ID: <CAPt1N1nC4nK4mZ=gOM_XFCNB0wS3hfTSHbw_hudwUv-U7-7DsQ@mail.gmail.com>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
Cc: buraglio@es.net, Vasilenko Eduard <vasilenko.eduard@huawei.com>, "v6ops@ietf.org" <v6ops@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000da4a2405daf3a839"
Archived-At: <https://mailarchive.ietf.org/arch/msg/v6ops/8TvGHDTSpnauC1_lRUyp1JgYmVk>
Subject: Re: [v6ops] 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: Thu, 24 Mar 2022 09:42:18 -0000

Of course, the situation is a bit more complicated than you've said,
because we do both source and destination address selection, and the
decision of whether to use IPv4 is actually impacted by both choices. I
think what we really want is that if the destination address is an IPv4
address, obviously we choose IPv4, but if we have both an IPv4 and IPv6
destination addresses, then we may be able to choose IPv6, but not
necessarily.

If all we have for IPv6 is a ULA, and the destination address is a GUA,
there's no guarantee that communication is possible in both directions
using the ULA, so we might have to prefer to use IPv4 in this case. If the
destination address is a ULA with the same global ID, then I think it's
safe to prefer the ULA source address. If it's a ULA with a different
global ID, I don't think this is a safe assumption; in this case it's
probably safer to use IPv4.

So I don't agree with you Brian that the table is wrong—I suspect it was
written this way because it was the only way to write the table that
ensured that the right thing would happen in this corner case. In order to
address this corner case while preferring a ULA over an IPv4 source
address, we would have to add additional rules that explicitly test for
this situation.

On Wed, Mar 23, 2022 at 9:07 PM Brian E Carpenter <
brian.e.carpenter@gmail.com> wrote:

> Eduard, you wrote:
>
> > I am puzzled why ::ffff:0:0/96 has been treated as IPv4? Strange
> interpretation.
>
> Not at all strange. By definition (see RFC4291, section 2.5.5.2) that is
> the entire
> IPv4 address space, respresented as an IPv6 prefix.
>
> The problem is that RFC 6724 asserts that it sets IPv6 precedence above
> IPv4,
> but in fact it sets ULA precedence below IPv4. That is a glaring error in
> RFC 6724 - either text is wrong or the table is wrong. The behaviour that
> Nick
> reports is conformance to the default table in RFC 6724, which is
> non-confromance
> to the text.
>
> Regards
>     Brian Carpenter
>
> On 24-Mar-22 02:53, Nick Buraglio wrote:
> > My testing and experience has shown this, yes, and I know others have
> > had this experience as well.
> >
> > nb
> >
> >
> >
> > On Wed, Mar 23, 2022 at 3:37 AM Vasilenko Eduard
> > <vasilenko.eduard@huawei.com> wrote:
> >>
> >> Nick has given a URL with a detailed explanation. It has:
> >> "ULA per RFC 6724 is less preferred (the Precedence value is lower)
> than all IPv4 (represented by ::ffff:0:0/96 in the table)."
> >> I am puzzled why ::ffff:0:0/96 has been treated as IPv4? Strange
> interpretation.
> >> The same section 2.1 has: "
> >> Another effect of the default policy table is to prefer
> >>     communication using IPv6 addresses to communication using IPv4
> >>     addresses, if matching source addresses are available.
> >> "
> >> Nothing is stated about IPv6 type, "any" is assumed (including ULA).
> >>
> >> Nick, are you sure that IPv4 prioritization over IPv6 ULS is really the
> case for real OSes?
> >> If yes, IMHO: it is the bug in implementation (non-compliance to RFC
> 6724).
> >>
> >> /Ed
> >> -----Original Message-----
> >> From: v6ops [mailto:v6ops-bounces@ietf.org] On Behalf Of Brian E
> Carpenter
> >> Sent: Tuesday, March 22, 2022 11:48 PM
> >> To: buraglio@es.net; Ted Lemon <mellon@fugue.com>
> >> Cc: v6ops@ietf.org
> >> Subject: Re: [v6ops] Thoughts about wider operational input
> >>
> >> Nick,
> >>
> >> Where is the "prefer IPv4 over ULA" preference coded (whereas,
> presumably, "prefer IPv4 over GUA" is not coded)?
> >>
> >> Regards
> >>      Brian Carpenter
> >>
> >> On 23-Mar-22 09:35, Nick Buraglio wrote:
> >>> Yes, I know I have harped on this many times and have posted some
> >>> simple examples of the behavior to the list. My experience has been,
> >>> and continues to be, that if I have dual stacked hosts with A and AAAA
> >>> records, and the IPv6 clients are using ULA that IPv6 is never used.
> >>> In an IPv6-only environment ULA has no higher priority protocol to
> >>> supersede the ULA. In the context of transitioning to an IPv6 world,
> >>> it is fairly unrealistic to assume any kind of greenfield, and
> >>> dual-stack
> >> is by and large the standard "permanently temporary" solution for the
> vast majority of implementations. So in this context, which has been 99% of
> what I have seen until I began working on the IPv6-only implementation
> mandated by the USG OMB-M-21-07 document, that was the de facto standard
> (and will continue to be for enterprise deployments, in my opinion).
> >>> I would be happy to be incorrect about this, honestly it would make my
> >>> work-life easier if I was. So, yes, I fully acknowledge that your use
> >>> case is absolutely the right one for ULA. For doing a transition in an
> >>> existing network (which circles back the the original topic of this
> >>> thread: getting enterprises to use IPv6 in a meaningful way), this is
> >>> a really
> >> well put together descriptions of the every-day implications of trying
> to use ULA:
> >>> https://blogs.infoblox.com/ipv6-coe/ula-is-broken-in-dual-stack-networ
> >>> ks/
> >>> <https://blogs.infoblox.com/ipv6-coe/ula-is-broken-in-dual-stack-netwo
> >>> rks/>
> >>>
> >>> nb
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> On Tue, Mar 22, 2022 at 3:20 PM Ted Lemon <mellon@fugue.com <mailto:
> mellon@fugue.com>> wrote:
> >>>
> >>>      I'm sure you believe this assertion, Nick, but you haven't given
> >>> us
> >> any way of understanding why you believe this. In fact we're using ULAs
> in the Thread Border Router to enable IPv6 communication between different
> subnets, which literally could not be done with IPv4. So at least for
> this use case, ULAs work well. Would it work better to have a GUA? Comme
> ci comme ça. On the one hand, prefix delegation and real routing would make
> the solution more general. On the other, GUAs are great for reaching out to
> the internet, which we may or may not want light bulbs to be able to do.
> >>>
> >>>      On Tue, Mar 22, 2022 at 9:13 PM Nick Buraglio <buraglio@es.net
> <mailto:buraglio@es.net>> wrote:
> >>>
> >>>          ULA is an operational non-starter in the presence of any dual
> stacked hosts.  Per its design, it just won't ever use IPv6 in any
> meaningful way and that time and effort are better served on adding GUA
> addressing of one kind or another.
> >>>
> >>>          nb
> >>>
> >>>
> >>>
> >>>          On Tue, Mar 22, 2022 at 2:55 PM Brian E Carpenter <
> brian.e.carpenter@gmail.com <mailto:brian.e.carpenter@gmail.com>> wrote:
> >>>
> >>>              Hi Gert,
> >>>
> >>>              I see that the discussion has been going on while I was
> sleeping, but I want to clarify below...
> >>>              On 22-Mar-22 21:30, Gert Doering wrote:
> >>>               > Hi,
> >>>               >
> >>>               > On Tue, Mar 22, 2022 at 11:42:12AM +1300, Brian E
> Carpenter wrote:
> >>>               >> I agree with Jordi that multihoming is a genuine
> impediment. What isn't generally realised is that it's a problem of scale
> when considering at least 10,000,000 enterprises, much more than it's a
> problem of IPv6 itself.
> >>>               >
> >>>               > What is "an enterprise"?
> >>>               >
> >>>               > My stance on this is that for "largely unmanaged SoHo
> networks" - which
> >>>               > could be called "small enterprise" - dual-enduser-ISP
> with dual-/48 or
> >>>               > NPT66 gets the job done in an easy and scalable way
> (HNCP would have
> >>>               > been great, but IETF politics killed it).
> >>>               >
> >>>               > "Enterprise that truly need their own independent
> fully managed network
> >>>               > with multiple ISP uplinks and fully routed independent
> address space"
> >>>               > are probably way less than 10 million...
> >>>
> >>>              I came up with 10 million quite some years ago as a
> reasonable estimate
> >>>              of the number of medium to large businesses in the world,
> all of which
> >>>              might depend on *reliable* Internet access to survive
> (and WfH during
> >>>              COVID has made this even more important recently). So all
> of them
> >>>              should have two independent paths to the Internet to
> >>> assure
> >> reliability.
> >>>              That means two different ISPs (or less good, two
> >>> completely
> >> independent
> >>>              paths to the same ISP).
> >>>
> >>>              So, if PI addressing is the answer, that really does take
> us to
> >>>              10M /48s to be routed.
> >>>
> >>>              If PA is the answer, that's why I worked on SHIM6 (may it
> rest in
> >>>              peace). Which is why I worked on RFC 8028. If that's not
> the
> >>>              answer, we're back to NPTv6. Possibly even to ULA+NPTv6.
> >>>
> >>>               > Half of them do not want Internet access anyway, just
> access to their
> >>>               > ALGs that will do the filtering and TLS inspection and
> everything, and
> >>>               > then out to the Internet as a new TCP session (= could
> >> be done with
> >>>               > DMZ islands of upstream-provider-allocated space just
> fine).
> >>>               >
> >>>               >
> >>>               > We need to work on our marketing regarding
> multihoming.  "What is it that
> >>>               > you get, what is the cost, which of the variants do
> you want, and why...?"
> >>>
> >>>              Yes.
> >>>                   Brian
> >>>
> >>>              _______________________________________________
> >>>              v6ops mailing list
> >>>              v6ops@ietf.org <mailto:v6ops@ietf.org>
> >>>              https://www.ietf.org/mailman/listinfo/v6ops
> >>> <https://www.ietf.org/mailman/listinfo/v6ops>
> >>>
> >>>          _______________________________________________
> >>>          v6ops mailing list
> >>>          v6ops@ietf.org <mailto:v6ops@ietf.org>
> >>>          https://www.ietf.org/mailman/listinfo/v6ops
> >>> <https://www.ietf.org/mailman/listinfo/v6ops>
> >>>
> >>
> >> _______________________________________________
> >> v6ops mailing list
> >> v6ops@ietf.org
> >> https://www.ietf.org/mailman/listinfo/v6ops
>
>