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

Chongfeng Xie <chongfeng.xie@foxmail.com> Tue, 07 November 2023 04:32 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 2108BC193321; Mon, 6 Nov 2023 20:32:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.84
X-Spam-Level:
X-Spam-Status: No, score=0.84 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_NONE=-0.0001, RCVD_IN_MSPIKE_H4=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=no 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 6HKXhVgx6spx; Mon, 6 Nov 2023 20:32:45 -0800 (PST)
Received: from out162-62-57-49.mail.qq.com (out162-62-57-49.mail.qq.com [162.62.57.49]) (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 251CAC1C5F5F; Mon, 6 Nov 2023 20:32:17 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1699331523; bh=+piylAHfAM9zTyvz2h4uN6Uz7XcaoS9wxU4yobOhMQ0=; h=Date:From:To:Cc:Subject:References; b=U4+JaQvn0uA00t0Dz9MOHXBwkqbrT+eGUUM7bW2XQnVsil/Mh2pjC4ltCpkWJb7NH cfIXxOarFNASvMbEjsjFoT6KTWkpsx7KoUQ3j0OrvidZ/89XWqK5iqHPAarzj+VA+a R6KXpn0j2BNB5sR8OJRriyMovbfjOVIly/mXzlK8=
Received: from LAPTOP-BOBOCIFS ([185.249.113.208]) by newxmesmtplogicsvrszb1-0.qq.com (NewEsmtp) with SMTP id 7FA29297; Tue, 07 Nov 2023 12:31:58 +0800
X-QQ-mid: xmsmtpt1699331518t564x8zsh
Message-ID: <tencent_B155D75D80A11C66663EB10695BB85F7F908@qq.com>
X-QQ-XMAILINFO: OZZSS56D9fAjeN1nQ0njqXuO8E3KY8//XLF0jentxIBWgNgDnKVNtOoKnhiGTh K7+tguD/JLJqFz8JEUbTpSOlCtSANsBt3Ec+rkAjrLysPFcEz02wvtMuzdKaFfcF76AbIdWYas2M gjyK0ZP+xXuH4gDRza5CH7YkHiGFd23r/L0FH+JPheq9BW7U/WUGNfw49OE8QmmjA84YIB4OmS01 7kVYfL226HqXijcHdmj6nPuBLcX5hf/djL2sStQGOueSjwQCvjuZvdK4dlUNH28J29mSCsfHze84 4mqFST+mvbJN1u199+ws4U6G1+pJbQkebLny8lBK7Y+l+D/sHsyP7zcFunDqNsiI9ZA4rMQ4BazJ 1OI1Unfuo35Tze9RC2LVqgCaXkrbPZGadAXO6JaG5tTAeRm85sPqcvLdPXAlP++eidOkTy3kqrM/ yJRiXb/5ZOdjO/fecdXN2EUx82BcRioV7tF4NBPnqfzYk/ZmPB7Y4wyGQbswbKK1G+J5jVb/E/Ga /pxIMnB2XZovfy7zPHME27eJGYW4YyIoHBAXmPgoWDuJrz4sIdOKgI/BZoQ51K8P0rElR9CmY8OK dc3+WHLd2yN2UHizKICcyN3QDcnLME6DFxei0W3TokZB8YydGvp6xvO55RlvCHo+uUJGgbg+QuAg nnTuK36Niq6mzlapO+Y0bNl1nBUjnQJLTEKQMJnLjoV/1XRdwoIlxn5fdvGTpOtVoHiV8uSYAy7j CMEonxh97alz3DuFTxUMFPHd7BBhdHj3jWQnl94HhHJaacYXdSnmloGqeN16k8yqtPml3xDQWomn hzXAwPTOfUOCcf25HMG4dSvr08W0MSikbLYwEc9y9HiODNPPnrF3GFjfgxgXhuuAanROg2hxrAL3 /eu6My6tKoG6Qt22QNzJ3lQbFMhLh9ImnogxMJ4HeGzVe8BhRzbL4DeLDkyAq/GZGx2jL+Okyv30 L4e6eaHU4k+4rCApP41g==
X-QQ-XMRINFO: NyFYKkN4Ny6FSmKK/uo/jdU=
Date: Tue, 07 Nov 2023 12:31:59 +0800
From: Chongfeng Xie <chongfeng.xie@foxmail.com>
To: Robert Raszuk <robert@raszuk.net>, Jeffrey Haas <jhaas@pfrc.org>
Cc: draft-xie-idr-mpbgp-extension-4map6 <draft-xie-idr-mpbgp-extension-4map6@ietf.org>, idr <idr@ietf.org>
References: <20231106095835.GA3251@pfrc.org>, <tencent_C8106667B11395DC85FDF97ED77280381C08@qq.com>, <20231106122319.GF3251@pfrc.org>, <CAOj+MMFWL2qi0Hb3V0nGiJoOqyEU8uwHvS3fNsxSQwAg9JLGAA@mail.gmail.com>
X-Priority: 3
X-GUID: 0D1CD2E3-E466-4504-A207-DD70EAF8847B
X-Has-Attach: no
X-Mailer: Foxmail 7.2.23.121[cn]
Mime-Version: 1.0
X-OQ-MSGID: <2023110712315751211115@foxmail.com>
Content-Type: multipart/alternative; boundary="----=_001_NextPart483821841274_=----"
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/iOUWqEX745s-hOD9nXa1koFBHKw>
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, 07 Nov 2023 04:32:50 -0000

Hi ,

For IPv6 packets converted from IPv4 packets in ingress PE, transit nodes just do IPv6 packet forwarding toward the egress based on its IPv6 FIB,  which may be more efficient than dual stack, since the size of IPv6 FIB is much smaller than that of IPv4 FIB plus IPv6 FIB in dual stack.

Thanks.

Chongfeng 

From: Robert Raszuk
Date: 2023-11-06 20:30
To: Jeffrey Haas
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
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. 

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