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

Chongfeng Xie <chongfeng.xie@foxmail.com> Wed, 08 November 2023 09:50 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 0D10AC1519B2; Wed, 8 Nov 2023 01:50:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.829
X-Spam-Level:
X-Spam-Status: No, score=0.829 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_ZEN_BLOCKED_OPENDNS=0.001, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=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=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 ZtsRuRjlIuHg; Wed, 8 Nov 2023 01:50:31 -0800 (PST)
Received: from out203-205-221-190.mail.qq.com (out203-205-221-190.mail.qq.com [203.205.221.190]) (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 DF048C14F721; Wed, 8 Nov 2023 01:50:29 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1699437020; bh=EPyWAgqdDwpIBRgz9pkEOAldVLTmSKnB/bMlC7u1BQo=; h=Date:From:To:Subject:References; b=JcCjYQ4vOurRjIdoWtJ5o8ThkjDWdNkf668d+qM0kuHiSO9BJEJ/r5Nc9xsOUHdoA kMxu95OeoFzKclgt9Hr53ZaTZtjpkn8bK7r9/ZodPpFDpZfa1woafXEPLmSVVk8zKs 8ROi6l9y4E8Zz7qS9yTvBh0ftMA10Fne/VpC+Wco=
Received: from LAPTOP-BOBOCIFS ([31.133.128.207]) by newxmesmtplogicsvrsza12-0.qq.com (NewEsmtp) with SMTP id C909B240; Wed, 08 Nov 2023 17:50:16 +0800
X-QQ-mid: xmsmtpt1699437016tofugihou
Message-ID: <tencent_B0CF6B1440208E5033CBD897CA9D42E17C07@qq.com>
X-QQ-XMAILINFO: Mgw83/CEt1mctCIlC86ykfQ+iHbRCQPT7YP1dKQcMXMwtVP8LvAnA4Z7NP9gA4 BJLZccC++IBo2eor9AyUvMWwtqh8GYAxTNlh+J5sO9DPkfmB+BMh4yYbd1NuKGE1kIrlgOBRSrlx uv4p4gdATB02ndgizhuj9JrnTLElaKROWrqd5v99oiixFY+T2C0vrUJKzg3B34tubmz3a7YhD5Ky sjSXu/T+XvnozIaCxPMlLCLNAoaxREENPLScwtYPn8EYakmYEFQPz8HxmKinY1Tz6ar6F5X+Y8Ag 2mdff+2x6Qi1I1zt7ARWzLZr8g/ASsv/AOOjYND1Q69bX4+JpG5+h7vqcpkCKZj4dLpzUXCBuPBh QQF7rmYE4sgybS87vvtpRAmdsQlNssgaiLEESJkfBkmINq0nLrBL3YPJUJMyW+CR6LXavuoyroFC tvTMacJuf3s2kRJtSn6bPimhsxyUroy7QdCst3w38L8DHGjuK3J9r2lkH18PTLhUXQo1RwETszF7 5GwkynixIdnB8wHj6yq4SXiGk7XwKohaTP8nqp67trZ3/px3HFDd4jf+nzu6AARcsd6bwEzq+tuF O8Gh5SSDbR254ROlFMb4XMPXN2eErbgWS6rSdKp2DO9X9JlL49OvLiG+xV88gC+CC6KwRd6n1puK nTU+B3kdK3upYo6aKVItJuOSL3DG7Yy8cP20AE0GDuHr8c5hUHWYDDxeUMYMcHZ8sEUaC09yEZPZ 3ljdKxdT7+cpG7a2YDZuSjkHHvFbVFycdmxdyHQGmrkJcfV0LR161HLDHWbZVSnRI/PfmAab4QtE 3hVJg8YnPa2XNykhcWDxP1WtgZgNCMzOudhb3BomzXhgt5kz+EoOcXWSRF2Mttj6Hf7BvoJZRxva VjGZpHmGH3Wd7QCAeHVrKHJQVcl8maPUHbppEmsdDwXSpd5qRPWxBBI71IKapLNvzLW0jH8YBLoV VvNZJj7OXw8eaXAIf32C63JhApeDxo1Ud+HoxamOk=
X-QQ-XMRINFO: Nq+8W0+stu50PRdwbJxPCL0=
Date: Wed, 08 Nov 2023 17:50:18 +0800
From: Chongfeng Xie <chongfeng.xie@foxmail.com>
To: Jeffrey Haas <jhaas@pfrc.org>, draft-xie-idr-mpbgp-extension-4map6 <draft-xie-idr-mpbgp-extension-4map6@ietf.org>, idr <idr@ietf.org>
References: <20231106095835.GA3251@pfrc.org>
X-Priority: 3
X-GUID: F232F4F7-5743-4B31-9C7A-F9F979433109
X-Has-Attach: no
X-Mailer: Foxmail 7.2.23.121[cn]
Mime-Version: 1.0
X-OQ-MSGID: <202311081750161503613@foxmail.com>
Content-Type: multipart/alternative; boundary="----=_001_NextPart327376357764_=----"
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/Mz_PJA1weljTClH2WJlyF5Gbmoc>
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: Wed, 08 Nov 2023 09:50:36 -0000

Hi Jeff,

For the case of attribute handling you mentioned, my feedback is as follows, 

My document mainly focuses on IPv6 deployments in multi-domain network under a single or multiple operators collaborations, which are controllable. If 4map6 attribute is filtered out, whether intentionaly or unintentionally,it will have some effect on the routing. On the receiving ingress PE, IPv4 routing cannot be instantly extracted and exists in the form of IPv6 native routing. Furthermore, the ingress PE can not find the mapping rule for  for the destination address corresponding to the IPv4 packets arriving at the ingress PE. To deal with this situation, an entity called default egress PE gateway has also been imlemented in the IPv6-only underlay framework. IPv4 packets that have not found mapping rules at the ingress PE can be forwarded to the default egress PE gateway by using the default mapping rules, which is illustrated in draft-ietf-v6ops-framework-md-ipv6only-underlay. From the pespective of network operation, In the multi-domain network scenario,  filtering out 4map6 attribute can be detected and handled, and the operator will generally correct this event. It also should be noted that, due to that network is controllable, this kind of event will not have any impact on the global Internet routing. 

In addition, this scenario you mentioned also indirectly demonstrates the necessity of 4map6 attribute in IPv6 deployment.

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