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

Jeffrey Haas <jhaas@pfrc.org> Mon, 06 November 2023 12:23 UTC

Return-Path: <jhaas@slice.pfrc.org>
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 AAE9EC14CF1A; Mon, 6 Nov 2023 04:23:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.907
X-Spam-Level:
X-Spam-Status: No, score=-1.907 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
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 3dFkL_6yNhAg; Mon, 6 Nov 2023 04:23:20 -0800 (PST)
Received: from slice.pfrc.org (slice.pfrc.org [67.207.130.108]) by ietfa.amsl.com (Postfix) with ESMTP id 76BC8C17C896; Mon, 6 Nov 2023 04:23:20 -0800 (PST)
Received: by slice.pfrc.org (Postfix, from userid 1001) id D34421E2F7; Mon, 6 Nov 2023 07:23:19 -0500 (EST)
Date: Mon, 06 Nov 2023 07:23:19 -0500
From: Jeffrey Haas <jhaas@pfrc.org>
To: Chongfeng Xie <chongfeng.xie@foxmail.com>
Cc: draft-xie-idr-mpbgp-extension-4map6 <draft-xie-idr-mpbgp-extension-4map6@ietf.org>, idr <idr@ietf.org>
Message-ID: <20231106122319.GF3251@pfrc.org>
References: <20231106095835.GA3251@pfrc.org> <tencent_C8106667B11395DC85FDF97ED77280381C08@qq.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <tencent_C8106667B11395DC85FDF97ED77280381C08@qq.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/WHwr3KAvXWxs4oUlvn9cFDaYWLI>
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: Mon, 06 Nov 2023 12:23:24 -0000

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