Re: [bess] Query about Ethernet Tag Id for TYpe-5 routes (RFC 9136)

"Joshi, Vinayak" <vinayak.joshi@hpe.com> Sun, 05 December 2021 08:44 UTC

Return-Path: <prvs=097338b372=vinayak.joshi@hpe.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 AF4623A1271 for <bess@ietfa.amsl.com>; Sun, 5 Dec 2021 00:44:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.786
X-Spam-Level:
X-Spam-Status: No, score=-2.786 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.701, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, T_SPF_TEMPERROR=0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=hpe.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JRmLy4s0wmF6 for <bess@ietfa.amsl.com>; Sun, 5 Dec 2021 00:44:25 -0800 (PST)
Received: from mx0b-002e3701.pphosted.com (mx0b-002e3701.pphosted.com [148.163.143.35]) (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 4FF293A1274 for <bess@ietf.org>; Sun, 5 Dec 2021 00:44:24 -0800 (PST)
Received: from pps.filterd (m0150244.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 1B5822AG019914; Sun, 5 Dec 2021 08:44:23 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : mime-version; s=pps0720; bh=zGWr8+gEkUC54J7sd5EruJKkV1wxlHRQe/AkbAM7XBY=; b=YL6DSn2cIxVhoQoJCMha1XWN9dW++4TDC2/MQScys73SpfaxQHjFMSbjVI4qvkw6y6Aj mRz0jeZ3TzETvrt6r64CLHuDFc7UVBsyXECKjJ8H+ySd9gtWwCIVasutetZqkDGvATit hEW0S6Bf1ALTh31y2FsRUjm/99Is3HqjEnYkb3iMKpTtbVHL07mrKkGLoEyEejkRnl1D BBqDj8SvmoqWLR0pW6ECeIz56UTs26pyggiC/5Y7fQrHZ6ptGpVF5bRU1WK8rhXqaB+n eguyZRDhQmQ2QIkmMykErTGY0n2ZKKtzSAefibzUXPiC/j4FToT9kPeGBopS6ESDpNZc Yw==
Received: from g4t3426.houston.hpe.com (g4t3426.houston.hpe.com [15.241.140.75]) by mx0b-002e3701.pphosted.com with ESMTP id 3cr104dxf0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 05 Dec 2021 08:44:23 +0000
Received: from G1W8106.americas.hpqcorp.net (g1w8106.austin.hp.com [16.193.72.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by g4t3426.houston.hpe.com (Postfix) with ESMTPS id 96A4761; Sun, 5 Dec 2021 08:44:22 +0000 (UTC)
Received: from G4W9331.americas.hpqcorp.net (16.208.32.117) by G1W8106.americas.hpqcorp.net (16.193.72.61) with Microsoft SMTP Server (TLS) id 15.0.1497.23; Sun, 5 Dec 2021 08:44:22 +0000
Received: from G9W9209.americas.hpqcorp.net (2002:10dc:429c::10dc:429c) by G4W9331.americas.hpqcorp.net (2002:10d0:2075::10d0:2075) with Microsoft SMTP Server (TLS) id 15.0.1497.23; Sun, 5 Dec 2021 08:44:21 +0000
Received: from NAM02-BN1-obe.outbound.protection.outlook.com (15.241.52.10) by G9W9209.americas.hpqcorp.net (16.220.66.156) with Microsoft SMTP Server (TLS) id 15.0.1497.23 via Frontend Transport; Sun, 5 Dec 2021 08:44:21 +0000
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RCIPAM+JH26lJMNr4/ilHHp2UXghrCPyl/8TXA8lM8T+iHEpiTEzIWykRWTZ0ZA2M+uvwMp2f02j1zQ/CRJIStc3XK2gMGyGIscCgA17BhdnZsV0V8Gcsj/8PsgoC9k9N3GZLMUW+PCtnTYNvf+5G307SBJL+QzT+S0/2rYu6qQztA1O4uaWuVw8mLFa12bPaUrTEvBGpKrUCNLpUMq/t7pfzN2TE7iYUJyYTOiQ3SUZDnHrOKguXUuD9j8s4pRzIQk4UbJKlFu53P7/J/F5ZhiWD92ZA7X3x8PO6iSqUNBT1Bp2KvRutL15aGBAjrUSnlZkafapzcKkDdh9YiXwnA==
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=zGWr8+gEkUC54J7sd5EruJKkV1wxlHRQe/AkbAM7XBY=; b=AQngp9l3LDBH+aC8eYYnmfpry+mj6o2+PXkzSwU8OxFK+rWXXncs3toGwFOKsevTeE8UWyGVLzHp84C7H7dCx2dt/K2BwZC9S4c54+oJm7ftxVbFMOGclAphdURpX4Tna3c5xfWGU4OFJs1Xd5FeZZXRLnfNopM2wBKs77BwM3+p07pwb86nSAf34QGV2mmc0eQ6FEFq5ILjK5oKRUpb/ctz4bwWq75xR86EUuxyUHDLXv76WSrp5GT6T7GDeIfWI65do9/5JrevE9YwEXdZZ+WGWl3ONXURhvYoxqvU0KsNb3h6Kbbjp6mwBRRXrpa5tMci61yah91ov2FadaVIrA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=hpe.com; dmarc=pass action=none header.from=hpe.com; dkim=pass header.d=hpe.com; arc=none
Received: from CS1PR8401MB1062.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:750c::8) by CS1PR8401MB0358.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:750e::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4755.19; Sun, 5 Dec 2021 08:44:19 +0000
Received: from CS1PR8401MB1062.NAMPRD84.PROD.OUTLOOK.COM ([fe80::a1b2:3d06:611d:4dfc]) by CS1PR8401MB1062.NAMPRD84.PROD.OUTLOOK.COM ([fe80::a1b2:3d06:611d:4dfc%3]) with mapi id 15.20.4755.021; Sun, 5 Dec 2021 08:44:19 +0000
From: "Joshi, Vinayak" <vinayak.joshi@hpe.com>
To: "wang.yubao2@zte.com.cn" <wang.yubao2@zte.com.cn>, "jorge.rabadan@nokia.com" <jorge.rabadan@nokia.com>
CC: "bess@ietf.org" <bess@ietf.org>, "jdrake@juniper.net" <jdrake@juniper.net>
Thread-Topic: [bess] Query about Ethernet Tag Id for TYpe-5 routes (RFC 9136)
Thread-Index: AQHX6McY63yp1sUKvUWxYlqWfBl4e6wjlPqg
Date: Sun, 05 Dec 2021 08:44:19 +0000
Message-ID: <CS1PR8401MB106263DC1068BB41E575C15EF26C9@CS1PR8401MB1062.NAMPRD84.PROD.OUTLOOK.COM>
References: <202112041226077422518@zte.com.cn>
In-Reply-To: <202112041226077422518@zte.com.cn>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 98ba67a3-2139-4cda-b4fd-08d9b7cb6dbb
x-ms-traffictypediagnostic: CS1PR8401MB0358:
x-microsoft-antispam-prvs: <CS1PR8401MB03588EA8FF1D5555319D55FFF26C9@CS1PR8401MB0358.NAMPRD84.PROD.OUTLOOK.COM>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: AcqSZbWW9lB5MVk6NqOLp8MEl5MuXl+ACEltZoqVpCjxgZRR7evASiCeSuPavdIHKUcowY4RpkFghpgyVGQ6aP+EOX/VyFyNUInG1yt30GcSq1h+aUHq+bZCC6Pst7IuPhTIfcw9JgWpsOTEEKF6jE5Nv/SGy9ywRcGa+jsZCMuWYIfyQ85NkCRHP9wPJpRPEw+CFe6N4TwYS17+yA5KlYUw5wM6xk2ZjTA2ehtu5i4wEZIw69XkPTJobOi6lwbEPz25m3xs5OmimTn6IvOvtFl8pvzi1mFO4Cd3+1mCaDD2o0fjncUdbkeb/m59VuAiqhjPEqWCO2BFQj4/ZJYd6ylSgnsM2zwNr1OXFaWpyQBG6WCS6qlv3Sf9mT1dx+L82BansH9Vuvb8KPTE1MqJa9XXwEz2DKdqcXpuhS/VAnHp+VzkIZkPEoSVkPXuapw7t+bbdKQUGYW4uCaiYUnV+czWQ1HjR+c5eKePvu7wkhz80cYEGVBw6mpv+nU+kcJjF9Q1IRnZWOKbbXdIsSfC1ihCIGufgJLvNadvMyXvmEJuFdcmCuDlaQVSmh2rl8qcxFKbS6bCny615Ah7Qzuyq+sBQgoIXhULnfpwIAWAip0RRF/3hNAx5K5mUjs0rTWIJzwP7gi4xzOuaJcEhdfEfYNCZ4JpDlkvFL+d2AjM03Qbshq5w9Nhzk9TosIpvzPTKqZCwEQxZYrdOpnD1hdxNiita/9dueQWm/i6Iqgwf4BGkYst3XaZjU3Anu5FfRIe
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CS1PR8401MB1062.NAMPRD84.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(366004)(26005)(186003)(8936002)(2906002)(38070700005)(4326008)(508600001)(33656002)(8676002)(86362001)(122000001)(66946007)(66476007)(6506007)(66556008)(53546011)(316002)(64756008)(7696005)(76116006)(38100700002)(66446008)(71200400001)(5660300002)(9686003)(82960400001)(55016003)(52536014)(110136005)(54906003); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: 8IbdHCgTLXpoPRds8GS8m+FjCPoXAKEb91kuomZvbMbmA+mkfYqwp9fvFQ9tBiyX7s4jNb7vdlFMW4gUdvesvDIVm9iaJkAXhSqVGZ+YJ9lc+f9BLU/Y1uq2qY2+UNEJEoFS6wQGnuH7mlTT1gKBbM0l0+K1UPQlZ85RsqTFr4gBWETceBKsbKQdD3yrN5OB924AV4MqaJELVh82z+sYEmSarOgTJ3bBgLM0e0c+dp+JQcHkWj7s6KqTqncYO6zD7b3Vh9kgmQGaaROksgDCPPv+oKnyrngOtn2BDLPXQOHI0LMJw2vr2YGAlmm6eZOFD99vfNQQpAt2pCNzKIWYgmU7ZFnU1wtbuYzzCaFiRDwb0vvfQ3w97WZ3vVZ4hSw2V38ITLP4yJXReXUuzkd7SUOTAwtH6/eIeYzAr4hNQFOScINGa/Mt8tsN4X2CrzufeCoDMXWrPmjuBkbVvAym3Pwcaezcgk3tR8ksO4lnx3wH+zo3ay3VgXG1rVX3Bd2mUOVuEsNAn+kv3p1pMXVPMS8LFbGkfaYF+20Kq3ekclcqakYB3p54QQKqSLLkGonx0kMUVIsfvRCBCX1oA2Pfc7IK+ZkAQpjghHSk8e2bRzBqFst2sKMTIVtiO50IWgnxWA/bCQw151xXTO9a3vyxb8fbEMeLK6/K9AT3K/WMurMvDZskjdtROhCGL7LCn/3/jJzge25by8ME+Ccvul93ppOQAEr01ez1fv0TBpHjBY/pXUHQ6g/SvEsIVEH0wDOp1xqpgnddg1yENHDsiStURAWNnDm5tiPWLmQUQpJYKL1ka6AUattSRrCNKKanYSTUnO4X4wfkq8w5+K6nqy4qTciD6Wmyf9FcBWfB1ksTR/XX8UL0XhKraCXk55v3q4PT1nsf0bulnKgfRV7kEvTx46IW0zHV2YpCG/69rpQ9SWPhPpnklh8IbdNliJjZfmk3Dy0l+nFb6aW3+b2mP9R7tfgR+S6jM1KaClAjld/dptofjIWz7VLX6KI4bUoPQHrdbencDeYICrAvo5eWEOXd7USM2LuRnNVbuU/ZfSXvuIy04adI2vCYGzxxqDKqk1EU3J7rw2U64W7zGdu8VyG+q78kqTS3Q1+CZsyzJ/eTA6fcxMworbpypLjnxpLomMLHHXAPLR+ehOhiGK1n3CEGN8Yy7iqPRujbqaEfFxdsh59DWdOJ+csfQOQnfL4fzTbKcFpjGThjkYBXYhzxABYFC1lHNQrEKLuI4tUM6K4tzSChMi4O5K5ucQoX6LEBEqDGFqfB6nlqOSSX7ICuB3YmmstiN4V4fBvbBnTMLSdS1BVAhQPKAUCnuJdOnXdBAiyxbEafGQRac3ImT44rXXjbt/4JgQfrbFLsjyO4tfG13oIuyVEHmSvkSV9uTYu2kh0gDcGrlGTwZbZbqXd4JNsl/cdaVzivW64YvcffNVIwMpJ3jQBP9li+5YZ//kbGRA5/TAwSpngVFjnNXhZHGWK1CHyl5LSJqWGTHpfaGawGre8LD4DsMSO+7sDPxca3Vj0MkeqYtM91l05lIhDQ32wSlbbMmJTtXnYPFvTYipG0JkrsiQZdNKT4gDwRr9YMVVg7VbVpyMQdItfWaSMq2l7ZCw==
Content-Type: multipart/alternative; boundary="_000_CS1PR8401MB106263DC1068BB41E575C15EF26C9CS1PR8401MB1062_"
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: CS1PR8401MB1062.NAMPRD84.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-Network-Message-Id: 98ba67a3-2139-4cda-b4fd-08d9b7cb6dbb
X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Dec 2021 08:44:19.5708 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 105b2061-b669-4b31-92ac-24d304d195dc
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: 8rABmYRuVuTQTNxdGPjA2x0n8lZ55tiUdFw4Q7creGY3FOAWKACGfM4IxEkNuWhp1v+kmfM0eW+q10a674dryQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CS1PR8401MB0358
X-OriginatorOrg: hpe.com
X-Proofpoint-ORIG-GUID: ARAXmdSrmJSlJKXag6kCwyww8DXFqlO8
X-Proofpoint-GUID: ARAXmdSrmJSlJKXag6kCwyww8DXFqlO8
X-Proofpoint-UnRewURL: 0 URL was un-rewritten
MIME-Version: 1.0
X-HPE-SCL: -1
X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2021-12-05_02,2021-12-02_01,2021-12-02_01
X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 impostorscore=0 suspectscore=0 bulkscore=0 phishscore=0 malwarescore=0 priorityscore=1501 clxscore=1011 mlxscore=0 mlxlogscore=999 adultscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2110150000 definitions=main-2112050047
Archived-At: <https://mailarchive.ietf.org/arch/msg/bess/iPvaZPKI29h1D9TybDsKXz_59MU>
Subject: Re: [bess] Query about Ethernet Tag Id for TYpe-5 routes (RFC 9136)
X-BeenThere: bess@ietf.org
X-Mailman-Version: 2.1.29
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: Sun, 05 Dec 2021 08:44:31 -0000

Hi Jorge & Yubao,

In the most common use cases an IP prefix route has to be unique with an VRF.
The VPN Label/L3VNI brings in this separation of IP prefixes even for VLAN-aware bundling.
(With all L2 routes the Ethernet Tag has to be non-zero for VLAN-aware BD for sure to distinguish BDs).

In case of VLAN aware BD implementations that do NOT need BD level distinction of IP prefixes, would it be considered RFC violation if -

1)      EVPN speaker sends out a zero Ethernet tag in its RT-5.

2)      Ignores the non-zero Ethernet tag in the incoming RT-5 routes.

Regards,
Vinayak

From: wang.yubao2@zte.com.cn [mailto:wang.yubao2@zte.com.cn]
Sent: Saturday, December 4, 2021 9:56 AM
To: jorge.rabadan@nokia.com
Cc: bess@ietf.org; Joshi, Vinayak <vinayak.joshi@hpe.com>; jdrake@juniper.net
Subject: Re: [bess] Query about Ethernet Tag Id for TYpe-5 routes (RFC 9136)




Hi Jorge and Vinayak,



I don't understand this use case of RFC9136 very well either,

because when a BD of VLAN-aware bundle EVI is used in Bump-in-the-wire use case,

I don't sure how the IP prefixes routes are recursively rosolved.

I hope to share my understandings to help to make this use case more clear.



When  an IP Prefix route is advertised in the context of a VLAN-aware BD, and the IP Prefix route would be using a non-zero Ethernet Tag ID,

The overlay index of the IP prefix route should be considered to be the <ESI, Ethernet Tag ID> or just the ESI?

In section 3 of RFC9136, I see that only the ESI is considered to be the overlay index.



Thanks,

Yubao





On Fri, 3 Dec 2021 17:03:48 +0000

"Rabadan, Jorge (Nokia - US/Mountain View)" <jorge.rabadan@nokia.com<mailto:jorge.rabadan@nokia.com>> wrote:



> Hi again,

>

> John pointed to me that there are some cases where a non-zero Ethernet Tag ID on the IP Prefix route may be used in RFC9136.

>

> In the RFC9136 IP-VRF-to-IP-VRF use cases, the Ethernet Tag ID is always zero, since the IP Prefix route is advertised in the context of the IP-VRF. However it is true that RFC9136 also discusses some use-cases where the IP Prefix route is advertised in the context of a BD, in which case, if the BD belongs to a VLAN-aware bundle EVI, the IP Prefix routes would be using a non-zero Ethernet Tag ID.

>

> I overlooked that when I replied first.

> Thanks John.

>

> Jorge

>

> From: Rabadan, Jorge (Nokia - US/Mountain View) <jorge.rabadan@nokia.com<mailto:jorge.rabadan@nokia.com>>

> Date: Thursday, December 2, 2021 at 6:00 PM

> To: Joshi, Vinayak <vinayak.joshi@hpe.com<mailto:vinayak.joshi@hpe.com>>, bess@ietf.org<mailto:bess@ietf.org> <bess@ietf.org<mailto:bess@ietf.org>>

> Subject: Re: Query about Ethernet Tag Id for TYpe-5 routes (RFC 9136)

> Hi Vinayak,

>

> RFC9136 does not have any use case for the use of a non-zero ethernet tag id. The IP Prefix route includes the ethernet tag id as part of the key for consistency with the rest of the EVPN service routes, for future use.

>

> Thanks.

> Jorge

>

> From: BESS <bess-bounces@ietf.org<mailto:bess-bounces@ietf.org>> on behalf of Joshi, Vinayak <vinayak.joshi@hpe.com<mailto:vinayak.joshi@hpe.com>>

> Date: Thursday, December 2, 2021 at 7:33 AM

> To: bess@ietf.org<mailto:bess@ietf.org> <bess@ietf.org<mailto:bess@ietf.org>>

> Subject: [bess] Query about Ethernet Tag Id for TYpe-5 routes (RFC 9136)

> Hi all,

>

> RFC 9136 says the following (Section 3.1)

>

>

> “   The RD, Ethernet Tag ID, IP prefix length, and IP prefix are part of

>    the route key used by BGP to compare routes.  The rest of the fields

>    are not part of the route key.

>

> With VLAN Aware Bundling the Eth Tag ID acts as a distinguisher for the routes while importing into L2-VRF.

> But for L3 prefix routes what is the use case for setting the Ether Tag ID to any non-zero value?

>

> Thanks in advance,

> Vinayak