Re: [bess] Queries to authors of https://www.ietf.org/archive/id/draft-ietf-bess-evpn-ip-aliasing-00.html

"Jorge Rabadan (Nokia)" <jorge.rabadan@nokia.com> Tue, 05 March 2024 14:23 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 CDFC0C151092; Tue, 5 Mar 2024 06:23:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.096
X-Spam-Level:
X-Spam-Status: No, score=-7.096 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, 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_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_NONE=0.001, T_KAM_HTML_FONT_INVALID=0.01, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=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 jKY86XP0wEPs; Tue, 5 Mar 2024 06:23:37 -0800 (PST)
Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2079.outbound.protection.outlook.com [40.107.237.79]) (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 234ACC15107A; Tue, 5 Mar 2024 06:23:36 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kmYRdtRgNkm0wUFjGV2gAt2+SbvyAIGlLFse1N7XXV2RIm0BjEzSsVUpP0pAMBoSvj0jY0QLNawXV5aw55zaYObqT+CVFAwgqw/EreWBwrJJKr3Msncssqyv/nJJ4Ogl454jEFF37cFmuGJTzB6iT6dOFPBJgq4vPknVZGMdZerVioqYy1VvFl9veCeV9QXIvMiVAS9ntSv3Tfihc5uyD5WJUJPjDtdbNU08o6T/SAWc6TqBzjvN1c04e1gaQr9LSLLcn+pagLxAe8cF2bOrJ8xRkO//+6w79vQqYIGnFs1jfcVrBLK1D7jeuQFY2XHF6h1CJxe8+9po5ppG85ZLDw==
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=UdkG2KPdk+wcj27h+bi5CzEAqmF1mP46Qt1fET0rSHw=; b=hOd3l4w3a8lmkgt90Y1pcuaZDNskfEShwgXxK+emudR6y8ayLc8ySCIAUUO1aVxvOvlqzh/hmvv5TUfK8Q2uW9bM6/8elittvJndzYnpXqG3q4o11NaeEI8w5/KwyCFq4Vb0an8QszlNyrAuPBADR99rWSsaFEUkk3ATykC+PC71cfSCfQFhd7pbWPM0GRO++OuMDjf92+Le2J5TL+mb1zh5dOj5EFGKKHAr2PS0f1EbtPL22tSMcNnoK7CVleasoeZ73ll/6MB1kaAAhqjdPNr4W0jzIos+tbPzD7lauBEDDUB8wZxCBoDGE4FHXGE5aMAUrqp+AlnlSzEYHrxfNw==
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=UdkG2KPdk+wcj27h+bi5CzEAqmF1mP46Qt1fET0rSHw=; b=OX4qfBr3mqet67tTEnUayljkN3MEG2yIMksPMk3HMg5HZ+uGUUTBnxMx35yxLAnSsOfexxrYwVo6VvbR1S36se3lTtC4jqjIkbnFQQ/5AD+MUnmo0/GVxsU0XMp7R+qoLnqImf6/RjH0o3htB2Zdf/7I+DO/rM9JrCKNzmDvauzpIu4Tnw27WAm6BaN7Usu5froWmqNivlGQ29/3MODUJ4avp5lul2rjI+bqRPTREcHsRHtPKQrXS3WVguir06UPeWVUpVSip4Ca3W+qI0Afmw6JhYJlVc3VgWqR3BwviPvX+hIegcxUdEYZs57tdBjc1BzK+YPbkMWd9uWDBsZEvg==
Received: from BN0PR08MB6856.namprd08.prod.outlook.com (2603:10b6:408:12c::5) by DS0PR08MB9421.namprd08.prod.outlook.com (2603:10b6:8:1bc::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7339.38; Tue, 5 Mar 2024 14:23:29 +0000
Received: from BN0PR08MB6856.namprd08.prod.outlook.com ([fe80::a5c0:ada6:7cea:608b]) by BN0PR08MB6856.namprd08.prod.outlook.com ([fe80::a5c0:ada6:7cea:608b%7]) with mapi id 15.20.7362.019; Tue, 5 Mar 2024 14:23:24 +0000
From: "Jorge Rabadan (Nokia)" <jorge.rabadan@nokia.com>
To: "Dikshit, Saumya" <saumya.dikshit@hpe.com>, "Allu, Ramaprasad" <ramprasad.na@hpe.com>, "bess@ietf.org" <bess@ietf.org>, "draft-sajassi-bess-evpn-ip-aliasing@ietf.org" <draft-sajassi-bess-evpn-ip-aliasing@ietf.org>
CC: "bess-chairs@ietf.org" <bess-chairs@ietf.org>
Thread-Topic: Queries to authors of https://www.ietf.org/archive/id/draft-ietf-bess-evpn-ip-aliasing-00.html
Thread-Index: AQHaZLP3+FZAGvk3UkqcM6UNKbda0bEnKHTwgADxh2CAAGL1EIAABaRwgABqzEE=
Date: Tue, 05 Mar 2024 14:23:00 +0000
Message-ID: <DS7PR08MB68625EBC660A5368B3FF570DF7222@DS7PR08MB6862.namprd08.prod.outlook.com>
References: <DM4PR84MB1830AEC3FCC57F3A127AF76382572@DM4PR84MB1830.NAMPRD84.PROD.OUTLOOK.COM> <DM4PR84MB183025E380A2252E6595458782232@DM4PR84MB1830.NAMPRD84.PROD.OUTLOOK.COM> <DS7PR08MB6862B8659BFE7F8879676987F7232@DS7PR08MB6862.namprd08.prod.outlook.com> <SJ0PR84MB211019903AA1E46B96FD333294222@SJ0PR84MB2110.NAMPRD84.PROD.OUTLOOK.COM> <SJ0PR84MB2110A60429186B4FA4DA6F7894222@SJ0PR84MB2110.NAMPRD84.PROD.OUTLOOK.COM>
In-Reply-To: <SJ0PR84MB2110A60429186B4FA4DA6F7894222@SJ0PR84MB2110.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-traffictypediagnostic: BN0PR08MB6856:EE_|DS0PR08MB9421:EE_
x-ms-office365-filtering-correlation-id: a35b7654-a91c-4142-38d4-08dc3d1fd11c
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: vPVkRPivfGOS+blic2KMmuHoOKk+fcBSRUal0j4myw9zbB6s1BjqdjmXD1fgT6rn+rto/y0ytLh/SI2+38Zp8wmn8BJ6JClTUosQFOcMqJTT7ZWOoa8PwiEk7wR/LdyJMXazjCOjyQCX7Dqh1BMsZ4DjFvs/jIiDEzcm7TNAt1NniqjAbkLhjscKELeVZdZ7h2l0btUnKVmfl/uLiNctwjPZV60FKAjaPI8bVH3E1CmVLs9RhXBt0jBRYV5bmQrLvn52EPY8RwDAoe4Bgp+n/TSNkEesex3UGocLBa+GCVLI3rBcxSQl4dJZdmYUjDvrAWIPwcuZvUdOmmmjslaykC/g7/5LKNKwelxsZHI2DaP+qVmukWr7moUXUttQUlBiRGd1vwgGpGfVyLZi00rLGhCorE1xsXXnyfPE9vQXaObrHv7XbhBoc6RO+ZqMOmN0cKIbuQrqGLQ3keyK8ByyZmCsDnHpTsAbAvUNB22uO5Tq4WlzYi/JE2M0KirCJSho9h6GCHYW7E4b/1Q4lUgYbA7tAyAIgmj9LfCwTnXRRGvm9i9eiDNjvh8P+moSYanu/V7cAABOr+eQRPRyCgfdYXXv6HhjToi8+JScJDrXyFJ+nmpoAS7d/LJrAf8upB+WbyI7mZTgmfGS5APnoFXw53DRk4E0cdrA5u+R9lQgRX5J3gyiGdJQNxGpD4sLQ/7F
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN0PR08MB6856.namprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(376005)(38070700009); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: 57T+c0xk1sIK5FK4621mfmjO6tdHuVn4MTb/VVDki0rHzXLjMK7fU+py85yN/R2Xkrk3aYcKL6YCLySH/UbWCC5lO2TR37LKavdVhLZMwdf38zc8OldKgEON/qBvy4w9aDA1/kg9lYVi8yX95BeSXEu1rKa+lVz6Gv3A/nZ4Nw/LOujXYBSzJkMvGiUUZ1xcgXc91GCyK3vqK7xzWaAd2xpFz56/CwnnN/B2SI1X05wKpVXkW9Uc0lVYk4/W8f/YtzwrVWcy3N5gmhoMGMIMw/XdvugjBxlGXR4D2Nche1XCJqWn16y6LNkDRIxAj20V/jtvKyAJ2fhJZVv60Adn5BlVRyct6sFr9LHF47WRFdkbYtcZehSD+tV5usBhZ/8DAWQGdO2adKD8EpCm3jmplpIKhE9dF7TBGr60f3qjknJ6Bfc+r4akXys/qK1TbnfksUrWVvUcM8J2C7Hob6FRsAuxYWt+uvbEB4H7hJawSx+Sz5MByx8gC6MUi9jBHIqjfUlU0hjARPeZh9ALCvjeL6Kz9Z+YxgjfswpzBi4esq2MP6YdaeZRCqRdsQqq9TiqpE19JKwzc6i9c/pOm370FDOfEiU4qmt4imTKZBN3VgHQD7ejHGeZa53ZmVqyxY+wljjSSwi/WEVVjOntl+D4Ky3BDuQpv78D4QepXOpU/hi3sZk5UWG0e+z06TRVZneBeKbe+XKTSZCQp/l1JfoeWL8jKs2qhcfAiNeWnHv4aIoGiDqR7GJOaYaGlNQL4BpF4a+dU4fALSvv4eYM5E2z8IRm2PBg0mKSU6zD5mPPU9MyWXO3NTpZywu4OOtG4VTXp8YlYU5Xc0AYFqyuns85KPjU8YVKaZPiHUXd8hfNeHAS6H2VEjFb0U3qh5SYXP5CdKZcYcR601h8QuGrG4xUyoyea/UofUoD8zsj/6S3nKkjF6DegWi7xZdgFXU3r3hCtBMB8+5B33QDnQdF16y8YCho/S+VzS9RJvH0exkybfNW/qb5qCykig4y8hXvzKfvr+LcrzRNTJJGO0XTulQ4ZtWwAMbo8W9NtpwAdnFuLNjaDD5xhMAQSIzsZJWH3vpSp8czoC9oJsoX4ah6BjSWzxRko5hTE2L7T6XNng+CvpBhO4Cgfflp1bujvvQy9tpz8li8F7qsPrHHcDWTbPrCzaSsi/OraKCDTjvpDw0iRstje5+QfZa3RPDocBOUhCRmVH2XK2ZT7ACZF/mixaxloO5egX0EOWnLjG8SSnl8XjQGZ9ofHafHDKv8C10rcMHBQ28Dkf6m1q6/wmAoWHOKnGC9w8pJKUyu/IYuw2T10kw1679bFAiu/h8E1mAP/IHs84J7XfM/SqJeUkDD9alcc1lDDMpicj6HVMQ5nPsadxUG+Oe4TkV2GYleII8Jt2icERmvG+iS08LjfUhZfXimExe6nUUC+KRY9GUz20k50cKTeoUXq0yTOaPBzQBOmMncnUgRJ71ewPcR8xGJ/+yY1rQGuzxVaPh5q3n1Zi+55FPrhON3kLaFmeIjwChOZWj8UsoHTo/fEdQudbS4UBESZegRn5bBEn0sCaCsUWX78iE9qqElw1wscbqEeEAbLxU0
Content-Type: multipart/alternative; boundary="_000_DS7PR08MB68625EBC660A5368B3FF570DF7222DS7PR08MB6862namp_"
MIME-Version: 1.0
X-OriginatorOrg: nokia.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: BN0PR08MB6856.namprd08.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: a35b7654-a91c-4142-38d4-08dc3d1fd11c
X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Mar 2024 14:23:24.1088 (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: sIRsBZnGdexjeBdXIH4tNJtawc1jqoqjZFwcB3lfUuVLAaXAF17hSjcsDsX2Ig9zKSBFHM4+TWrNeTgSTXb6GA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR08MB9421
Archived-At: <https://mailarchive.ietf.org/arch/msg/bess/Co_qA430lZXQT_gZrwcKScrswVs>
Subject: Re: [bess] Queries to authors of https://www.ietf.org/archive/id/draft-ietf-bess-evpn-ip-aliasing-00.html
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: Tue, 05 Mar 2024 14:23:41 -0000

Hi Saumya,

This spec does not change anything for the advertisement of MAC/IP Advertisement routes or IP Prefix routes, it only introduces IP A-D per EVI/ES routes.

If you are using the same ES for the stretched Broadcast Domain and the IP-VRFs (Ethernet aliasing for layer-2 and IP Aliasing for layer-3), MAC/IP Advertisement routes are advertised with the RD of the MAC-VRF of origin and so are Ethernet A-D per EVI routes for the ES. IP A-D per EVI routes are advertised with the IP-VRF RD.

Hope it helps.

Thanks.
Jorge

From: Dikshit, Saumya <saumya.dikshit@hpe.com>
Date: Monday, March 4, 2024 at 6:40 PM
To: Dikshit, Saumya <saumya.dikshit@hpe.com>, Jorge Rabadan (Nokia) <jorge.rabadan@nokia.com>, Allu, Ramaprasad <ramprasad.na@hpe.com>, bess@ietf.org <bess@ietf.org>, draft-sajassi-bess-evpn-ip-aliasing@ietf.org <draft-sajassi-bess-evpn-ip-aliasing@ietf.org>
Cc: bess-chairs@ietf.org <bess-chairs@ietf.org>
Subject: RE: Queries to authors of https://www.ietf.org/archive/id/draft-ietf-bess-evpn-ip-aliasing-00.html

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.


Just to elaborate further,
Below might be the scenario where both MAC aliasing (MAC routes) and IP-aliasing (for /32 host routes) is needed in mixed deployment of Symmetric IRB fabric.
Fabric may have mixed-bag of PEs, where-in, some of them have VRF-extended (/32 routes) while others have only subnet extended (MAC).

Regards,
Saumya.

From: BESS [mailto:bess-bounces@ietf.org] On Behalf Of Dikshit, Saumya
Sent: Tuesday, March 5, 2024 7:53 AM
To: Jorge Rabadan (Nokia) <jorge.rabadan=40nokia.com@dmarc.ietf.org>; Allu, Ramaprasad <ramprasad.na@hpe.com>; bess@ietf.org; draft-sajassi-bess-evpn-ip-aliasing@ietf.org
Cc: bess-chairs@ietf.org
Subject: Re: [bess] Queries to authors of https://www.ietf.org/archive/id/draft-ietf-bess-evpn-ip-aliasing-00.html

Hi Jorge,

Is this the same RD for IP VRF (uniquely defined for IP-AD per EVI route), that should be leveraged for host routes in Route Type-2 and Prefix Routes in Route Type-5 ? Is that the safe assumption (as per rfc9135/9134) ?

In case yes, then If we have a unique RD for the IP-VRF, what RD should be used for the NLRI in the Route-Type-2 carrying MAC/IP for tied to MAC-VRF and IP-VRF ?  Should it be MAC-VRF RD or IP-VRF RD.

Regards,
Saumya.

From: BESS [mailto:bess-bounces@ietf.org] On Behalf Of Jorge Rabadan (Nokia)
Sent: Tuesday, March 5, 2024 1:57 AM
To: Allu, Ramaprasad <ramprasad.na@hpe.com<mailto:ramprasad.na@hpe.com>>; bess@ietf.org<mailto:bess@ietf.org>; draft-sajassi-bess-evpn-ip-aliasing@ietf.org<mailto:draft-sajassi-bess-evpn-ip-aliasing@ietf.org>
Cc: bess-chairs@ietf.org<mailto:bess-chairs@ietf.org>; Dikshit, Saumya <saumya.dikshit@hpe.com<mailto:saumya.dikshit@hpe.com>>
Subject: Re: [bess] Queries to authors of https://www.ietf.org/archive/id/draft-ietf-bess-evpn-ip-aliasing-00.html

Hi Ramaprasad,

About this:


“If MPLS label field is not considered for BGP route key, then BGP RIB will have only one route entry at any given point of time.

That is, IP A-D per EVI route overwrites Ethernet AD per EVI and vice-versa if same RD is used for IP-VRF and MAC-VRF.”

The Ethernet AD per EVI route and IP AD per EVI routes must use different RDs. It was sort of implicit, since the former one uses the RD of the MAC-VRF and the latter the RD of the IP-VRF, but we added this in rev 01 to make sure there is no misunderstanding:

          *  The Route-Distinguisher is for the corresponding IP-VRF.  The
            Route-Distinguisher allocated for the IP-VRF MUST be unique in the
            PE.

Hope it helps.

Thank you,
Jorge

From: Allu, Ramaprasad <ramprasad.na@hpe.com<mailto:ramprasad.na@hpe.com>>
Date: Sunday, March 3, 2024 at 10:04 PM
To: bess@ietf.org<mailto:bess@ietf.org> <bess@ietf.org<mailto:bess@ietf.org>>, draft-sajassi-bess-evpn-ip-aliasing@ietf.org<mailto:draft-sajassi-bess-evpn-ip-aliasing@ietf.org> <draft-sajassi-bess-evpn-ip-aliasing@ietf.org<mailto:draft-sajassi-bess-evpn-ip-aliasing@ietf.org>>
Cc: bess-chairs@ietf.org<mailto:bess-chairs@ietf.org> <bess-chairs@ietf.org<mailto:bess-chairs@ietf.org>>, Dikshit, Saumya <saumya.dikshit@hpe.com<mailto:saumya.dikshit@hpe.com>>
Subject: Re: Queries to authors of https://www.ietf.org/archive/id/draft-ietf-bess-evpn-ip-aliasing-00.html
You don't often get email from ramprasad.na@hpe.com<mailto:ramprasad.na@hpe.com>. Learn why this is important<https://aka.ms/LearnAboutSenderIdentification>


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 Authors,

Gentle reminder.
Can you please take a look at it and respond to below query?

Thanks,
Ramaprasad
From: Allu, Ramaprasad <ramprasad.na@hpe.com<mailto:ramprasad.na@hpe.com>>
Date: Wednesday, 21 February 2024 at 5:40 PM
To: bess@ietf.org<mailto:bess@ietf.org> <bess@ietf.org<mailto:bess@ietf.org>>, draft-sajassi-bess-evpn-ip-aliasing@ietf.org<mailto:draft-sajassi-bess-evpn-ip-aliasing@ietf.org> <draft-sajassi-bess-evpn-ip-aliasing@ietf.org<mailto:draft-sajassi-bess-evpn-ip-aliasing@ietf.org>>
Cc: bess-chairs@ietf.org<mailto:bess-chairs@ietf.org> <bess-chairs@ietf.org<mailto:bess-chairs@ietf.org>>, Dikshit, Saumya <saumya.dikshit@hpe.com<mailto:saumya.dikshit@hpe.com>>
Subject: Queries to authors of https://www.ietf.org/archive/id/draft-ietf-bess-evpn-ip-aliasing-00.html
Hi Authors of draft https://www.ietf.org/archive/id/draft-ietf-bess-evpn-ip-aliasing-00.html

I have a following query on the draft.  Please help with your response.


Context of section https://www.ietf.org/archive/id/draft-sajassi-bess-evpn-ip-aliasing-09.html#section-3.1,

In the section, it is mentioned that the construction of the IP A-D per EVI route is same as that of the Ethernet A-D per EVI route. The NLRI consists of the following,

                +---------------------------------------+

                |  Route Distinguisher (RD) (8 octets)  |

                +---------------------------------------+

                |Ethernet Segment Identifier (10 octets)|

                +---------------------------------------+

                |  Ethernet Tag ID (4 octets)           |

                +---------------------------------------+

                |  MPLS Label (3 octets)                |

                +---------------------------------------+



And as per https://www.rfc-editor.org/rfc/rfc7432.html#section-7.1, “ for the purpose of BGP route key processing, only the Ethernet

   Segment Identifier and the Ethernet Tag ID are considered to be part

   of the prefix in the NLRI.  The MPLS Label field is to be treated as

   a route attribute as opposed to being part of the route”



If MPLS label field is not considered for BGP route key, then BGP RIB will have only one route entry at any given point of time.

That is, IP A-D per EVI route overwrites Ethernet AD per EVI and vice-versa if same RD is used for IP-VRF and MAC-VRF.



Is there any reason for explicit mention of not using MPLS label field as key for BGP route or not carrying two labels one for Ethernet A-D per EVI and another for IP-AD per VRF?

In this case, I see only MPLS Label (VNI in case of VXLAN) is the distinguisher if same RD is used for both IP-VRF and MAC-VRF.



And to keep two separate routes in BGP RIB, we need to use MPLS label also one of the keys in addition to RD, ESI and ETAG fields.

Or Carry both the labels and extended communities as part of single A-D per EVI route and store single route in the global BGP RIB.



Please let me know what you think.



Thanks,

Ramaprasad