Re: [bess] Discussion about F (Flow label) bit of draft-ietf-bess-rfc7432bis section 7.11

"Jorge Rabadan (Nokia)" <jorge.rabadan@nokia.com> Thu, 04 May 2023 03:26 UTC

Return-Path: <jorge.rabadan@nokia.com>
X-Original-To: bess@ietfa.amsl.com
Delivered-To: bess@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9CA68C1522A0; Wed, 3 May 2023 20:26:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.095
X-Spam-Level:
X-Spam-Status: No, score=-7.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_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_NONE=0.001, 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 (2048-bit key) header.d=nokia.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 3X4-Z24DJkyh; Wed, 3 May 2023 20:26:46 -0700 (PDT)
Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on20731.outbound.protection.outlook.com [IPv6:2a01:111:f400:7eab::731]) (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 76018C151543; Wed, 3 May 2023 20:26:46 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GIMzbB2sXZc8HR8Ws1ebeL3O3Dcyh0w2Ges1PkLzBj9uES+gdnEprtdQ0edfOiHNDVkk/zT1P+DNbpdShwCLNuTXSewibQeAbqrC9vT1nOlJ02+58Qc8kYLeA/SObxxxwIl2LMZCkdHj8U488xKwo59EBwgXpV37Q/1TS6P4p0Th0/u8ei+jJ+snuwszM+u2vwP2XoCgyRmXOv5TJKuBwIwLTA9WXEk9FI10JueSxeP+0bo5LggUVPeZZpNJ70SFb4IKamhaQErh+RXfWwUjSvgHflqsQtJuE5WZIww7pdEEjXv6VpefMW3wzhnFQf4lExahOod1JYDVUBwAGzWp3w==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=53AkE7fdyiNCBREmtM4tueq85HqNQjxupKoje8bl25o=; b=SMQHyYVxIN/YdgA0DV/OK7l3+EuqWNo5JBEJhufZnW72fbDLj3vYIGxzQJrVFEWomY4RL7B9r1qIsro0pqYhdgsH2NouX5z3mlBVG+e+PDpPST9eVKbS62qS18NK7mLmbtFa1TIy2fM7qaSgc/41tcguuN1RynW57/9Dc3+TlTb9UuKO3O/YsvhPFc1NRDF3307OvUawY/i9yUPUoHlK5g9mXcCsLdLtJYEzQyMMjMhiR3F48X6EsDOIbgg4MTuVz28FDGoxEY+x0uoEHpzSqtDpddulH0rniVPWQcgfWpNYpH+28YpbcORcxxPjHKiGbOVs5GI32MFLAQPemPkM3Q==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nokia.com; dmarc=pass action=none header.from=nokia.com; dkim=pass header.d=nokia.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nokia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=53AkE7fdyiNCBREmtM4tueq85HqNQjxupKoje8bl25o=; b=vOn6owtsntAGi2OAB/Giu4JI06miv68Y8c0VXt2xCl0kRXRkO7tWlS6D1w0gTgOmn700r6Lg+YiAk9vy5F28vJKg1Ozex+ipWnH0SAMIVas4uqt6CF/YrzKRC/28so29XjjOYdW/2DKvVEai8fGlHVzm+k/JLga7L+nf49ZVwLv5Om5OlNOn8arkpKTml2xs7p6msLpynR9uPXnd65hui2Cn3KqAptlBHMig9yWrb9AgAhsuNBU1yzl9Y+CHo99H9DwYgc/3Yg7cFLTvn1p3Oj0t2Po6XpeiAGdTo+7oxBipCu+M7CjBndQWJpdrEsB7QiSzHRT7rgvIQiMoJhp/ig==
Received: from BY3PR08MB7060.namprd08.prod.outlook.com (2603:10b6:a03:36d::19) by SA1PR08MB7214.namprd08.prod.outlook.com (2603:10b6:806:18b::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.22; Thu, 4 May 2023 03:26:32 +0000
Received: from BY3PR08MB7060.namprd08.prod.outlook.com ([fe80::e519:798e:7fa8:68ed]) by BY3PR08MB7060.namprd08.prod.outlook.com ([fe80::e519:798e:7fa8:68ed%7]) with mapi id 15.20.6363.025; Thu, 4 May 2023 03:26:32 +0000
From: "Jorge Rabadan (Nokia)" <jorge.rabadan@nokia.com>
To: "wang.yubao2@zte.com.cn" <wang.yubao2@zte.com.cn>
CC: "draft-ietf-bess-rfc7432bis@ietf.org" <draft-ietf-bess-rfc7432bis@ietf.org>, "bess@ietf.org" <bess@ietf.org>
Thread-Topic: Re:Discussion about F (Flow label) bit of draft-ietf-bess-rfc7432bis  section 7.11
Thread-Index: AQHZdz/OehY5JIBUV0Wwm+22ZlBkIq8/cHN2gACN2gCAAHcufYAI64mAgAAgPFQ=
Date: Thu, 04 May 2023 03:26:32 +0000
Message-ID: <BY3PR08MB70602AB57A15183E19AB7FB5F76D9@BY3PR08MB7060.namprd08.prod.outlook.com>
References: 202304251432505941976@zte.com.cn, 202304281009024394021@zte.com.cn, BY3PR08MB7060E0652A26434648948749F76B9@BY3PR08MB7060.namprd08.prod.outlook.com <202305040928411075691@zte.com.cn>
In-Reply-To: <202305040928411075691@zte.com.cn>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nokia.com;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: BY3PR08MB7060:EE_|SA1PR08MB7214:EE_
x-ms-office365-filtering-correlation-id: 36b1cc49-71b8-4f5f-5748-08db4c4f5b6e
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: /7E+4em74G5p5AygTc2/Uz2iyXdxtdvabA5hXRyHDqu0Ug+CCav9OjZL66PyksCPaYhe3y5XStY4YYXvNc7I+nWq9V0v1ol/ndsi0dCbemS7u6BEJXh3KfqUDp74XcVHkoPKOfZ77sJ0VC1l1nOIhEUy2LT8w4jECB5BCOUTfUxsgrrcwp04HC7m6Bhym96iwboQRZkRJWKhIhs9jzu2jSy/Gd5RoRtZwBBPhnzHgRP8rGlrQqdUSbXzXcLIVA4836afUo9HxB3v8G1mPYplCEo/AM9IDhUZnkcEArUpPJleH0HSggCMAclEUo8mhHN/JG6XlmkeCk9R7sHswEXngXPDjDzDaDGV2D0qNsn0PwS3uzGUSr5xDtmIyjc1JM/hRHsZ7F0mBbDWkx857+Sk7P3gO6BGI7V2gVOAthFKEJlGsQOKTxDTP9j9EOGp8x7AsrnYLkHlhHGx2Uvcn0oRyfw1Joa3CxLwrqJHNXyz7p4KhS27SyEicc53wBjWuQtWLs8QTzGRcYoTFuvNTGtlGdB/eNpX0mKDTOHPF+9x/R0pclIfLwGnRlLYYigrO14vR0QjFWF0jibiDY/jTGHLQ6FMudbKAXUR+E6gUcqymdXV+RZpBsd9SABUvaglj0cknwX/6eFi7MK1ybXUDFtQ+Q==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BY3PR08MB7060.namprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(136003)(376002)(396003)(366004)(39860400002)(346002)(451199021)(84970400001)(76116006)(7696005)(966005)(66946007)(66446008)(66476007)(478600001)(66556008)(64756008)(6916009)(4326008)(91956017)(54906003)(316002)(33656002)(86362001)(71200400001)(83380400001)(66574015)(53546011)(9686003)(6506007)(26005)(41300700001)(8936002)(9326002)(52536014)(2906002)(5660300002)(55016003)(38100700002)(166002)(38070700005)(186003)(82960400001)(122000001); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: incMiQ45+89UqPdTMp4lSGcrTPANKclEIhKUJpQC7tXqiJgUgXPgb/ep1IHR3JzeahbppOVnBj5BkUy6GCyrl5uDECqUKY/LyRZWpIcInSkfkJEdON8rIcFybNJvmjwuHE3H9vRwt1gO0Ax811jEMB3907btZIaNiSqimlO+Sdcyf01eqmn7z+ZQ/THOIScBS/xizE3tcvwt7LIffcWTViTKTKI/wdLG/mk/jfJZ+8Es9n9ldvkNccWV3iR3JmRtLnjlbBkkM7qwks7Zj+zOyfX65DAmLgDsJXXzaqP9ciijVOgYRpd/fqJcfNRyildPcfCcV1E3GpBAvH7EsSPiHml2F4uz48qu0txVH8iTnAVeQWPCC9AQa6QlngOfq4EbDIET2Vk/yAd8r1b3cdWMqdfCch/6vo8lBJXDr4U2S+Q33MPytHBfeLxZ0ljcWRupvsKsXGfVkg17FRHcaDLtQYXibC0qJXK35w8XtBW3gSeCzfMkaeyhPlhabzcV5puW5IQZPPoI1fJt4ouSx78X77wCl2oaNsF7NvtNuyPmgCpTkMfts5ozcISsQfqyg+wvhPvDUOz1nrIlo1gTbeR3yGV0xL6vr8gCYgP6GyLhDv8V8Xf9C+ewu1Gcy1MrtGPUnBVl0hnlG7nVeleskmoReWtplHeJxahVy2jVi2S4G9NXJ8DdmYEvhRRvf+H1jbc75uK54/brsir3iEyCGLSBn3akSTmeM7ZR1EtpgLoHhkPvN1qDzRBECutALrGkPT7BY12k5KgpZfymNHkY3DtaEdmbNXkJWOQ11ZGmVxjuHvi58Hra1nIwsVtVl8RWQWXf5K6dxIo9u36J4w8Ve27Wuuz0RPdIKKQFezMK/4UdoUYsnRz73JbC2sDj2WrJ+TgXWzdavOd8m1C9CQLP9FwtHaHgPjeUE50VlEZrXNMX9qJNipN6eqeYsC6hYDQF6PFY3qsLOms1p+8AjYA/jnNtEm29iq3rpHbGfnLrtTeqM2KVNtboVQhrM+03elXSw8HYMK52QALK8UjBZgH0AJQP7fYM9o34RLs5ypDOY0zZgD+vtQQTTU7LBrtrr7f7vQzKmbXi0kXQvXVn7n8LvAfXqyL09zhaXu07667DaS+ioBTOAqzb3s1Ab+FGyzTRvsJFkmp2UqCWJ5/BeRuiPxFneiZzSc6gHfG+cdyMdyujoRl4OErAWm5dQgG3bB9rzOKR4MMaT284BgICkVCts6EbyjUzOQH6FqgLJ84sU97ZduSvMSY851isc+/LSD8iVXdpmlCoY2G+NL48LPsXdaLklaqybgmqfuKE+fd42eZYPqni2zx13UXAkQmo0JM6EnupxhtKVdey1y2aOv9MliLMZ9cx1RMgr7DwxgFpsNmKhTTVvqXqyBp3Ls/nKNBt9JUT2TWwXudOoJMYVgcAsxwIc6UqnPJ3Z0s1A8Y23hLfGL5daeQZDjuAsCUIfX67o9kV0uVkq0P0Ajq4bUagTHEcY/yV6CIUBuvjK1YNV3Abivsj4gyKfBTSEiuDVUXppJP691A/l18EX9NWO/8O2RgIix63pIzSfamy9Nz/DGoRs5X/OPLxoiNmNtTctmax8r+ui4LiBzT/QESbSTKfuPwCFA==
Content-Type: multipart/alternative; boundary="_000_BY3PR08MB70602AB57A15183E19AB7FB5F76D9BY3PR08MB7060namp_"
MIME-Version: 1.0
X-OriginatorOrg: nokia.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: BY3PR08MB7060.namprd08.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 36b1cc49-71b8-4f5f-5748-08db4c4f5b6e
X-MS-Exchange-CrossTenant-originalarrivaltime: 04 May 2023 03:26:32.2610 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5d471751-9675-428d-917b-70f44f9630b0
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: TxCuHWIjnaP0VyGAo80mbQ32Eg2DxC61EvnZN4T7Xkl6hc2Q5PPU2CgL7DNi5ZGtVe8IYwoUDZl21KDOyH9h8w==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR08MB7214
Archived-At: <https://mailarchive.ietf.org/arch/msg/bess/sEgBM13mLR2cROSKe7fY1KmEweI>
Subject: Re: [bess] Discussion about F (Flow label) bit of draft-ietf-bess-rfc7432bis  section 7.11
X-BeenThere: bess@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: BGP-Enabled ServiceS working group discussion list <bess.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/bess>, <mailto:bess-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/bess/>
List-Post: <mailto:bess@ietf.org>
List-Help: <mailto:bess-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/bess>, <mailto:bess-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2023 03:26:50 -0000

Hi Yubao,

My previous email was not about L3 gateways either. RFC9014 defines L2 EVPN gateways for ELAN services.

rfc7432bis defines that the signaling of flow label, CW or MTU for EVPN ELAN services is done in the IMET route, not the A-D per EVI route. This is irrespective of the flow label only being used for known unicast traffic.

Thanks.
Jorge


From: wang.yubao2@zte.com.cn <wang.yubao2@zte.com.cn>
Date: Wednesday, May 3, 2023 at 6:28 PM
To: Jorge Rabadan (Nokia) <jorge.rabadan@nokia.com>
Cc: draft-ietf-bess-rfc7432bis@ietf.org <draft-ietf-bess-rfc7432bis@ietf.org>, bess@ietf.org <bess@ietf.org>
Subject: Re:Discussion about F (Flow label) bit of draft-ietf-bess-rfc7432bis  section 7.11

CAUTION: This is an external email. Please be very careful when clicking links or opening attachments. See the URL nok.it/ext for additional information.



Hi Jorge,



The gateway in my previous mail is not a L3 gateway. We can take a virtual hub node of https://datatracker.ietf.org/doc/html/draft-ietf-bess-evpn-virtual-hub-00 for an  example, as I had mentioned in the previous mail.  Such L2 gateway is a bit like the gateway of draft-sr-bess-evpn-vpws-gateway<https://datatracker.ietf.org/doc/draft-sr-bess-evpn-vpws-gateway/>.  But here is EVPN VPLS scenario.



The route propagation is not about IMET routes, which may not carry the F bit because BUM cannot use a flow label. An example for the propagation is the route relay which is done by a virtual hub node for a virtual spoke  node's Ethernet A-D per EVI routes.



When such route-relay is done by a PE which has no knowledge of L2 Attr EC for a virtual spoke which has an implementation of rfc7432bis , there may be some issues that should be concerned.



Such gateway is not defined in rfc7432bis, but I think a rfc7432bis node may need to cowork with such gateway.



Thanks,

Yubao




原始邮件
发件人:JorgeRabadan(Nokia)
收件人:王玉保10045807;
抄送人:draft-ietf-bess-rfc7432bis@ietf.org;bess@ietf.org;
日 期 :2023年04月28日 22:02
主 题 :Re: Re:Discussion about F (Flow label) bit of draft-ietf-bess-rfc7432bis  section 7.11
Hi Yubao,

Thanks for explaining!

RFC7432 never described a gateway functionality. RFC9014 does, that’s what I tried to say, but I see what you mean.

However, if you have a gateway with a MAC-VRF instantiated and that gateway does not support the decapsulation of the flow label, the gateway will never add F=1 in its IMET route to either of the two domains. There is no propagation of IMET routes on a RFC9014 gateway, but origination on each domain. So I don’t see any issue here.

Let me know if I understood your concern.

Thanks.
Jorge


From: wang.yubao2@zte.com.cn <wang.yubao2@zte.com.cn>
Date: Friday, April 28, 2023 at 4:09 AM
To: Jorge Rabadan (Nokia) <jorge.rabadan@nokia.com>
Cc: draft-ietf-bess-rfc7432bis@ietf.org <draft-ietf-bess-rfc7432bis@ietf.org>, bess@ietf.org <bess@ietf.org>
Subject: Re:Discussion about F (Flow label) bit of draft-ietf-bess-rfc7432bis  section 7.11

CAUTION: This is an external email. Please be very careful when clicking links or opening attachments. See the URL nok.it/ext for additional information.





Hi Jorge,



Thank you for your response.

I talk about EVPN VPLS per https://datatracker.ietf.org/doc/html/draft-ietf-bess-rfc7432bis-07#name-evpn-layer-2-attributes-ext.

That section of rfc7432bis extends L2-Attr EC (which is defined in EVPN VPWS) to EVPN VPLS.



And my case 2 taks about a gateway which only implements RFC7432, it doesn't recognize L2-Attr EC (this is different from  draft-sr-bess-evpn-vpws-gateway<https://datatracker.ietf.org/doc/draft-sr-bess-evpn-vpws-gateway/>  ) . What I want to know is whether there is a solution under the existing RFC/drafts. I think there may be packet decapsulation error in case 2 following current rfc7432bis.



If there is a solution using existing mechanisms and those mechanisms is an option of a RFC, I think it will be better to mention that mechanism in the corresponding section of rfc7432bis,because in such case it is required in order to avoid traffic loss when rfc7432bis cowork with existing old devices.



And I think https://datatracker.ietf.org/doc/html/draft-ietf-bess-evpn-virtual-hub-00  may need to refer to rfc7432bis,and requires the implementation of L2-Attr EC is a SHOULD or MUST, because otherwise a virtual hub (which doesn't recognized a L2-Attr and can't decapsulate Flow label) cannot cowork with a rfc7432-enabled virtual spoke (which signalled F bit in L2-Attr EC).





Thanks,

Yubao




原始邮件
发件人:JorgeRabadan(Nokia)
收件人:王玉保10045807;draft-ietf-bess-rfc7432bis@ietf.org;
抄送人:bess@ietf.org;
日 期 :2023年04月28日 01:51
主 题 :Re: Discussion about F (Flow label) bit of draft-ietf-bess-rfc7432bis  section 7.11
Hi Yubao,

Since you are referring to the A-D per EVI route signaling the F bit, I assume you talk about EVPN VPWS, however you mention MAC-VRF, so that’s confusing.
The case you are describing – propagation of the L2-attributes extended community when readvertising the A-D per EVI or IMET route – is for sure out of the scope of rfc7432bis.
Your case 1 sounds like an inter-domain model B case, which is covered by draft-rabadan-bess-evpn-inter-domain-opt-b<https://datatracker.ietf.org/doc/draft-rabadan-bess-evpn-inter-domain-opt-b/>. In this case, the Border Router just preserves the FAT label.
Your case 2 sounds like a service gateway model (RFC9014 for multi-point L2 and draft-sr-bess-evpn-vpws-gateway<https://datatracker.ietf.org/doc/draft-sr-bess-evpn-vpws-gateway/> for EVPN VPWS). In this case, the gateway may change the F flag depending on its capabilities.
Please have a look and let us know if you have comments.
Thanks.
Jorge
From: wang.yubao2@zte.com.cn <wang.yubao2@zte.com.cn>
Date: Tuesday, April 25, 2023 at 8:33 AM
To: draft-ietf-bess-rfc7432bis@ietf.org <draft-ietf-bess-rfc7432bis@ietf.org>
Cc: bess@ietf.org <bess@ietf.org>
Subject: Discussion about F (Flow label) bit of draft-ietf-bess-rfc7432bis  section 7.11

CAUTION: This is an external email. Please be very careful when clicking links or opening attachments. See the URL nok.it/ext for additional information.





Hi all,



The F bit is defined in EVPN L2-Attr extended community of draft-ietf-bess-rfc7432bis-07.

When the RT-1 per EVI route including that L2-attr pass through a node  which does not recognize a L2-attr EC,  there will be two cases:

Case1: that node change the MPLS label of that RT-1 per EVI to a label whose label operation is a swap.

Case2: that node change the MPLS label of that RT-1 per EVI to a label whose label operation is a pop, and that second label identifies a local MAC-VRF.



In either of these two cases, that node may propagate that L2-attr to other PEs (i.e. PE3),

but in case 2 it will cause those PEs to send a flow label to it,  while it cannot decapsulate that flow label thus packet drop may happen.



Is there any solution to make those two cases distinguish from each other (from the viewpoint of the target receiving PE PE3) ?



Thanks,

Yubao