Re: [bess] A minor contradiction between RFC 9135 and RFC 9136?

"Jorge Rabadan (Nokia)" <jorge.rabadan@nokia.com> Fri, 22 December 2023 19:19 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 691C2C151094 for <bess@ietfa.amsl.com>; Fri, 22 Dec 2023 11:19:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.106
X-Spam-Level:
X-Spam-Status: No, score=-2.106 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_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=unavailable 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 ObMuTeBnRobC for <bess@ietfa.amsl.com>; Fri, 22 Dec 2023 11:19:01 -0800 (PST)
Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2108.outbound.protection.outlook.com [40.107.92.108]) (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 36566C151067 for <bess@ietf.org>; Fri, 22 Dec 2023 11:19:01 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZoC9CUaiW8tpzxdzo40qmv21fTWdXDHuSUHD8psEoPnQAK9lXTpqaAdqhn14PfvE8WlClafxjyruSednTfnF20qfhi2FDxXv6zLd4rqa03/Cx9O6frOFsJQFHUj1+k6zKL/ImcS3l45zMMac8ntl6/v/CesAx/oUUHczLG8uYC7t8JwlsxIHvWnjT0Ln0NQdAJiRZKuby8JXgjgjkhJOtp41qshdTpaEPyLsgJT0pmt3ym/4m9vw2y0iBWqPNB1NysxRX3sIrNNGZCg3ZlYvFnnDuEmm7+s338hDuRCmsmtRrB1pzHxVsumeHzPyn3f3uYtKmCphnZwufJROxOmk/Q==
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=ZqU9WjEzOCQBZVgWjzAdK1dtJn9cceFgdhJrSZltB8Y=; b=oBhACtxKlQM2JMHhcwCyqbA8TA0sro69N4tJq8jSu9XC98N/rq7tB/RlAyVJ4awnTKR3dJuPGh4TYE6wqyCc9Icj1XzJ1uAeFs3HADpMSCE69Oj7RviVytL9ZXjdKZo7/7db03cZvpWte2NYkl4H+8zOHajTZNtyZwKf+QSxQRr67f8oUqlcm/BfHU3eVy0BiyVrWPYyc5lECm89EYs6G8k+76QDtSRnwvrFYMNxKbDCCG/PSFWNV+G3nu3oHfCgWrRdHrCc/TOSFLA89RtWP0M3wByD5DqyTA3tHSXCzl1tbyNYp3+Pl3OQGIdkQcXd8AOP0vs9u0iMc1Zy7KhWug==
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=ZqU9WjEzOCQBZVgWjzAdK1dtJn9cceFgdhJrSZltB8Y=; b=r0ou9a64HLbtUI8nfzECGbZRZUpUKpJ09/+wSL8P55J3HjHePlm/gMdub56XIu7P4FE9gUEdooDcQ5dq/Qoy1RGI4V65ry7VKR8H5h2X3AnyVLNRZd2YdRK49h1W8BuB628d9rUx5+gAoAmjRXkbN3Bj84Bt7ZnQsJt+Wof4tYM/l2/1hJoGMKKjRc6S0cBn2vIezYX4yR9U5WCXkW4rfw3fMRoxxztmn348da1bhW954wmJzSujhrGGD8yoRNQso7haLtJJYD1qnkHr3tarHh6AHsd+birFNPpa6/OxKEIMnL8Js52o+NQgX2ATF7nBjAx/TZj+e5DblFXb5ABpxw==
Received: from LV8PR08MB9584.namprd08.prod.outlook.com (2603:10b6:408:1fb::21) by CYXPR08MB8966.namprd08.prod.outlook.com (2603:10b6:930:e5::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7135.10; Fri, 22 Dec 2023 19:18:54 +0000
Received: from LV8PR08MB9584.namprd08.prod.outlook.com ([fe80::4f49:ecfb:16c5:f229]) by LV8PR08MB9584.namprd08.prod.outlook.com ([fe80::4f49:ecfb:16c5:f229%4]) with mapi id 15.20.7135.008; Fri, 22 Dec 2023 19:18:54 +0000
From: "Jorge Rabadan (Nokia)" <jorge.rabadan@nokia.com>
To: Alexander Vainshtein <Alexander.Vainshtein@rbbn.com>, "Wim Henderickx (Nokia)" <wim.henderickx@nokia.com>, "Ali Sajassi (sajassi)" <sajassi=40cisco.com@dmarc.ietf.org>, John E Drake <jdrake=40juniper.net@dmarc.ietf.org>, "wlin@juniper.net" <wlin@juniper.net>, "ssalam@cisco.com" <ssalam@cisco.com>, "sthoria@cisco.com" <sthoria@cisco.com>
CC: "bess@ietf.org" <bess@ietf.org>
Thread-Topic: A minor contradiction between RFC 9135 and RFC 9136?
Thread-Index: Adoa3YTpTqFpYd1CQyqPGEb8N2CtMAABOXTwBBymZ+ACbSlZWg==
Date: Fri, 22 Dec 2023 19:18:54 +0000
Message-ID: <LV8PR08MB9584C885647193A10D364008F794A@LV8PR08MB9584.namprd08.prod.outlook.com>
References: <PH0PR03MB6300330F7D210F521B1B4F97F6B5A@PH0PR03MB6300.namprd03.prod.outlook.com> <PH0PR03MB6300F5969DF31117422C5FE6F6B5A@PH0PR03MB6300.namprd03.prod.outlook.com> <PH0PR03MB63007F973489EFCA6204F13BF688A@PH0PR03MB6300.namprd03.prod.outlook.com>
In-Reply-To: <PH0PR03MB63007F973489EFCA6204F13BF688A@PH0PR03MB6300.namprd03.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
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: LV8PR08MB9584:EE_|CYXPR08MB8966:EE_
x-ms-office365-filtering-correlation-id: 580e3f23-6438-4d70-473a-08dc0322d6e3
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: WgPsAgMiZnX0WnyczUg2vQ04Lc1WdJVFlEpVAfLL5UFf8n091Jr/Tgm3LVZq3vGvUAESf6z2SnwliHp3gBJjAVG4g6BJPIA95ODclDhHpc5G4oowyOFZqzqlX6JyvjC5vu4c0+JIrtlxFqmO34wIZ3MS4MjPMC3mt8EGXEq/QJ8veKOVvANOocSA50rrvEJwsRnAoXRXKrp/h5WDoqY3jeq/7GHYK0BUzRPyrvhxkNP0rYDh7VsbBaXnutcrIiIObwOI3110p7cniJ2vcAQXD49Lk2GhCr+W7TdfUk4NSxYdUjbz1EHIxlzrIZAlxm7S4VaTH9fhkgUV8iApI4forGv2xjJ2MOSZ8WTbwaW/AaV6hL8wFeB56EBEDwjXg4+MMsQXmJB0nCwewC8LzUF2ebizyaJ5ovqWsDRZeQ4F18LZt7nxl4eRKFoPmQYj9tsiWgCYAS0fY7OC9k3Y7DThF9M2YOa4p6s7Ji/KXnU71ibx4RFewuj4vM/JTBulonFYX1UD/h1w0aKS8096XhCTcRMx6bdudB5EAlP020IrDKr/vRS8qAfTyByi0UDfJNst/VpRN6JxENCZwn8wlxe/NPGecX5p2EIw7v/kDIKZh10HLo6Vouzcl/NVrB3vc/UitVPMjGk5hBlFT0DRf60rPjM4s9UEuPzvJyG8YiQpKpdQZhQLMDekNnuKtg+kSKe3
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:LV8PR08MB9584.namprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(376002)(366004)(39860400002)(136003)(346002)(396003)(230922051799003)(230273577357003)(230473577357003)(230373577357003)(230173577357003)(64100799003)(186009)(451199024)(1800799012)(66899024)(83380400001)(122000001)(86362001)(99936003)(33656002)(38100700002)(41300700001)(82960400001)(21615005)(166002)(5660300002)(66476007)(66556008)(66446008)(8676002)(9326002)(8936002)(316002)(110136005)(52536014)(76116006)(64756008)(66946007)(4326008)(7696005)(71200400001)(26005)(9686003)(53546011)(478600001)(6506007)(2906002)(38070700009)(84970400001)(55016003); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: feyZ0q7SWV4EoWouvuLiwGmRYCgTpx8jt4pSopKuDsH38JYkAo79faIjcOyaLM6CgHnjp6Igl84rxkk33adc2pmkd70QKJiMsuHJCyv63AeBWyGBZkqPSsD23lDxDxb4w0Zu0Y4/xSDkL/phLVeLLeAo7VLNlnP0XI40QhSN+FbFnaeAdDxg+flb3uJZO1Y0sxiqyig0xuHFWTd6+2K9lnwnir9VI+7DtLZD710Ry4TK85ezbhnLPNprg3v5GeVLPPwxkBQr2IPMqFHhK/FMBH9atRF2FoodUGvkvB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NIxPBvWqfwhVMsjKVW77CjA5mNlSwiyAuEK4ZdiSvV+1YJa/vQWTATMK6BuJvIoUBi5qMYI8SXZ9vNZAoV5OQXvWoPPeZ+Fygqpm2GyKMaG008e8lJAZshRg/Hd4bjEL/gw8sfXx+q+jStTJ2xYCWMiyybkeFWhSVN6QQYoVzZKk3KdbLKZneT0N35MoFVtz4oN/mArWPZSPTWWjxrCgCpmjXLbadas90zXZ9ojw==
Content-Type: multipart/related; boundary="_004_LV8PR08MB9584C885647193A10D364008F794ALV8PR08MB9584namp_"; type="multipart/alternative"
MIME-Version: 1.0
X-OriginatorOrg: nokia.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: LV8PR08MB9584.namprd08.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 580e3f23-6438-4d70-473a-08dc0322d6e3
X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Dec 2023 19:18:54.8442 (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: 1frSkxdLhZ6DFGqzWOr+m18qDQdCvMqGAdidBLlu5aWuQgnWQuf5vSPbFkNYTxOD+utMck8C5yJkj5UOy4tFag==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CYXPR08MB8966
Archived-At: <https://mailarchive.ietf.org/arch/msg/bess/JKdujGW7Mh6fY4id3xGnlyI8qoI>
Subject: Re: [bess] A minor contradiction between RFC 9135 and RFC 9136?
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: Fri, 22 Dec 2023 19:19:06 -0000

Hi Sasha,

In your case, the route type 5 would use the RD of the IP-VRF. I don’t think any implementation would do anything different.

RFC9136 says the RD has to be used in the same way it is defined in RFC7432, but the text refers to the recommendation of using a type 1 RD and its uniqueness, in fact the spec says that you take the RD from a mac-vrf or an ip-vrf. This could have been explicitly written, but I don’t think it creates any interop issue at all. We’ve been testing this across vendors for quite some time now, and I don’t see issues.

RFC9136 allows using the RD of a mac-vrf in a few cases where the there is no ip-vrf and a route type 5 is generated, but in the ip-vrf-to-ip-vrf cases you would use the RD of the IP-VRF.

My 2 cents.

Thanks.
Jorge

From: Alexander Vainshtein <Alexander.Vainshtein@rbbn.com>
Date: Sunday, December 10, 2023 at 2:39 AM
To: Jorge Rabadan (Nokia) <jorge.rabadan@nokia.com>, Wim Henderickx (Nokia) <wim.henderickx@nokia.com>, Ali Sajassi (sajassi) <sajassi=40cisco.com@dmarc.ietf.org>, John E Drake <jdrake=40juniper.net@dmarc.ietf.org>, wlin@juniper.net <wlin@juniper.net>, ssalam@cisco.com <ssalam@cisco.com>, sthoria@cisco.com <sthoria@cisco.com>
Cc: bess@ietf.org <bess@ietf.org>
Subject: RE: A minor contradiction between RFC 9135 and RFC 9136?

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,
A gentle reminder…

Regards,
Sasha

From: Alexander Vainshtein
Sent: Sunday, November 19, 2023 2:22 PM
To: Rabadan, Jorge (Nokia - US/Mountain View) <jorge.rabadan@nokia.com>; wim.henderickx@nokia.com; Ali Sajassi (sajassi) <sajassi=40cisco.com@dmarc.ietf.org>; John E Drake <jdrake=40juniper.net@dmarc.ietf.org>; wlin@juniper.net; ssalam@cisco.com; sthoria@cisco.com
Subject: FW: A minor contradiction between RFC 9135 and RFC 9136?

Hi all,
The email expansions for the authors of RFC 9135 and RFC 9136 do not work anymore.
Therefore, I forward my email to you individually.

Regards,
Sasha

From: Alexander Vainshtein
Sent: Sunday, November 19, 2023 2:08 PM
To: draft-ietf-bess-evpn-prefix-advertisement@ietf.org<mailto:draft-ietf-bess-evpn-prefix-advertisement@ietf.org>; draft-ietf-bess-evpn-inter-subnet-forwarding@ietf.org<mailto:draft-ietf-bess-evpn-inter-subnet-forwarding@ietf.org>
Cc: bess@ietf.org<mailto:bess@ietf.org>
Subject: A minor contradiction between RFC 9135 and RFC 9136?
Importance: High

Hi all,
I see what looks to me as a contradiction between Section 9.1.1 of RFC 9315<https://datatracker.ietf.org/doc/html/rfc9135#section-9.1.1> and Section 4.4.1 of RFC 9136<https://datatracker.ietf.org/doc/html/rfc9136#section-4.4.1>:


The former:

Defines a Symmetric IRB as an interface connecting an IP-VRF to an EVPN Broadcast Domain (a MAC-VRF or a specific BBD within a MAC-VRF that implements VLAN-Aware service interface)

Describes an IP Prefix (EVPN Type 5, a.k.a. RT-5) route advertised for the subnet of a Symmetric EVPN IRB and states that RD in the NLRI of this route is the RD of IP-VRF that contains that the IRB in question

The latter describes the Interface-less IP-VRF to IP-VRF model:

To the best of my understanding, this model deals with just Symmetric IRBs

The RFC states that the NVE/DGW will, for each of its prefixes, advertise an RT-5 with RD in its NLRI as defined in RFC 7432<https://www.rfc-editor.org/rfc/rfc7432.html>. Since RFC 7432 does not refer to IP-VRFs at all, this strongly suggests to me that it means RD of a MAC-VRF .

The following diagram shows why this difference may be meaningful:

[cid:image001.png@01DA2B65.E342FB80]
In this diagram PE-1, PE-2 and PE-3 can only exchange L2VPN/EVPN routes but not VPN-IP routes.
Suppose that IP-VRF in PE-1 and PE-2 are configured with a static route to SN-. In this case:

PE-1 and PE-2 can advertise RT-5 for SN-1 using either RDs of IP-VRFs or RDs of MAC-VRF

If RT-5 uses RDs of containing IP-VRF, bi-directional connectivity between devices in SN-1 and SN-2 can be established

If RT-5 uses RDs of MAC-VRF in its NLRI, PE-3 cannot advertise RT-5 for SN-2 because there is no MAC-VRF in this PE.


What, if anything,  do I miss?

Your timely feedback would be highly appreciated.

Regards, and lots of thanks in advance,
Sasha



Disclaimer

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.