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

"Rabadan, Jorge (Nokia - US/Mountain View)" <jorge.rabadan@nokia.com> Mon, 06 December 2021 16:00 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 AA7D03A0B3A for <bess@ietfa.amsl.com>; Mon, 6 Dec 2021 08:00:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.058
X-Spam-Level:
X-Spam-Status: No, score=-1.058 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DATE_IN_PAST_06_12=1.543, DKIMWL_WL_HIGH=-0.701, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=nokia.onmicrosoft.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 2n3RJd1rYLyt for <bess@ietfa.amsl.com>; Mon, 6 Dec 2021 08:00:31 -0800 (PST)
Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1anam02on2122.outbound.protection.outlook.com [40.107.96.122]) (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 F0E133A0B37 for <bess@ietf.org>; Mon, 6 Dec 2021 08:00:30 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ChlVm848SW5tob3EZ9/WrINTQdz60KIuHVi7zM+psQ0WsrwFwa08Gnla2PiaXpfCEamPFaUbtifbRtxAEGEI0B4Iu+tX4zBfsQKu1dXKMfrb291xkxwZ4pflLVovyYfUXqo/ehapHXLgEoCvK+Vs5FdxQ1w3i1fu9LGvknlggt8GSTw+23lb9FYkAlVndYQnj7gjDeLU8yyV7GNCHJSm1Qbn/s5KleZ/jpaS+21FSuZLyFCR8yiie6XQjvW+0cC9MaDkFirES34swSXNjVs4dbtazbcLNjH8TcrbUag/guwl889yk3uKdZWJGJJdyRCajDtxB+n6CL8m3hHWXeIRng==
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=v1YcBi6+ecwMfqkB2SxmzRpit9EF3Rkz6MQN4X/8PDs=; b=FUR8AMj99AxulpcYDjxtV/Y37Vus/Bg0pGLvBuYEzP2MFCMal+PQvZ/1cXXOpuSR8RJG99siq/BsPn4/rTmehndkQJ1mt39botLl9ltUOPdiW3z/AYfpC1XTYHIS9yd0hZP8R5dOJXQ8/hP3D5BC7hh9yl6GA3wGeCzNPCk1I5OmvtdvvoKmak95N3cCX7Tmo43PisSvxdMCtvZo2s+bBs2hY2b4gmxcvg4ih8UN1JKi1VvMPhbqei05dHC+jMLOcMHSWKK3zWv4GsFrLwm6lGlPi93vT/GgbtFf4/GDP+QY+uSBolkRxbIrj408prmhJur1IAG7DLcLCf/eE1/k6A==
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.onmicrosoft.com; s=selector1-nokia-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=v1YcBi6+ecwMfqkB2SxmzRpit9EF3Rkz6MQN4X/8PDs=; b=SN/3tTBwgrn5OATNEXOIUqV8MaYePGA+Rytl627A3999wqXi4A5RqGEwhSw6Pv4dUL/uOfuNgXaNix4wajZHB93/SBdU4Q10PdVSO+TaHEUij0yudjNbHr3RM17dcYRnjVdu6dUcYqWKEz1LoXrXeCZMzRnR3UVISzdLvKnXyCs=
Received: from BY3PR08MB7060.namprd08.prod.outlook.com (2603:10b6:a03:36d::19) by SJ0PR08MB6814.namprd08.prod.outlook.com (2603:10b6:a03:2d8::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4755.21; Mon, 6 Dec 2021 16:00:19 +0000
Received: from BY3PR08MB7060.namprd08.prod.outlook.com ([fe80::c481:f856:9121:e]) by BY3PR08MB7060.namprd08.prod.outlook.com ([fe80::c481:f856:9121:e%6]) with mapi id 15.20.4713.024; Mon, 6 Dec 2021 16:00:19 +0000
From: "Rabadan, Jorge (Nokia - US/Mountain View)" <jorge.rabadan@nokia.com>
To: "Dikshit, Saumya" <saumya.dikshit@hpe.com>, "Joshi, Vinayak" <vinayak.joshi@hpe.com>, "bess@ietf.org" <bess@ietf.org>
CC: John E Drake <jdrake@juniper.net>
Thread-Topic: Query about Ethernet Tag Id for TYpe-5 routes (RFC 9136)
Thread-Index: AdfnRcdCuEP4KLRhRX+IIl/qhpHxaQADSRGpAEUCEu0AAZAC0ACE58Sr
Date: Mon, 06 Dec 2021 09:10:31 +0000
Message-ID: <BY3PR08MB7060B08D768ED21F83FAE2EAF76D9@BY3PR08MB7060.namprd08.prod.outlook.com>
References: <CS1PR8401MB106290067F945313D44AB0F3F2699@CS1PR8401MB1062.NAMPRD84.PROD.OUTLOOK.COM> <BY3PR08MB70607D39A2B2043AD96108E4F7699@BY3PR08MB7060.namprd08.prod.outlook.com> <BY3PR08MB7060FB745DD72713BAEF8DB8F76A9@BY3PR08MB7060.namprd08.prod.outlook.com> <TU4PR8401MB1248CDF414AEF7E649DD7E1D946A9@TU4PR8401MB1248.NAMPRD84.PROD.OUTLOOK.COM>
In-Reply-To: <TU4PR8401MB1248CDF414AEF7E649DD7E1D946A9@TU4PR8401MB1248.NAMPRD84.PROD.OUTLOOK.COM>
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-office365-filtering-correlation-id: cd03fe0e-3089-4d97-c1be-08d9b8d180d1
x-ms-traffictypediagnostic: SJ0PR08MB6814:EE_
x-microsoft-antispam-prvs: <SJ0PR08MB681493BAB62C768ACF30990DF76D9@SJ0PR08MB6814.namprd08.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: 9kaeMfi/3mcZNkEP+gEEM2foDITsnLJy8zMIhr8riGhipEXEm6fCgy/9hU/D86Tly70m0ZygD6VY8wwC6miqGDT+PWeAZIr10yeKj2MNOf/SkDGMoId2L+cVYUcm79K0S1mAOzMk4WMbAzMgLspjp7thwYdg0QQw/o+8lfdJiC+aYfBD1aHUZXC1H+0y8B24FdC2mqgK+YNsTlrlyEpQ9MC+qGljY0YR3qlYWtYrT5FRNXUAN/FbWJnObkQ15GjCXV2Ww1QB+fE5YbmCPmBgI2Q54NREJwUYISUJawlL82fuA3Mui9sVztr+M52nMUabeZg8NN0+II9SQeTVdNAg+RSXCXizkgKXdt5qmMWhNPFTcviLwzk4PWUwRmN6wZwbxXOIVjuBxIwENHTMwR5ee+hjYB2knzyohusIXfT75QNF6t4DolBdoBSelMTYHRRho31EcB9HpSXEwfzSnKQgBE1RRCPosM5OWvrHtcKysTKywBS9Q3Fhu+tYBizUbOWiFvRCMAT3+BbZWLJvv0hVqEHffDeanMy+v2Ig4a8FBqDkGhod5kVJWn3UusAVhVGbXwclrikMpYD/0IWOAcRGVZsdt2BsbOD3ENPjWxSgdPgZHb+ZnBAZClLhyGMKk0YcGUmAuaUTQy5bpYc45uVcMRbXCgGp3JN6TCz3y2MGf1o3haLCVBXFDOSgMZeItraeIZhUn0zdv9i9dWHIS9k7sQ==
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:(4636009)(366004)(6666004)(6506007)(2906002)(53546011)(186003)(71200400001)(26005)(8676002)(9686003)(122000001)(82960400001)(4326008)(38100700002)(110136005)(52536014)(508600001)(7696005)(86362001)(38070700005)(8936002)(33656002)(316002)(5660300002)(66556008)(64756008)(66446008)(76116006)(91956017)(66946007)(66476007)(296002)(55016003)(9326002); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: 2FXr6gdHMgiZ4eHjdavOxv0WVmvAqS8fZrO996q+ZF6ss/TrCi9/sfOcMrZTMzA7pMSxAAB9XO8x23Bbpmka6NTfG+Rmq6hE6sm/TgBCX4MvaWzpvXy5T6ZbPLf3D40ZylMY71cZODL6vsD8561R1ykhfUQG0YWzjPAF1uvjQUe650k1Ad9bGFdrivbdYnX3rSpNv2yCK1zEAW5gdA4BYvKitsQ0YVibhHVDGaBMEAfMZP9aDjViHb4E9jJC6p8S6UL9ddOZK04ErefInTIHP3udP6ZGpu2NYSGvpZqXLFYYxw0IrRDKDOAuzZZHXQMt+KZRsX5xziSVayyl7FMsoddKo5cb2K70zvi+lQnurHRemHF2YqGa/eGAsPyswlWFffjsT8UpDJL7AnDAKfqKzWCURX9ec0Ic8miketJiIWYouPZMWsNzKAxrP9jbOAj4p7887t7jItAI8yjV8G2DqCqVSp3cSLVU8AlRixUXsCBn0nF8SrSWTVpsXxV25bpfFX8VF0SzdX2WhD15OqsB+0O1RJ/shJuzNfqZewDjwGsMl2G8M2O8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ipart/alternative; boundary="_000_BY3PR08MB7060B08D768ED21F83FAE2EAF76D9BY3PR08MB7060namp_"
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: cd03fe0e-3089-4d97-c1be-08d9b8d180d1
X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Dec 2021 16:00:19.6699 (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: Y7m5oNtlJAbYsTgHoWhlFJ7jw9OlNMEKXCx8Z6Evli5D+6uRT/5OZ3VLBmtvbsNK4Pmxw0iJzgE6/gtA9clDlw==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR08MB6814
Archived-At: <https://mailarchive.ietf.org/arch/msg/bess/HW5LhoVdK0CtHbqDJsM8wE2O-8c>
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: Mon, 06 Dec 2021 16:00:36 -0000

Hi Saumya,

I was just referring to sections 4.1, 4.2 and 4.3 in RFC9136.
Thanks.
Jorge


From: Dikshit, Saumya <saumya.dikshit@hpe.com>
Date: Friday, December 3, 2021 at 6:53 PM
To: Rabadan, Jorge (Nokia - US/Mountain View) <jorge.rabadan@nokia.com>, Joshi, Vinayak <vinayak.joshi@hpe.com>, bess@ietf.org <bess@ietf.org>
Cc: John E Drake <jdrake@juniper.net>
Subject: RE: Query about Ethernet Tag Id for TYpe-5 routes (RFC 9136)
Hi Jorge,

>>> IP Prefix route is advertised in the context of a BD,
Is this a case wherein MAC/IP (RT-2) published with L2/L3-VNIS  is further relayed as only RT-5.
For example, PE2 receives RT-2 from PE1 for host1’s MAC1/IP1.
PE2 relays only Host-route (IP1/32) via RT-5 to PE3. Is
Host1(MAC1/IP1)----(Vlan X)PE1------(l2vni/l3vni)------PE2--------(l3vni)-------PE3
Note PE1 provides vlan-aware bundle service and carried eth-tags corresponding to Vlan X in the RT-2.
Is it possible that PE2, while relaying the IP1/32 to PE3, will inherit the same eth-tag (as received in RT-2 from PE1).

Thanks
Saumya.

From: BESS [mailto:bess-bounces@ietf.org] On Behalf Of Rabadan, Jorge (Nokia - US/Mountain View)
Sent: Friday, December 3, 2021 10:34 PM
To: Joshi, Vinayak <vinayak.joshi@hpe.com>; bess@ietf.org
Cc: John E Drake <jdrake@juniper.net>
Subject: Re: [bess] Query about Ethernet Tag Id for TYpe-5 routes (RFC 9136)

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