Re: [Idr] Fw: Re: New Version Notification for draft-xie-idr-mpbgp-extention-4map6-00.txt

Robert Raszuk <robert@raszuk.net> Sun, 29 January 2023 13:17 UTC

Return-Path: <robert@raszuk.net>
X-Original-To: idr@ietfa.amsl.com
Delivered-To: idr@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CD57EC15152C for <idr@ietfa.amsl.com>; Sun, 29 Jan 2023 05:17:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.095
X-Spam-Level:
X-Spam-Status: No, score=-2.095 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, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=raszuk.net
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 aS8HiaXg9frk for <idr@ietfa.amsl.com>; Sun, 29 Jan 2023 05:17:05 -0800 (PST)
Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) (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 23325C14CE52 for <idr@ietf.org>; Sun, 29 Jan 2023 05:17:04 -0800 (PST)
Received: by mail-wm1-x32f.google.com with SMTP id j32-20020a05600c1c2000b003dc4fd6e61dso1468420wms.5 for <idr@ietf.org>; Sun, 29 Jan 2023 05:17:04 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raszuk.net; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=V3UAiN6qN/s06wUYoGoCDs/B0Dd20JslIiDuXLATOx8=; b=b167Oy6tzN4HDWEUmejHle3HN8moxi3BWzmN4yIO1INivM2eKrQyGtoGtevuaDAP9g CFVZzYwdedQj03xMdmDxCCoP9IOTaYVl29c7M0Dk6YEcfpFywZyzM6T22xLw7vZPWPv3 9POJaYziIS43i9bQgJ76zz5O3w8/X4TZOx3+W46aC39Os949F/bJtSdcCfV5ej0utvwI QJkzsIfBDb+Yz4kzZ1nsROyxOTx6ZKGbSvrcvTKrFet3A7nSzFIK7EZsTKonAZV9MsXp UMIQ5px6OQacRkgCs77jZmenKQFfRf51/5ljKitIA7CBe84II7OBYJuMAh4lYodlsZ32 +yPQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=V3UAiN6qN/s06wUYoGoCDs/B0Dd20JslIiDuXLATOx8=; b=z66o+7+RflJr9lzc82TW2jv2F1bngr/tHo5B+95EF9XZioZVzUYfQYX+FuQg92YuGz qjzxtDyb0U8O5qwtkgBab7e4DiutooruY/MpvGvXviOnh2zTQHvIj1hZ6LXk0p4D7Prs wHUt3zn2Rwl14GXC2aHPIhsLkK+R3Qt84sPi3s5hbdkszPOh0wbN6kPvJtZhKbdj1EFD iGnDxtVwN2msWzroVaP6klL3dNhi4CxM8CziAOFEcMaynOrF3gHwSP65Fd3AFmp+5KUy iAUH8BuPC4gjuBPuNqwn/k5pb5Y6nvqlV2GvefxQPGeOl3tcUYvZIcfAlEKA6Vj7t5m3 6l/w==
X-Gm-Message-State: AFqh2kpI/VAWDpMEdhCVDz8clYOF8rWoAiCDOa+whotXG/UD+hFZpljz GH5gxURFT4v9hhmSfcNYk04FR3gNxtQvgkwiosv/bkIYcT84zA==
X-Google-Smtp-Source: AMrXdXsiEXX2j3V5MkR+yLHFVGpkoFH1OECWtLakWttlsbE1NFHQKXTvcQz9vF4s+4D8RCuKCpLzI6TmwkQZHTUnTcc=
X-Received: by 2002:a05:600c:43c7:b0:3d3:5315:8de with SMTP id f7-20020a05600c43c700b003d3531508demr3910419wmn.50.1674998222704; Sun, 29 Jan 2023 05:17:02 -0800 (PST)
MIME-Version: 1.0
References: <202301250747459386600@chinatelecom.cn> <2023012517403527261033@chinatelecom.cn> <CAOj+MMGyr8uowrY2oJKTncKJ25Ey0Y7otq2iqRzutd8u7Dk=ow@mail.gmail.com> <2023012708023871817347@chinatelecom.cn> <CAOj+MMGXHWf=gLOMJ1mRF_xaPapCC6ZhCzz4NEwDH9fMVQhQMg@mail.gmail.com> <2023012808483046168910@chinatelecom.cn> <CAOj+MMGzkDT4x6RL3_3n=fVGTKSZ_scRFFD7EYRd3dOJW2p9Tg@mail.gmail.com> <4573a0f3d9f9445db81ba02d6e0e5c39@huawei.com> <CAOj+MMFf4HtLMAgUHLd72jBFQCzYcw8-hUHUtORFzxU+9RmAxA@mail.gmail.com> <f592d697481c49ef863d8c78b5950089@huawei.com>
In-Reply-To: <f592d697481c49ef863d8c78b5950089@huawei.com>
From: Robert Raszuk <robert@raszuk.net>
Date: Sun, 29 Jan 2023 14:16:51 +0100
Message-ID: <CAOj+MMECCLegoYSr76i2_m1vuXfP08h6AN9+khDmh+jd-G3n4w@mail.gmail.com>
To: "Xiejingrong (Jingrong)" <xiejingrong=40huawei.com@dmarc.ietf.org>
Cc: Chongfeng Xie <xiechf@chinatelecom.cn>, "idr-chairs@ietf.org" <idr-chairs@ietf.org>, idr <idr@ietf.org>, xing <xing@cernet.edu.cn>
Content-Type: multipart/alternative; boundary="000000000000106a4e05f366ea4f"
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/WIZQN4tEkr2gScgrQRiYB57FyA4>
Subject: Re: [Idr] Fw: Re: New Version Notification for draft-xie-idr-mpbgp-extention-4map6-00.txt
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Inter-Domain Routing <idr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/idr>, <mailto:idr-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/idr/>
List-Post: <mailto:idr@ietf.org>
List-Help: <mailto:idr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/idr>, <mailto:idr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 29 Jan 2023 13:17:09 -0000

Hi Xiejingrong,

The PE2, as the “egress side”, get an IPv6 packet that is NOT encapsulated,
> but translated from an IPv4 packet, it won’t be expected to “decapsulate
> again you do a lookup on plain IPv4 FIB” as you described ----because
> there is no encapsulated IPv4 header at all !
>

The end sites talk IPv4 only. Is this correct ? If so they send and receive
IPv4 packets - correct ?

So the simplest way to deliver the service is to encapsulate this packet in
the IPv6 header.

If however, as you say, remove IPv4 header and *replace it* with IPv6
header containing MAP address that is a form of 46NAT. The exact
reverse operation must be done on egress 64NAT. Besides there are other
fields in IPv4 header which needs to be transparently translated and
carried through. That is lot's of mapping and complexity - just consider
ToS bits, TTL transparency, checksum, Flags etc ... The src and dst are
your least worry here.

Now let’s see PE1, as the “ingress site”, may get an packet destined to
> Host2 but may from Host1/3/5 (with source address being
> 192.168.1.x/192.168.3.x/192.168.5.x respectively), it can “do the dst
> lookup on IPv4 address” but it can’t “result in IPv6 encapsulation with
> src and dst address”!
>

Why not ? I do not see an issue. The lookup reveals the rewrite (complete
or incomplete). The input from src packet can be used to create a new
header with mapped v4tov6 both src and dst addresses.


> When the source address is 192.168.1.x, then PE1 should do an src lookup
> and result a 4map6 address-block (or prefix) like 2001:db8:1:1:1:1:192.168.
> 1.x/120;
>
> When the source address is 192.168.3.x, then PE1 should do an src lookup
> and result a 4map6 address-block (or prefix) like 2001:db8:1:1:1:1:192.168.
> 2.x/120;
>
> When the source address is 192.168.5.x, then PE1 should do an src lookup
> and result a 4map6 address-block (or prefix) like 2001:db8:1:1:1:1:192.168.
> 3.x/120;
>
> Only in this way, PE2 can to a “reverse translation” or
> “6map4-Translation” on an IPv6 packet, from IPv6 dst/src address to IPv4
> dst/src address.
>

That would be clearly possible in what I am proposing.

Kind regards,
Robert





>  I think the overall 4map6 solution, including 4map6-Translation, and
> 4map6-Encapsulation, is different than the “legacy Encapsulation” that is
> normally thought about (like SRv6 VPN defined in RFC9252).
>
>
>
> From your point (1)/(2)/(3), it seems that you take 4map6 the same as
> “legacy Encapsulation” ?
>
>
>
> Kind Regards,
>
> Jingrong
>
>
>
>
> 本邮件及其附件可能含有华为公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件!
> This e-mail and its attachments may contain confidential information from
> HUAWEI, which is intended only for the person or entity whose address is
> listed above. Any use of the information contained herein in any way
> (including, but not limited to, total or partial disclosure, reproduction,
> or dissemination) by persons other than the intended recipient(s) is
> prohibited. If you receive this e-mail in error, please notify the sender
> by phone or email immediately and delete it!
>
>
>
> *From:* Robert Raszuk [mailto:robert@raszuk.net]
> *Sent:* Saturday, January 28, 2023 10:23 PM
> *To:* Xiejingrong (Jingrong) <xiejingrong@huawei.com>
> *Cc:* Chongfeng Xie <xiechf@chinatelecom.cn>; idr-chairs@ietf.org; idr <
> idr@ietf.org>; xing <xing@cernet.edu.cn>
> *Subject:* Re: [Idr] Fw: Re: New Version Notification for
> draft-xie-idr-mpbgp-extention-4map6-00.txt
>
>
>
> Hi,
>
>
>
> The crux is that to realize connectivity of IPv4 sites over only IPv6 core
> (or set of domains) all you need to get is the remote encapsulation
> information carried in Tunnel Attribute. That should be already supported
> and shipping by multiple implementations.
>
>
>
> Then to meet BGP requirements you need a valid next hop hence you need to
> use extensions described in RFC5549 to add it to SAFI 1/1. RFC8950 is not
> actually playing any role here as it clearly says that it augments only the
> scenario for SAFI 128/129 respectively.
>
>
>
> So the fundamental point is that you do not need to create and carry
> IPv4mappedIPv6 address at all. It is not needed for network elements as
> their FIBs will still only use vanilla IPv6 and IPv4 addresses separately.
> Even if you extend protocol and carry IPv4 mapped IPv6 address the ingress
> FIB from IPv4 site will still do the dst lookup on IPv4 address.
>
>
>
> That lookup will result in IPv6 encapsulation with src and dst address
> being locally computed (algorithm is well know as we already established
> before).
>
>
>
> Then IPv6 packet will happily travel via single or many domains.
>
>
>
> On the egress side once you decapsulate again you do a lookup on plain
> IPv4 FIB to determine which site the packet should be forwarded to.
>
>
>
> So in no moment of the packet life through this single or multi domain
> journey you need to have to propagate IPv4mappedIPv6 address anywhere.
>
>
>
> I hope this clarify the point I was making all along this little thread.
>
>
>
> Kind regards,
>
> Robert
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> On Sat, Jan 28, 2023 at 1:07 PM Xiejingrong (Jingrong) <
> xiejingrong@huawei.com> wrote:
>
> Hi Robert,
>
>
>
> I think it is a valid option to use existing SAFI such as those
> (SAFI-1/128) described in RFC5549/8950.
>
>
>
> But I don’t understand this sentence “It does not even require any new
> software upgrade to existing routers if they
> already support RFC5549+RFC9012.”
>
>
>
> My understanding of the overall 4map6 solution is in my previous mail [*],
> and I think the main requirement for the BGP extension in the solution is
> an “IPv4/IPv6 Prefix” information in an TLV/Sub-TLV/Sub-sub-TLV of some BGP
> Attribute.
>
>
>
> [*] https://mailarchive.ietf.org/arch/msg/idr/fUMnsJpSwoU3Vz-3NrcUCQqggfY/
>
>
>
> But I failed to find a TLV or Sub-TLV that can carry an IPv4/IPv6 Prefix
> after reading RFC9012 quickly.
>
>
>
> Can you please clarify on that ?
>
>
>
> Regards,
>
> Jingrong
>
>
>
>
> 本邮件及其附件可能含有华为公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件!
> This e-mail and its attachments may contain confidential information from
> HUAWEI, which is intended only for the person or entity whose address is
> listed above. Any use of the information contained herein in any way
> (including, but not limited to, total or partial disclosure, reproduction,
> or dissemination) by persons other than the intended recipient(s) is
> prohibited. If you receive this e-mail in error, please notify the sender
> by phone or email immediately and delete it!
>
>
>
> *From:* Idr [mailto:idr-bounces@ietf.org] *On Behalf Of *Robert Raszuk
> *Sent:* Saturday, January 28, 2023 6:55 PM
> *To:* Chongfeng Xie <xiechf@chinatelecom.cn>
> *Cc:* idr-chairs@ietf.org; idr <idr@ietf.org>; xing <xing@cernet.edu.cn>
> *Subject:* Re: [Idr] Fw: Re: New Version Notification for
> draft-xie-idr-mpbgp-extention-4map6-00.txt
>
>
>
> Chongfeng,
>
>
>
> 【*Chongfeng*】: I agree with you, introducing IPv4 routes into IPv6 domain
> will increase the size of control plane, but I think this is normal, you
> have mentioned RFC5549/8950 several times, RFC5549/8950  also adopts new
> SAFI value
>
>
>
> I do not recall ever mentioning RFC8950, but it DOES NOT introduce new
> SAFI. Please read section 3 of either RFC5549 or RFC8950.
>
>
>
> I mentioned RFC5549 with RFC9012 which requires new capability not a
> new SAFI- that's all. It does not even require any new software upgrade to
> existing routers if they already support RFC5549+RFC9012.
>
>
>
> All that is needed is just a few lines of configuration - that's all.
>
>
>
> Regards,
>
> R.
>
>
>
>
>
>
>
> , and specifies the extensions necessary to allow the advertising of IPv4
> NLRI with a next-hop IPv6 address, herein 128-bits of next IPv6 address
> will be used for all IPv4 routes. My proposal is basically the same as
> RFC5549/8950 in terms of the scale, the difference is that my draft use
> IPv6 mapping prefix instead of specific next-hop IPv6 address.  In
> addition, my draft is about IPv6-only deployment for the network. IPv6-only
> will run after dual-stack as a whole. At that time, IPv6 will be the main
> stream, and the use of IPv4 will be less, and the overall quantity of IPv4
> routes may be reduced hopefully.
>
>
>
> Furthermore, the forwarding of IPv4 services in P routers will be based on IPv6 FIB, the size of which is
>
> In all cases forwarding in P routers will be based on IPv6 FIB so I do not
> understand why you are highlighting it here.
>
> *[Chongfeng]:  * You mentioned the cost issue before, and IPv6-only in
> multi-domain networks can reduce the cost of data forwarding, so I
> highlighted it.  BTW, What does "in all cases" here mean?
>
>
>
>
>
> Your statement sounded like what I am describing would not be forwarded
> based on IPv6 FIB so I commented on it.
>
> 【Chongfeng】:OK
>
>
>
> *[Chongfeng]: * In large-scale networks, it is not enough to achieve
> IPv4/IPv6 packet conversion only through local algorithmic computing. To
> convert an IPv4 address to an IPv6 address in PE, it needs to obtain the
> IPv6 address prefix of remote-end to identify the location of the IPv4
> address block in the IPv6 network in advance.
>
> In addition, I think the/96 prefix you mentioned is about the choice of
> prefix length, which can be considered in the future.
>
>
>
>
>
> I disagree. Irrespective of network scale you can algorithmically and
> consistently insert a bit string into a packet.
>
>
>
> And the algorithm we are talking about it well know so there is no issue
> what so ever.
>
> 【*Chongfeng*】: Can you tell me which RFC the algorithm is in?
> MAP-T/MAP-E?  or something else?
>
>
>
> I am not talking about some local domain mapping.
>
>
>
> Thx,
>
> R.
>
>
>
> Thanks!
>
> Chongfeng
>
> _______________________________________________
> Idr mailing list
> Idr@ietf.org
> https://www.ietf.org/mailman/listinfo/idr
>