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

Alexander Vainshtein <Alexander.Vainshtein@rbbn.com> Sun, 24 December 2023 08:10 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 17C3FC14F602 for <bess@ietfa.amsl.com>; Sun, 24 Dec 2023 00:10:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.104
X-Spam-Level:
X-Spam-Status: No, score=-2.104 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_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, 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 (1024-bit key) header.d=rbbn.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 grQqbtbb6T3Y for <bess@ietfa.amsl.com>; Sun, 24 Dec 2023 00:10:36 -0800 (PST)
Received: from usb-smtp-delivery-110.mimecast.com (usb-smtp-delivery-110.mimecast.com [170.10.151.110]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9C05CC14F601 for <bess@ietf.org>; Sun, 24 Dec 2023 00:10:36 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rbbn.com; s=mimecast20230413; t=1703405435; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=LEGFilhEnYtZZ0/HWdVDqSdkrVoaIGQjDa14NBbDMpE=; b=CCXA0AXB/ec/wlQyl34jsr8A/i+BjRbmLHNytQWlmfL/H6A6L6rEjZLcbvzNzm2oK3mQgx Acg0GotPWFliTw0O/gKwp7CejwBakIrpfRdF59HvuPSBeccSIeQ3BldEQzmqYsXLM+kjn4 G1cr7PbUWCTfiEdPTz8gC8vzlZrYS4s=
Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12lp2169.outbound.protection.outlook.com [104.47.55.169]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id usb-mta-45-xmMcMiKcOda94XEY_Csbgg-2; Sun, 24 Dec 2023 00:10:31 -0800
X-MC-Unique: xmMcMiKcOda94XEY_Csbgg-2
Received: from PH0PR03MB6300.namprd03.prod.outlook.com (2603:10b6:510:e2::5) by CH0PR03MB6129.namprd03.prod.outlook.com (2603:10b6:610:b8::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7113.24; Sun, 24 Dec 2023 08:10:27 +0000
Received: from PH0PR03MB6300.namprd03.prod.outlook.com ([fe80::2038:bab5:ca01:f755]) by PH0PR03MB6300.namprd03.prod.outlook.com ([fe80::2038:bab5:ca01:f755%7]) with mapi id 15.20.7113.023; Sun, 24 Dec 2023 08:10:27 +0000
From: Alexander Vainshtein <Alexander.Vainshtein@rbbn.com>
To: "Jorge Rabadan (Nokia)" <jorge.rabadan@nokia.com>
CC: "bess@ietf.org" <bess@ietf.org>, "Wim Henderickx (Nokia)" <wim.henderickx@nokia.com>, "Ali Sajassi (sajassi)" <sajassi=40cisco.com@dmarc.ietf.org>, "wlin@juniper.net" <wlin@juniper.net>, John E Drake <jdrake=40juniper.net@dmarc.ietf.org>, "ssalam@cisco.com" <ssalam@cisco.com>, "sthoria@cisco.com" <sthoria@cisco.com>
Thread-Topic: A minor contradiction between RFC 9135 and RFC 9136?
Thread-Index: Adoa3YTpTqFpYd1CQyqPGEb8N2CtMAABOXTwBBymZ+ACbSlZWgBNtnNw
Date: Sun, 24 Dec 2023 08:10:27 +0000
Message-ID: <PH0PR03MB63007132C4D0917A63B691DAF69AA@PH0PR03MB6300.namprd03.prod.outlook.com>
References: <PH0PR03MB6300330F7D210F521B1B4F97F6B5A@PH0PR03MB6300.namprd03.prod.outlook.com> <PH0PR03MB6300F5969DF31117422C5FE6F6B5A@PH0PR03MB6300.namprd03.prod.outlook.com> <PH0PR03MB63007F973489EFCA6204F13BF688A@PH0PR03MB6300.namprd03.prod.outlook.com> <LV8PR08MB9584C885647193A10D364008F794A@LV8PR08MB9584.namprd08.prod.outlook.com>
In-Reply-To: <LV8PR08MB9584C885647193A10D364008F794A@LV8PR08MB9584.namprd08.prod.outlook.com>
Accept-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: PH0PR03MB6300:EE_|CH0PR03MB6129:EE_
x-ms-office365-filtering-correlation-id: 36c99501-a260-4949-c4a0-08dc0457c9db
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0
x-microsoft-antispam-message-info: 7/dRi88cy/5vQhHHkTMtNdeutPOtNI2QSthZ6Tld6zPqRbEUIyawGW8E1ZCn/R1HSusioQSaF71tvIYCJ7N2CQ8sC2kPeoyme0sPWxMde0P4GYhH1rNMLfxOeH9kyuNgXiLnc3gTq8EiD7EKUGgXdCjT+r5NRuLYZSLADoMi5eR7+2ODel5gLkxo6KHaz8UlH1zTPz+T6rGKxQAMmcDp9rr7iZ0VFb9V929xeGnLZYDYplAa09MtW+6frID8DGTEMurlCVLDUFaPhH0R+nuJGfswbneDN5nESNh+lqyC7BEgJjXkUo0SoiGAa5Z/SWt5C8Yd29nphWUqA0AmYtrQXlKavKqrlzYCmH0D8ofi/A9wyxkv+7FgSS7YIEDHXMxHjfwMM3krYklUL24l6SUmRsPBFDrV2OtfOQr3qwi4bHHoBGm1F1DuhImh/PnX3+vCiERJaK6TMHkFwR2D8o7nhN/k17Xhz6dyPZsdy57xDC3PaURth7BdKADmWAHkB6pn7SKnv6/iYJgTZJRfV5OlPvgbJzHBOZDU7Bu4JHYG7Uh0eB0xFRzuJBJV0m/1xqeqvVofsXs3+74/bl5upmJeenHKe6+5Uj32d5OAZXBPmrmpKHs077JlmmxoDTq8LZ1ZpQLqjMly9Kor1Li0UFBcuP5ue5t8vv7F/wboauEEpYbyEMflkM5nXNddew3S97nQ
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:(13230031)(366004)(39850400004)(346002)(136003)(376002)(396003)(230473577357003)(230273577357003)(230922051799003)(230173577357003)(230373577357003)(451199024)(1800799012)(64100799003)(186009)(296002)(316002)(76116006)(9686003)(54906003)(53546011)(66446008)(86362001)(66476007)(64756008)(66946007)(66556008)(26005)(84970400001)(6916009)(55016003)(66899024)(41300700001)(52536014)(8676002)(8936002)(122000001)(6506007)(38100700002)(4326008)(7696005)(83380400001)(33656002)(99936003)(478600001)(166002)(71200400001)(2906002)(5660300002)(38070700009); DIR:OUT; SFP:1101
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: 2iJA2vxoOHLeNmQt18xyWZBQOs2ZWZ5vOPTmd/4usplbTVdQSsvjZ1Kf+9FNBN4j3W9BszB6xelLPQOLf5Cir7dKPKoF4DA0E8QKjjpe7L6jffEoMBJK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HUhHyszNO9EBLYh78ZPylTnr0W595kFY/wPIUuOwXz4TF/i4ylEUXs604MAhS2so9fDjx73RuWAeCUOlzOrz6VQkp1cQ6X2aQM4Q8KLZqBKh818hDNsUSvnnJupPA3oZiKEJjh77Luwfdht0+IVi1btNCMzDL/CIsD1WI+SecnCgdic8QWYWWV4egVFWq8zs+euXCCTNE4yX1aHITNx5jkNvKdDgZmt93l/Ao9r2MAIeCHvQ10TDmbmKbnOG5ZlNbc+pkgZN71QEYQRqnoPwdJVN3jVmJnG84ZsR+QBwgGt/avtIRTufTyZGtfPHn/Kz0Xb7TG4fjHFFDaSHsVTHTgoNp54q+d7axjvt67INrd89J0xCIX0VrR6NL1J7NEHELn0YeaKDQgIqq
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: 36c99501-a260-4949-c4a0-08dc0457c9db
X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Dec 2023 08:10:27.4943 (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: xjeQ6c0qJya3a/ESk/nPlLNKSXnf3l7KNMAiRFKNxkZGJOsbT0w4eUMGREepWUmmpLfYnqWmDDDSnWv3U3Qq7g==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR03MB6129
X-Mimecast-Spam-Score: 0
X-Mimecast-Originator: rbbn.com
Content-Language: en-US
Content-Type: multipart/related; boundary="_004_PH0PR03MB63007132C4D0917A63B691DAF69AAPH0PR03MB6300namp_"; type="multipart/alternative"
Archived-At: <https://mailarchive.ietf.org/arch/msg/bess/16NZ93yIqvXPrg2E3UtJAf7XY4U>
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: Sun, 24 Dec 2023 08:10:41 -0000

Jorge,
Lots of thanks for your email. It really helps.

Regards,
Sasha

From: Jorge Rabadan (Nokia) <jorge.rabadan@nokia.com>
Sent: Friday, December 22, 2023 9:19 PM
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; ssalam@cisco.com; sthoria@cisco.com
Cc: bess@ietf.org
Subject: [EXTERNAL] Re: A minor contradiction between RFC 9135 and RFC 9136?

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<mailto:Alexander.Vainshtein@rbbn.com>>
Date: Sunday, December 10, 2023 at 2:39 AM
To: Jorge Rabadan (Nokia) <jorge.rabadan@nokia.com<mailto:jorge.rabadan@nokia.com>>, Wim Henderickx (Nokia) <wim.henderickx@nokia.com<mailto:wim.henderickx@nokia.com>>, Ali Sajassi (sajassi) <sajassi=40cisco.com@dmarc.ietf.org<mailto:sajassi=40cisco.com@dmarc.ietf.org>>, John E Drake <jdrake=40juniper.net@dmarc.ietf.org<mailto:jdrake=40juniper.net@dmarc.ietf.org>>, wlin@juniper.net<mailto:wlin@juniper.net> <wlin@juniper.net<mailto:wlin@juniper.net>>, ssalam@cisco.com<mailto:ssalam@cisco.com> <ssalam@cisco.com<mailto:ssalam@cisco.com>>, sthoria@cisco.com<mailto:sthoria@cisco.com> <sthoria@cisco.com<mailto:sthoria@cisco.com>>
Cc: bess@ietf.org<mailto:bess@ietf.org> <bess@ietf.org<mailto: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<mailto:jorge.rabadan@nokia.com>>; wim.henderickx@nokia.com<mailto:wim.henderickx@nokia.com>; Ali Sajassi (sajassi) <sajassi=40cisco.com@dmarc.ietf.org<mailto:sajassi=40cisco.com@dmarc.ietf.org>>; John E Drake <jdrake=40juniper.net@dmarc.ietf.org<mailto:jdrake=40juniper.net@dmarc.ietf.org>>; wlin@juniper.net<mailto:wlin@juniper.net>; ssalam@cisco.com<mailto:ssalam@cisco.com>; sthoria@cisco.com<mailto: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@01DA3651.693E1C60]
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.