Re: [bess] [EXTERNAL] Re:[EXTERNAL] Re:[EXTERNAL] Re: Discussion on rfc7432bis and draft-rabadan-bess-evpn-inter-domain-opt-b

Alexander Vainshtein <Alexander.Vainshtein@rbbn.com> Tue, 16 May 2023 06:38 UTC

Return-Path: <Alexander.Vainshtein@rbbn.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 2FDFFC151983; Mon, 15 May 2023 23:38:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.096
X-Spam-Level:
X-Spam-Status: No, score=-2.096 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_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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=rbbn.com header.b="EvWGD6zs"; dkim=fail (1024-bit key) reason="fail (body has been altered)" header.d=sonusnetworks.onmicrosoft.com header.b="mQYKIvUL"
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 ja10lEffVrGh; Mon, 15 May 2023 23:38:08 -0700 (PDT)
Received: from mail1.bemta37.messagelabs.com (mail1.bemta37.messagelabs.com [85.158.142.1]) (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 47B73C1516E1; Mon, 15 May 2023 23:38:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rbbn.com; s=rbbnselector03122020; t=1684219084; i=@rbbn.com; bh=eG0X6g1jv5pJjYFSP5y39HJx++SPLSYOcD11/jluNXM=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=EvWGD6zsCX7MgIAPb03mYo+DTuqiSRd8JZnPnZA/g+1V88Zhymm3ue7Y7K3pS55b/ oU3UfmFDr4luVjXjcXEW2RaN4krDo9FrsvVCcTIsPDf4mprvFRn5pHVgoKvwy5NfnA 8IbXvzGBy+a73k8aqt7GUuexHTfvNwRq6stZIEAetbecJ0fEipyjrghSmcfG+kDuMb WjqwAaGufXFb36rcrJm0t5JbxSnWtQiaMLgOg4RvUEZuBhfYwqgPlaXd/Wla8XTYcD wmVBId+iCfnmsf3/k3tjOklqtGgNY+g7lJdJaQ5G5xH8HrFfv6X4VWd5PtO2Isz1Ql wFJ6YuWGccqlg==
X-Brightmail-Tracker: H4sIAAAAAAAAA1WTfUwbdRjH+d1d2wPbeRQmz5ANV1wcmhb4Y9g oCJoo+MemLDOLU4QrPWmTciV3hYEGrTJfgJDJZC/AugKibMA2wMWO9zpMJsiQ1zGJDbAhhKqd 2+RtMmKvx+b858nn+3x/z/P7XvI7EleWykJJJs/CcCxtUkkDCEOUtlH905MZ+ujV0U3a05crc G3PRAum/bVnUap1rdyTapvnllCiJLmubhVLdk2OYMlN3SvE6/gBiZHVmfPSJYY7td2SbLtNmt dt/x1Z0ewRaTEKIBH1NQ5/j0wToqiVwMLhZZkoGhAU2deQIAiqAwdH4+e+GSVlx2Cwrcw74+8 VUwiurr4tsJR6Dv65OeDrB1O74KPGcYkwgFNHMWhacmOCCKKGEFR19flEMDWMoGLwnFQc2QOu YreP/SkK7n5W6VsFlALKbX0ygQlqB8xf+NLXV1CpYD3ThouZvkfQU39DJg5HQUuRx3cIUY/Bc n8TJjBOhcDkrB0Tl1JQ1/kzLvJmWLixLhHPczA604TE/lYYsZdscAKcHK3Z4N3QOnVcIvI2aC id2QgaDsdqb8pEDoPpaw6pyJ0S+G0xQggKlIuAsotfbRjRcGrpB+kXSF35UL5KRHqZhRrbtkr fdwZCX8UsIbYj4Xx7lHh6O5SXzMhE3gmfnLTJHu5XI1kDepZnuFyGU8fEanScMdNgyaKNJg39 nprWMDlq1sxZDOoYDX2Q1zA8r+HzszJMeg3LWFqR99Xp+fRnLiJ7+z3NJbSFxFSbFUS1Tq/cp DPr8w00b0jjckwMfwmFkaQKFM7tGXplIMdkMnnvGk3et3vfBlKuClYcFGwFn01n8cZM0epHKe TYd11dOLnU0uetZ3rHvLXDV1u7i504WdQj1KFluxNXEqyZZUJDFAUR3kWUsMiQwz645v5fMoK 2hgYpkJ+fn1KezXBZRsv/fTcKIZEqSJEubJEbWcuDNG5vUMwbdLIzTQhqof+zQq3YO4UeYri9 pHrf84v73dX53KdVjPl6/UuPSzo+tJ1L/PjoiQtX1+oHw+Rd866YP3bdntuhyO1+c2hoXZ1YG D+wkLZSRx3KbTXFew71pJp1j06Uyo5/qzuVz3hSTNMpe5w7jVbHeZl84uxej8MUF8vcbj7t0L yaHR5yoixCpyq/MvHLYUNh6o9PxJYkjIfHtY05Yh8ZvzXxYva+jvmO4T/HencPB1oK9bNJqsj m+Pj1yrhReVHAdcutAuv7zjdsW6KH544ccD6lbZPXzFxeS/jmLUXB1JWBO+5E9qw1EPpfeW0p Nmxg8C82KWRyb1pSpGv/y8CZh9gP/Ac9Vdfu9mYeo1+wqQjeQMc8jXM8/S9K9CkyoAQAAA==
X-Env-Sender: Alexander.Vainshtein@rbbn.com
X-Msg-Ref: server-4.tower-732.messagelabs.com!1684219081!105414!1
X-Originating-IP: [104.47.56.171]
X-SYMC-ESS-Client-Auth: mailfrom-relay-check=pass
X-StarScan-Received:
X-StarScan-Version: 9.105.3; banners=rbbn.com,-,-
X-VirusChecked: Checked
Received: (qmail 1888 invoked from network); 16 May 2023 06:38:02 -0000
Received: from mail-co1nam11lp2171.outbound.protection.outlook.com (HELO NAM11-CO1-obe.outbound.protection.outlook.com) (104.47.56.171) by server-4.tower-732.messagelabs.com with ECDHE-RSA-AES256-GCM-SHA384 encrypted SMTP; 16 May 2023 06:38:02 -0000
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=E9Y3X6MLjioON+EfLoDfC1bIrXDgBdO7lpbsCryVHqZGjLzLdTyW5BFjTFw8ETRYCQrhY+UltP+KBOzvFhDi7Ri+GbUxaSyY+9d7usTupoaLCH7HAIzxcIZrWKgoIkBoTj9gLid9ucHc+F7Gpr4cxYEYEPdLeSFo2OXPcyplwFbliZhH/oysQ56TX5FdPrn5jPxmCWzWIIL2eljBejWThrlb3KbcENmrZnapUP/V35cpAPuvLiDcSHdiqcWZvoT5XkW28ELIvV2Mq1Fw3DcLeOIT8DyIDuLgY4Z0u/hk1aH1JQGP1Ra+VI6MiUrn2uaoKkjjzOI1DJsJFtgLfnO7kg==
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=KDc8xXY1xUB/PxTuKVeqWpydTgYC9sxGcJEyUbH2XdI=; b=IC9IrpHnK0C/YopHv0Re+0l6JC6LpM2YXTmaFdzjJFRAaWLTGrjhD0vPT5D603Hhk+UllL1Ym3BCz9SYW/LIfyu49JbPsbo6hDX8JLZRViYDoLFJzkabgprvIku3QDaby+zhSy2ONy4SP0211hlOGMSsTXT/dIRiYQDCNIqVnOnDTsLAPvsZQw4j6gFR7MefpfegLEWRILyZagjG6kmPKljb94TJxfW6pVsYw9ag7uX2vccg6C0g1tUkXVGCUlsSjN8Dc+vnnycPwLYlVyXQaL6YV7JNfI5OaxfawL9sY/P2zlzEayV/MTfQ49aoGY9j3kJkY+fh9pW1f9qvWyLwpA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=rbbn.com; dmarc=pass action=none header.from=rbbn.com; dkim=pass header.d=rbbn.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=SonusNetworks.onmicrosoft.com; s=selector2-SonusNetworks-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=KDc8xXY1xUB/PxTuKVeqWpydTgYC9sxGcJEyUbH2XdI=; b=mQYKIvULcn0+BwfZb2hDoh7s4DOSF/gWniKuqTpCj6i9o+jM4Ykgozpo2WeY3RRkBemxvY6Woy3oBE1TlV3fpuqKviYeHv8JekrKX0verfa4YMKNr9LnhtFBBmBUrdRXOu4commqo7VGgeIyuxdUe1fiBX8eFr0Z1r0u5wJhk2w=
Received: from PH0PR03MB6300.namprd03.prod.outlook.com (2603:10b6:510:e2::5) by SA1PR03MB6419.namprd03.prod.outlook.com (2603:10b6:806:1c2::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.33; Tue, 16 May 2023 06:37:56 +0000
Received: from PH0PR03MB6300.namprd03.prod.outlook.com ([fe80::47c1:b182:616e:77a9]) by PH0PR03MB6300.namprd03.prod.outlook.com ([fe80::47c1:b182:616e:77a9%3]) with mapi id 15.20.6387.030; Tue, 16 May 2023 06:37:55 +0000
From: Alexander Vainshtein <Alexander.Vainshtein@rbbn.com>
To: "wang.yubao2@zte.com.cn" <wang.yubao2@zte.com.cn>
CC: "draft-rabadan-bess-evpn-inter-domain-opt-b@ietf.org" <draft-rabadan-bess-evpn-inter-domain-opt-b@ietf.org>, "bess@ietf.org" <bess@ietf.org>, "jorge.rabadan@nokia.com" <jorge.rabadan@nokia.com>, "draft-ietf-bess-rfc7432bis@ietf.org" <draft-ietf-bess-rfc7432bis@ietf.org>
Thread-Topic: [EXTERNAL] Re:[EXTERNAL] Re:[EXTERNAL] Re: [bess] Discussion on rfc7432bis and draft-rabadan-bess-evpn-inter-domain-opt-b
Thread-Index: AQHZhwCP+7y3Pf+RRkeZQh2G7WXa469a9DWAgABW9YCAAAMpMIAA+0+AgAATpNA=
Importance: high
X-Priority: 1
Date: Tue, 16 May 2023 06:37:55 +0000
Message-ID: <PH0PR03MB6300F2F412DE375EE311DEB6F6799@PH0PR03MB6300.namprd03.prod.outlook.com>
References: 202305151539521085632@zte.com.cn, 202305152055552553874@zte.com.cn, PH0PR03MB6300E03B61F254EFD11B51EEF6789@PH0PR03MB6300.namprd03.prod.outlook.com <202305161206416149284@zte.com.cn>
In-Reply-To: <202305161206416149284@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-traffictypediagnostic: PH0PR03MB6300:EE_|SA1PR03MB6419:EE_
x-ms-office365-filtering-correlation-id: 679ec0df-75d1-471b-8f41-08db55d8151d
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 5lWl4GhO27WUc8NH6b+QMmQ8XR9c5+ZE7T0F9F2/QAZGTLMsbe7w6FLXE1miss3vgplwC+7/XYlze2rGQ415ZMVmbQuJfiobPeW1f2ftrsgxjXciRPh+QcwfryDjGSZo9c/1O97Z9X/Ib2RNpzO5HTSMp34uKk8XrKR80PVXnfgIFZM3Yt+CFWh0lpr265GX4ed84iGnSzPQCiADdff/qfcGfplbio7seQMCY/6wge23LEv1CCvWW447jDSRWPRes/i3bYT9HJU+yYJYzSkFgRExDcoGpqQiFBxmzHhueL0fBZm+4a7lBUmLmz/rih0J3LpZM5Y+0YWHoG7R9+lkzqXQ51S5HogTJ2Ks7RsPGloBj6VMM+6NwNFN2ytWK5oKMQhHYHwooORJy0FPeWjFNbW2SF0GBAYs1bPToFIDlCrK+zp+AgMD2Ld4qyI/COP3GO6gk7FW1p746B78Z20cc9qThcxClYxeCD2Er9vvYKO8IQh88+3tlxZorbLY7ruvy4fqU9fbrDDAl6zi3PecmiWRsy7yA0s3um/KONmeSI3cQLmL2ymDaKQhUHg+zHvaclZW7pBKgnihSw15KKbKa9jT+eu4r/rUyPzJmyrQCb92F3LLAChBfqZrU+/DDkYOyRFbgZvRih5bGGaVtDEUyQ==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR03MB6300.namprd03.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(346002)(39860400002)(396003)(136003)(376002)(366004)(451199021)(66476007)(66446008)(54906003)(478600001)(6916009)(4326008)(66556008)(66946007)(64756008)(76116006)(71200400001)(316002)(7696005)(55016003)(9326002)(8936002)(2906002)(52536014)(30864003)(5660300002)(26005)(122000001)(41300700001)(33656002)(86362001)(38100700002)(166002)(38070700005)(83380400001)(53546011)(9686003)(186003)(6506007)(84970400001)(559001)(579004); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: Meyo40s9VRIFrD8nEcAmvNl4lcu4etQaplCwsJGxdqh8/Xile8kO7fA30dknZv2pA1vmf6PkmQQqTkmrCqNDfd0IwOScDpbcGV8sBqdw5vpb9jbZ6cW1XwxdzFEW6pwK4hxcYiEFszvLU9DDUeYOW6fXUMHMGmqGxG66ZoKQRmDdGvaLBg3aWuVa64QXd2Wt/GydZWentKxUUNS7G9FjrYGUxqaKfNWPkYpWDSn/UPX2tDKenUUbcdJaKqK3L6HSQdvQLqcGDcHUqiL/N8kv3nRtO3waYXZpqweey9d0ARUP2BsaoPM82X/jnf6C0opS2nZfEuFMVM2HqhVnVQTHeRy3ilgBDv49KA1lQJUnuETKFW85sOGbyp53BmEbbpbAYaYsAZf8bfZRkcdndnQ8glv+AEL8brzIVovltVzkC9MhKXlbZ6JjUMPx5hy8pF2Jk/mWfVG1NFXa4LFKbJLgKfNXI8IHs2E4GFTOt52azB1CFwXsuPfrvUhT9PfIeUgnr5/p66cL2LgROaFFDaGRtA/8X2g87bVjjuds5BQyS8Q7gdqh4XphoaQmzzaDa6TdwpGq40yqCaSfLkuMfpZIV2dFwJo15nulbEqWlV3hKgayWedYDv04imFP3IUtrZXeB4j1J4JGu0SNdzGjZpk/dbfTu7mAOEbGZZFKg0CP4+tfJp/7WAcQGUe/G2+oqH27aeWrX2+N6fu607QG6ZtUr9JLeSsPqH4vkdot/C5MVLU621JVIcX7dOAUdI8EvbeH416jGfHnWLPyfS704XDwdF/ETsvi1vYqT+YCiycuIS1tKltZVvf+qmXmEcVU7nhA0d7X29FUrP74FV/oPVJfWiZHZoiBv3/NtQwAnFEUbUs3KqNGl0qm8R7DN0xobGxZRiO3iXt69yP/tJYgSfPa4V0w0H7NGL27EE7L0RyGP6UtePjTF9nZfZcFxXYj1Hoy9RsgsU6rcTE9MXUQIoJqX4SEUTa9z5/PhKVHct8GMhEHkqOYl9IJv71+w7w6UmsPXyJOGu/EBXAuYy61tXnvr5YkpbZmFW6vVrCRBD2nuN5xK0GtKq694akNbzbTa+FK3gopRX3xUQDmLRv6n1iji1JaOnm+L5eqsUO3/B4dnIsil4PmYDhzQeZfNVkJzxaePeEfbTnnZplk8wILvWW5HEfhc1C49lbpR4VCTHbjz/8blramgplcKAZmWjnBQAIhLT4jtAJeETdrjd3+YwOv8dHh8Q5iBHkXi+TN9xhnm4BdrOn8VRZluLNnfaKtYbzIEKkBTQiH7sJmdiunoCdFzVKzfsGtIitZz0Z11IfL1XPiamt4RCv6IApqojdvSydo1i1rilZrsBU6bRWd0A+yLlnw+P6qKari5jSUA2//nODZ5qSrjSn2DCyzC0oNlDSe+Oemhhing1Lm2TI2+3DaJlf09poJi2uc9VYfLPVQvXo7BAlbIxI3KuxDkPF0pz08Yyme2YDhKNgUSOLwOkjgmZJgw9zDFtf08BuLfyxZ3YAdFXdI8ZhdGireTngzdq5ZAJpIOTgDD5UybMq4/bvzkgC1FLsdMyxdk9ad3ulnu3iq1ff1xCBAP56TqOSse/Ts
Content-Type: multipart/alternative; boundary="_000_PH0PR03MB6300F2F412DE375EE311DEB6F6799PH0PR03MB6300namp_"
MIME-Version: 1.0
X-OriginatorOrg: rbbn.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: PH0PR03MB6300.namprd03.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 679ec0df-75d1-471b-8f41-08db55d8151d
X-MS-Exchange-CrossTenant-originalarrivaltime: 16 May 2023 06:37:55.8178 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 29a671dc-ed7e-4a54-b1e5-8da1eb495dc3
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: hcYA89tad+YL/kA9FqdGN9uiAifDOLcgiS5vyrToyeoZzCrIhCF7cA6wdcMB6grS/Zmb0MLTGGmUe23+/eORgA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR03MB6419
Archived-At: <https://mailarchive.ietf.org/arch/msg/bess/OLXO5_mA3rF05TRmDHyZ-iGX2ds>
Subject: Re: [bess] [EXTERNAL] Re:[EXTERNAL] Re:[EXTERNAL] Re: Discussion on rfc7432bis and draft-rabadan-bess-evpn-inter-domain-opt-b
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, 16 May 2023 06:38:13 -0000

Hi Yubao,
The scenario in which MAC-VRFs  that locally represent the same EVI in different nodes may have severe implications on the EVPN operation.
E.g., consider the scenario in which:

  1.  An EVI that implements LAN-based service interface:
     *   Is instantiated in 3 nodes – PE-1, PE-2 and PE-3,
     *   Is attached to single-homed Ethernet Segments in PE-1 and PE2
     *   MAC-VRFs that locally represent this EVI in PE-1 and PE-2 use the same RD.
  2.  Initially, MAC-VRF in PE-1 locally learns reachability to a certain MAC address M from the single-homed Ethernet Segment to which it is attached and advertises reachability of this MAC address in an EVPN MAC/IP Advertisement (Type 2) route. Both the ESI and Ethernet Tag ID field in the NLRI of this route would be set to all zeroes
  3.  Both PE-2 and PE-3 receive and install this route in the FDB of their MAC-VRFs
  4.  At some stage, MAC address M moves to a different customer site and is locally learned by the MAC-VRF in PE-2 from the single-homed Ethernet Segment to which it is attached. As the result
     *   PE-2 advertises reachability of M advertises reachability of this MAC address in an EVPN MAC/IP Advertisement (Type 2) route and attaches a MAC Mobility Extended Community with increased sequence number to this route.
     *   MP-BGP PE-3 receives this route, and notes that the comparable fields of its NLRI (RD, ES, Ethernet Tag ID, MAC address and IP address (if present)  match these fields of a route that it has received from PE-1 because MAC-VRFs in PE-1 and PE2 have been assigned with the same RD. In this case BGP performs the path selection process<https://datatracker.ietf.org/doc/html/rfc4271#section-9.1> to decide which of these two routes with the same |destination” should be used.

                                                               i.      If BGP decides that the route that has been advertised by PE-1 is preferable to the route advertised by PE-2 (e.g., if the IGP cost from PE3 to PE-1 happens to be less than the IGP cost from PE-3 to PE-2) the route advertised by PE-2 will be silently ignored.

                                                             ii.      Therefore, MAC-VRF in PE-3 will not update its FDB, and any traffic it locally receives with Destination MAC address M will be blackholed.

To me this means that, in the case of EVPN, it is really important to guarantee that MAC-VRFs that locally represent the same EVI in different PEs are assigned with different RDs.

Encoding of Route Distinguishers has been defined in Section 4.2 of RFC 4364<https://datatracker.ietf.org/doc/html/rfc4364#section-4.2> . This document states that with Type 1 RDs:

1.       The Administrator subfield is a 4-octet IP address (making it an IPv4 address) state

2.       If this address belongs to the public IPv4 address space, it must have been assigned by the appropriate authority. To me (and, AFAIK, to others) this means that this IP address has been assigned to node in which the VRF (or MAC-VRF) resides.

3.       Usage of addresses from the private IP address space is strongly discouraged.
These definitions guarantee that RDs assigned to VRFs (and MAC-VRFs) residing in different PEs will be always different.

With Type 0 and Type 2 RDs the same document states that the Administrator subfield must be a 2-octet (with Type 0 RDs)  or a 4-octet (with Type 2 RDs) Autonomous System Number.
If this number is from the publics AS Number space, it must have been assigned by the appropriate authority while usage AS Numbers from the private space is strongly discouraged. To me (and, AFAIK, to others) this means that this AS Number has been assigned to the AS containing the node in which the VRF (or MAC-VRF) resides, and, therefore would be the same for all  the nodes within the same AS. Therefore, there are no guarantees that VRFs (or MAC-VRFs) that locally represent the same EVI in different nodes would use different RDs.

Please note also that both RFC 7432 and of 7432bis draft pay special attention to the so-called “Unique VLAN EVPN scenario” and define special procedures for deriving both the RD and the RT of all the MAC-VRFs that locally represent such an EVPN instance from the VLAN ID value associated with this EVPN.  AFAIK, many implementations have explicitly incorporated this mechanism in their implementations so tha the operators using these implementations, only confiure the same “EVPN ID” value (the same in all the PEs whener this EVPN instance is instantiated) and letting the PEs to auto-derive both the RDs and RTs of the corresponding MAC-VRFs. This scheme has been also adopted by the authors of the (expired) EVPN YANG data model draft<https://tools.ietf.org/html/draft-ietf-bess-evpn-yang-07>.

The bottom line:

  1.  I do not see any operational advantage in assigning Type 0 or Type 2 RDs to MAC-VRFs, and I see quite a few potential pifalls with such usage.
  2.  Therefore:
     *   I think that both the restriction to just Type 1 RDs in EVPN per ES Ethernet A-D routes and recommendation to assign Type 1 RDs for MAC-VRFs should be retained in 7432bis
     *   I also suggest adding a recommendation in 7432bis to use the same IP address in the Administartor subfield of Type 1 RDs of all EVPN routes advertised by a specific PE.

Regards,
Sasha

From: wang.yubao2@zte.com.cn <wang.yubao2@zte.com.cn>
Sent: Tuesday, May 16, 2023 7:07 AM
To: Alexander Vainshtein <Alexander.Vainshtein@rbbn.com>
Cc: draft-rabadan-bess-evpn-inter-domain-opt-b@ietf.org; rfc7432bis@ietf.org; bess@ietf.org; jorge.rabadan@nokia.com
Subject: [EXTERNAL] Re:[EXTERNAL] Re:[EXTERNAL] Re: [bess] Discussion on rfc7432bis and draft-rabadan-bess-evpn-inter-domain-opt-b




Hi Sasha,



When a MAC-VRF use a type 1 RD,  is it expected that the RD of the EVPN Instance has differnet RD on different PE? When a MAC-VRF use a type 2 RD,  is it expected that the RD of the EVPN Instance has the same RD on different PE?

In many deployment, whether the RD of the EVPN Instance has different RD-value on different PE is independent of the RD-type.

The RD of A-D per ES route is limited to type 1 RD just because orther RD-types are assumed that they will have the same value for a specified EVI on different PEs.

Is my understanding correct?



Another way is constructing each A-D per ES route separately by using the RD of corresponding MAC-VRF, as described in draft-rabadan-bess-evpn-inter-domain-opt-b.



Thanks,

Yubao




原始邮件
发件人:AlexanderVainshtein
收件人:王玉保10045807;
抄送人:draft-rabadan-bess-evpn-inter-domain-opt-b@ietf.org;rfc7432bis@ietf.org;bess@ietf.org;jorge.rabadan@nokia.com<mailto:draft-rabadan-bess-evpn-inter-domain-opt-b@ietf.org;rfc7432bis@ietf.org;bess@ietf.org;jorge.rabadan@nokia.com>;
日 期 :2023年05月15日 21:24
主 题 :RE: [EXTERNAL] Re:[EXTERNAL] Re: [bess] Discussion on rfc7432bis and draft-rabadan-bess-evpn-inter-domain-opt-b
Hi Yubao,
Can you please clarify what you mean by “another way to construct A-D per ES route has been in sight”?

From my POV using Type 1 RDs in all types of EVPN routes has multiple advantages – starting from the fact that it prevents RRs suppressing routes advertised by different PEs as part of the BGP path selection process. (The same actually applies for VPN-IP routes as well). IMHO and FWIW the operators should be discouraged from using other RD types even when it is not already prohibited.
The bottom line: For the record I strongly oppose the proposal to relax the limitation on RDs in EVPN per ES Ethernet A- (Type 1) routes that exists from the -00 revision of the EVPN draft<https://clicktime.symantec.com/15sLvSXvBP3UBnNF1aJvo?h=BDT5-g37Z7iFFy2u11jpjIstNkzW3RH-WmA8ATBcgNM=&u=https://datatracker.ietf.org/doc/html/draft-ietf-l2vpn-evpn-00%23section-10.1.2>.

Regards,
Sasha

From: wang.yubao2@zte.com.cn<mailto:wang.yubao2@zte.com.cn> <wang.yubao2@zte.com.cn<mailto:wang.yubao2@zte.com.cn>>
Sent: Monday, May 15, 2023 3:56 PM
To: Alexander Vainshtein <Alexander.Vainshtein@rbbn.com<mailto:Alexander.Vainshtein@rbbn.com>>
Cc: draft-rabadan-bess-evpn-inter-domain-opt-b@ietf.org<mailto:draft-rabadan-bess-evpn-inter-domain-opt-b@ietf.org>; rfc7432bis@ietf.org<mailto:rfc7432bis@ietf.org>; bess@ietf.org<mailto:bess@ietf.org>; jorge.rabadan@nokia.com<mailto:jorge.rabadan@nokia.com>
Subject: [EXTERNAL] Re:[EXTERNAL] Re: [bess] Discussion on rfc7432bis and draft-rabadan-bess-evpn-inter-domain-opt-b




Hi Sasha,



Thanks for your helpful notes.

There is only one method to determine the RD of A-D per ES routes in the original years of RFC7432, but now there are at least two methods to determine the RD of A-D per ES routes.

If it is the only reason why RFC7432 restrict the RD of A-D per ES route to type 1 RD, maybe it is a good chance for the restriction to be relaxed, because another way to construct A-D per ES route has been in sight.

The original way can still be “RECOMMENDED”while other ways don't have to be forbidden. Maybe we can say that it is out of the scope of rfc7432bis (but not forbidden).



If RFC7432 is not revised, people who decide not to assign Type 1 RDs to  MAC-VRFs should bear the consequences in mind, including non-applicability of the solution suggested in Section 3.1.2 of the EVPN Inter-Domain Option B draft<https://clicktime.symantec.com/15siFALMfJ21KxF7rKwJX?h=a68vMaID3OjatSV90lFuCgmEvl0FrxLZtiXQdb2gyNY=&u=https://datatracker.ietf.org/doc/html/draft-rabadan-bess-evpn-inter-domain-opt-b%23section-3.1.2>, as you point out in another mail. But when RFC7432 is revised and rfc7432bis is still a draft, I think it will be better to take new scenarios into account.



Especially on a RR node,  according to RFC7432 or current rfc7432bis, a RR has to discard the A-D per ES routes which don't have a type 1 RD, but a RR is not responsible for selecting different RD for different set of route-targets at all. A RR has no difficulty to permit a A-D per ES route with other RD-type to pass through, while it has to discard it according to current rfc7432bis.



Thanks,

Yubao




原始邮件
发件人:AlexanderVainshtein
收件人:王玉保10045807;
抄送人:draft-rabadan-bess-evpn-inter-domain-opt-b@ietf.org;rfc7432bis@ietf.org;bess@ietf.org;jorge.rabadan@nokia.com<mailto:draft-rabadan-bess-evpn-inter-domain-opt-b@ietf.org;rfc7432bis@ietf.org;bess@ietf.org;jorge.rabadan@nokia.com>;
日 期 :2023年05月15日 16:09
主 题 :RE: [EXTERNAL] Re: [bess] Discussion on rfc7432bis and draft-rabadan-bess-evpn-inter-domain-opt-b
Yubao,
Please note that an EVPN PE that s attached to a MH ES, generally speaking, has to generate multiple per-ES A-D routes with the ESI of this MH ES in their NLRI.
This happens because:

1.       The set of these routes, in its entirety, must carry the Route Targets of all the EVI that are local attached to this MH ES

2.       The number of Route Targets that can be caried in a single BGP Update message is limited.

For BGP path selection process not to suppress some of these routes, these routes in this set must include different RDs in their NLRI.
Since the set of these routes changes dynamically as new EVIs are attached to/detached from the MS EH in question, these RDs have to be auto-generated by the PE itself.
This, in its turn requires usage of Type 1 RDs because these can be auto-generated by the PEs while remaining globally unique.

The bottom line: Restriction of RDs used in the NLRI of per-ES Ethernet A-D routes cannot be relaxed.

Hope this helps.

Regards,
Sasha

From: BESS <bess-bounces@ietf.org<mailto:bess-bounces@ietf.org>> On Behalf Of wang.yubao2@zte.com.cn<mailto:wang.yubao2@zte.com.cn>
Sent: Monday, May 15, 2023 10:40 AM
To: jorge.rabadan@nokia.com<mailto:jorge.rabadan@nokia.com>
Cc: draft-rabadan-bess-evpn-inter-domain-opt-b@ietf.org<mailto:draft-rabadan-bess-evpn-inter-domain-opt-b@ietf.org>; rfc7432bis@ietf.org<mailto:rfc7432bis@ietf.org>; bess@ietf.org<mailto:bess@ietf.org>
Subject: [EXTERNAL] Re: [bess] Discussion on rfc7432bis and draft-rabadan-bess-evpn-inter-domain-opt-b




Hi Jorge,



I think the description in draft-rabadan-bess-evpn-inter-domain-opt-b is OK. But I don't know why the RD of AD per ES route is limited to type 1 RD. That's why I talk about this together with rfc7432bis.

If the scenario from draft-rabadan-bess-evpn-inter-domain-opt-b has shown out that it will be useful for the RD-type of AD per ES route being consistence with MAC-VRF RD, I think maybe it is not necessary for rfc7432bis to keep these restraints unchanged. I notice that you are also a co-author of rfc7432bis, how do you think from the viewpoint of rfc7432bis?



Thanks,

Yubao




原始邮件
发件人:JorgeRabadan(Nokia)
收件人:王玉保10045807;draft-rabadan-bess-evpn-inter-domain-opt-b@ietf.org;rfc7432bis@ietf.org;
抄送人:bess@ietf.org<mailto:bess@ietf.org>;
日 期 :2023年05月13日 00:23
主 题 :Re: Discussion on rfc7432bis and draft-rabadan-bess-evpn-inter-domain-opt-b
Hi Yubao,

Thanks for reviewing the document.
I don’t see any conflicting information:


1.       On one hand the use of type 1 RD for MAC-VRF is RECOMMENDED in rfc7432bis, which means that normally people will have a type 1 RD in MAC-VRFs. If you don’t follow that strong recommendation for the MAC-VRF RD, you can’t use the documented solutions in 3.1.2 or 3.1.3

2.       On the other hand draft-rabadan-bess-evpn-inter-domain-opt-b is documenting some existing solutions, but not specifying or imposing any in particular.

So I don’t think there is conflicting information. But if you still think we should clarify that in draft-rabadan-bess-evpn-inter-domain-opt-b we’ll be happy to do it.

Thanks.
Jorge

From: wang.yubao2@zte.com.cn<mailto:wang.yubao2@zte.com.cn> <wang.yubao2@zte.com.cn<mailto:wang.yubao2@zte.com.cn>>
Date: Friday, May 12, 2023 at 4:54 AM
To: draft-rabadan-bess-evpn-inter-domain-opt-b@ietf.org<mailto:draft-rabadan-bess-evpn-inter-domain-opt-b@ietf.org> <draft-rabadan-bess-evpn-inter-domain-opt-b@ietf.org<mailto:draft-rabadan-bess-evpn-inter-domain-opt-b@ietf.org>>, Jorge Rabadan (Nokia) <jorge.rabadan@nokia.com<mailto:jorge.rabadan@nokia.com>>, rfc7432bis@ietf.org<mailto:rfc7432bis@ietf.org> <rfc7432bis@ietf.org<mailto:rfc7432bis@ietf.org>>
Cc: bess@ietf.org<mailto:bess@ietf.org> <bess@ietf.org<mailto:bess@ietf.org>>
Subject: Discussion on rfc7432bis and draft-rabadan-bess-evpn-inter-domain-opt-b

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,



It seems that draft-rabadan-bess-evpn-inter-domain-opt-b has conflicting discription with rfc7432 about the RD-type of AD per ES routes:



Section 3.1.3 of draft-rabadan-bess-evpn-inter-domain-opt-b-00:   "If that is the case, now the A-D per ES routes can use the route distinguisher assigned to the EVPN Instance (or VRF), which is the same one used by the routes type 2 or 5 for the EVI."

Section 8.2.1 of rfc7432bis: "The Route Distinguisher MUST be a Type 1 RD [RFC4364].  The value field comprises an IP address of the PE (typically, the loopback address) followed by a number unique to the PE."



The RD of EVI is not always a Type 1 RD but rfc7432 says that the RD of AD per ES route MUST be a Type1 RD. If it is not necessary to prevent other RD-types from being used in AD per ES routes, is it better for rfc7432bis to change the "MUST" to "MAY" ?  I think such change is also compatible.



Thanks,

Yubao



Notice: This e-mail together with any attachments may contain information of Ribbon Communications Inc. and its Affiliates that is confidential and/or proprietary for the sole use of the intended recipient. Any review, disclosure, reliance or distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, please notify the sender immediately and then delete all copies, including any attachments.



Notice: This e-mail together with any attachments may contain information of Ribbon Communications Inc. and its Affiliates that is confidential and/or proprietary for the sole use of the intended recipient. Any review, disclosure, reliance or distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, please notify the sender immediately and then delete all copies, including any attachments.



Notice: This e-mail together with any attachments may contain information of Ribbon Communications Inc. and its Affiliates that is confidential and/or proprietary for the sole use of the intended recipient. Any review, disclosure, reliance or distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, please notify the sender immediately and then delete all copies, including any attachments.