Re: [Idr] draft-xie-idr-mpbgp-extension-4map6 error handling considerations for 4map6 attribute

Chongfeng Xie <chongfeng.xie@foxmail.com> Tue, 21 November 2023 03:05 UTC

Return-Path: <chongfeng.xie@foxmail.com>
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 19F68C14CE3F for <idr@ietfa.amsl.com>; Mon, 20 Nov 2023 19:05:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.16
X-Spam-Level:
X-Spam-Status: No, score=-4.16 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, FREEMAIL_FROM=0.001, HELO_DYNAMIC_IPADDR=1.951, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=foxmail.com
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 ERTxTK29YF3T for <idr@ietfa.amsl.com>; Mon, 20 Nov 2023 19:05:11 -0800 (PST)
Received: from out162-62-57-64.mail.qq.com (out162-62-57-64.mail.qq.com [162.62.57.64]) (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 53830C14CE24 for <idr@ietf.org>; Mon, 20 Nov 2023 19:05:09 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1700535905; bh=EYRIc+EK88WM1LD/JQgrqN2DVsyyAZSZqTik13EAl0Y=; h=Date:From:To:Cc:Subject:References; b=mJmZZ2GfOH5hhxk6qtfkE/Md9YlpdOi3c+/uy3bM5kMvrBCiYGhYkURDrAC1kcKeM vNV579Eyk5vBiqhro7UAB/fOEcMD/41E9Yvlvpc4tlkbTChmauD489h/tfKm5vdV3S 7mbdmHCcigB+7LVlARfyRBU+gT6Wcyx813vhMDJY=
Received: from DESKTOP-48H476U ([124.74.68.182]) by newxmesmtplogicsvrsza7-0.qq.com (NewEsmtp) with SMTP id EAB92454; Tue, 21 Nov 2023 10:58:43 +0800
X-QQ-mid: xmsmtpt1700535523th0shnbyr
Message-ID: <tencent_CF0B9DF3BDAE8D00DF38D0CDD463932A7909@qq.com>
X-QQ-XMAILINFO: OZiGlmjmGvyhJDkufx677pRLyXXKqQW3Pmfu93maU9eAOiQ8fFlPOORj8v+pun Jb61bBbtcU11YOOOIh+pKPoPXypDX8ugLMPDHMEr1ywxJ97RHJ0qyG6tAHoD+2/LCDD6i+wWgyik XbkYlChfXkidpeXXDZFa8VrbfqbvmneXBwb0jJ5OEp5ZgaKuMklOwqFxh9o2KVPj7LTHaHGCOkY3 sgNLe2/HsNU1OJr+ilsBbb/5A5ohS7bo4W6JFlqU29YoZnJWmL3ddyyi7x0uSuEiE2BUXGsp1UCI AwsJIZZDhbKrcyy6Z/2in39OCc+yfojTukvxSB/4OPcCKX54MC9sb1DrUSVT0YF+3H1OY34y2WuN Xl4drb2YSL5ykwfxxdmZSzLzL1SNSkPSUwCSQI8TYjUyHl/2m//WXVx0U+8i8OPUW+96ihidBBYR zqRVdAypFd4z3n1V4qV5mW/rNeZXmjmXx1scfEb5nyFHmRGLIMr5Cfvkt6SxheZoLR/sNdOESo7W ZwAq2FEbqmUtq3PdWIKIcCoy5T7lCA2IAfED9aiNEiGvEidU70ZWyzVkXtjX+YNiQb1lA5EnzlBd NnEhYmWiuL3ip6Kz9d9equ8azqC9++dWOAoyPYQY6mcu16RR/tzKJy6ys02cygk7ThxZzLNPd18t pmZBBBM6oQqGDanLLB0sc5zBE8Mwgcc+zOEu6p6GjTE+kwYX+7XksJnWOQSijKghp4fKj1/lKDe1 UQqVclTLiC+/NUR2YdFGDewvBNL8VqmOegh0XPV5lhWBOsKBWLNNBaQh5GLGdLLu0a3+rQTnKkCR TRht3DWi1B6MWRb0vs8I1HZl+h2r90TWAgUJZbsaZzoCnyEGos7lwiivRdEAMp2Lw0tmVx8RWDZX zlf6SA4ez6/j3lWZ4LzIkw1pZuBXzC1+MyLHtsthm/EkwYqJ6DXrLcBC8j+r/+fdi0X3oIYq6NTN 58cNWnTbpyPDKr9KuREWO6JfH9t0rI
X-QQ-XMRINFO: Nq+8W0+stu50PRdwbJxPCL0=
Date: Tue, 21 Nov 2023 10:58:47 +0800
From: Chongfeng Xie <chongfeng.xie@foxmail.com>
To: jhaas <jhaas@pfrc.org>
Cc: idr <idr@ietf.org>, Susan Hares <shares@ndzh.com>
References: <CAOj+MMFWL2qi0Hb3V0nGiJoOqyEU8uwHvS3fNsxSQwAg9JLGAA@mail.gmail.com>, <7317B412-45B7-4222-8A21-55F39E0F43C9@pfrc.org>
X-Priority: 3
X-GUID: CEC548FB-2BA3-4AE7-8286-40A4A74EA0AA
X-Has-Attach: no
X-Mailer: Foxmail 7.2.24.96[cn]
Mime-Version: 1.0
X-OQ-MSGID: <2023112110584693452821@foxmail.com>
Content-Type: multipart/alternative; boundary="----=_001_NextPart538171821241_=----"
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/WG5cCAblQT69b0E83NOcZKGMFIY>
Subject: Re: [Idr] draft-xie-idr-mpbgp-extension-4map6 error handling considerations for 4map6 attribute
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: Tue, 21 Nov 2023 03:05:15 -0000

Hi IDR chairs,

Since the beginning IETF 118,  you IDR chairs have raised several issues or questions for  draft-xie-idr-mpbgp-extension-4map6, including those of Jeff and Sue , and we authors have tried to answer them, I wonder if our answers have clarified your concerns? Is there anything missed that needs futher clarification?

Best regards

Chongfeng  
 
From: Jeffrey Haas
Date: 2023-11-06 21:39
To: Robert Raszuk
CC: Chongfeng Xie; draft-xie-idr-mpbgp-extension-4map6; idr
Subject: Re: [Idr] draft-xie-idr-mpbgp-extension-4map6 error handling considerations for 4map6 attribute
Robert,



On Nov 6, 2023, at 13:31, Robert Raszuk <robert@raszuk.net> wrote:


Hi,

> However, isn't a key value of your draft that intermediate IPv6 nodes 
> that are not performing the mapping operation will use the routes for 
> forwarding purposes toward the egress?

IMO (the way I am reading this proposal) P nodes or even transit ASBRs would never need those mapping routes. Only the ingress and egress would be the consumers. 

Your interpretation while valid would result in quite severe consequences on the network design. If transit nodes are to use those mapping for forwarding simply enabling dual stack may be much more efficient solution. 

Indeed, and partly why I’m raising these points. 

— Jeff


Many thx,
Robert


On Mon, Nov 6, 2023 at 1:23 PM Jeffrey Haas <jhaas@pfrc.org> wrote:
Chongfeng,

On Mon, Nov 06, 2023 at 06:50:56PM +0800, Chongfeng Xie wrote:
> Thank you for raising the error handling scenario, which is indeed worth considering. I think this issue is easy to handle.  At present, the SAFI in the draft is 1, but I also consider to apply for a dedicated SAFI to dea with issue. The node that receives the BGP message, i.e. the receiver, can determine based on this that this is not a regular IPv6 route. When the network filters out the 4map6 attribute, the receiver can determine that an error has occurred and not continue to transmit it. I don't know if this has answered your question? If so, we can add the considerations for this scenario in the next version.

A separate SAFI would address the error consideration below.  However, isn't
a key value of your draft that intermediate IPv6 nodes that are not
performing the mapping operation will use the routes for forwarding purposes
toward the egress?

Similarly, you're also leveraging Internet-scoped route distribution to
carry these routes.  A separate afi/safi means either all of the
intermediate networks participate, or a mesh of multihop ebgp sessions for
this mapping are created.

If you move to such a multhop mesh of ebgp sessions for distributing the
mappings, Robert's discussed point of using existing IPv4 routes with RFC 5549 
procedures and new tunnel encapsulation information to carry the map start
making more sense.

-- Jeff

> 
> Best regards
> Chongfeng
> 
> From: Jeffrey Haas
> Date: 2023-11-06 17:58
> To: draft-xie-idr-mpbgp-extension-4map6; idr
> Subject: [Idr] draft-xie-idr-mpbgp-extension-4map6 error handling considerations for 4map6 attribute
> Authors,
>  
> I'm reviewing the draft-xie-idr-mpbgp-extension-4map6-07. As part of my
> review, I have two questions for error handling scenarios.
>  
> When the 4maps6 attribute has an error, treat-as-withdraw behavior is done.
> This is reasonable!
>  
> One consideration that should be considered is what happens if, for some
> reason, an IPv6 unicast route serving to carry IPv4/IPv6 mapping
> advertisements has its 4map6 attribute removed/stripped.  
>  
> While BGP Path Attribute filtering is not generally recommended due to its
> harm on incremental deployment of BGP features, it does happen.[1]
>  
> If the 4map6 attribute has been stripped, it's not possible to execute the
> procedures appropriately on the route.  In the absence of this attribute,
> it's not readily apparent that this isn't a simple 4map6 route and is only
> an ipv6 unicast route for forwarding.  While this appears to be the intended
> behavior in networks that are not participating in
> encapsulation/decapsulation, it's problematic for the networks that need to
> do this work.
>  
> What error handling would the authors recommend for this scenario?
>  
> Note that attr-set stripping considerations may also be important.
>  
> -----
>  
> Please note that I have flagged scaling and route selection considerations
> in my response to Robert.  Tersely repeating them here:
>  
> 1. When multiple domains are advertising the same IPv4 addresses for
> encapsulation, this increases the IPv6 scaling load to carry these unique
> destinations.  This has impact on the FIB and RIB.
>  
> 2. The mapping database metric, when receiving IPv4 networks, does not
> perform normal BGP route selection on those tunneled IPv4 networks.  I have
> concerns that this has the possibility to cause issues for IPv4 forwarding,
> potentially loops, because the IPv4 as-path information may not be congruent
> with the IPv6 route that contains it.
>  
> The authors may wish to consider if, instead of a "mapping database" that
> IPv4 BGP RIB entries are reconstructed using the tunneled IPv4 attributes
> contained in the attr-set.  Then, normal route selection can be utilized. 
> This was part of my motivation to suggest the feature during a previous IETF.
>  
> -- Jeff
>  
> [1] https://datatracker.ietf.org/doc/html/draft-haas-idr-bgp-attribute-escape-00#name-explicit-permit-lists-and-t
>  
> _______________________________________________
> Idr mailing list
> Idr@ietf.org
> https://www.ietf.org/mailman/listinfo/idr

_______________________________________________
Idr mailing list
Idr@ietf.org
https://www.ietf.org/mailman/listinfo/idr