Re: [v6ops] Thoughts about wider operational input

Vasilenko Eduard <vasilenko.eduard@huawei.com> Thu, 24 March 2022 09:50 UTC

Return-Path: <vasilenko.eduard@huawei.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 31CD73A1701 for <v6ops@ietfa.amsl.com>; Thu, 24 Mar 2022 02:50:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.905
X-Spam-Level:
X-Spam-Status: No, score=-1.905 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=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
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 dy7zVi4ep4ug for <v6ops@ietfa.amsl.com>; Thu, 24 Mar 2022 02:50:21 -0700 (PDT)
Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7B3243A16F8 for <v6ops@ietf.org>; Thu, 24 Mar 2022 02:50:21 -0700 (PDT)
Received: from fraeml713-chm.china.huawei.com (unknown [172.18.147.226]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4KPL4c5Cyvz681sL; Thu, 24 Mar 2022 17:48:00 +0800 (CST)
Received: from mscpeml100001.china.huawei.com (7.188.26.227) by fraeml713-chm.china.huawei.com (10.206.15.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Thu, 24 Mar 2022 10:50:17 +0100
Received: from mscpeml500001.china.huawei.com (7.188.26.142) by mscpeml100001.china.huawei.com (7.188.26.227) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Thu, 24 Mar 2022 12:50:16 +0300
Received: from mscpeml500001.china.huawei.com ([7.188.26.142]) by mscpeml500001.china.huawei.com ([7.188.26.142]) with mapi id 15.01.2308.021; Thu, 24 Mar 2022 12:50:16 +0300
From: Vasilenko Eduard <vasilenko.eduard@huawei.com>
To: Ted Lemon <mellon@fugue.com>, Brian E Carpenter <brian.e.carpenter@gmail.com>
CC: "buraglio@es.net" <buraglio@es.net>, "v6ops@ietf.org" <v6ops@ietf.org>
Thread-Topic: [v6ops] Thoughts about wider operational input
Thread-Index: AQHYPWL+5ay9cZSrXUWG+DzsIaGQi6zKIZgAgAAMoQCAAA6FAIAApH4AgAC/EYCAAATnAIAAAjoAgAAEJQCAAAOmAIAA9ZUwgAAozwCAAGiYgIAA42oAgAA0smA=
Date: Thu, 24 Mar 2022 09:50:16 +0000
Message-ID: <adfe3b3a3a014e4380203ee3d1a95c3f@huawei.com>
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> <CAPt1N1nC4nK4mZ=gOM_XFCNB0wS3hfTSHbw_hudwUv-U7-7DsQ@mail.gmail.com>
In-Reply-To: <CAPt1N1nC4nK4mZ=gOM_XFCNB0wS3hfTSHbw_hudwUv-U7-7DsQ@mail.gmail.com>
Accept-Language: zh-CN, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.81.189.139]
Content-Type: multipart/alternative; boundary="_000_adfe3b3a3a014e4380203ee3d1a95c3fhuaweicom_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/v6ops/gEw2pTEwQ_8jilJ8-0j4vYTlzY4>
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:50:27 -0000

Ø  we would have to add additional rules that explicitly test for this situation.
+1

From: Ted Lemon [mailto:mellon@fugue.com]
Sent: Thursday, March 24, 2022 12:42 PM
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
Cc: buraglio@es.net; Vasilenko Eduard <vasilenko.eduard@huawei.com>; v6ops@ietf.org
Subject: Re: [v6ops] Thoughts about wider operational input

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<mailto: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<mailto: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<mailto:v6ops-bounces@ietf.org>] On Behalf Of Brian E Carpenter
>> Sent: Tuesday, March 22, 2022 11:48 PM
>> To: buraglio@es.net<mailto:buraglio@es.net>; Ted Lemon <mellon@fugue.com<mailto:mellon@fugue.com>>
>> Cc: v6ops@ietf.org<mailto: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> <mailto: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> <mailto: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> <mailto: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> <mailto: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> <mailto: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