Re: [bess] A question about RFC 8317

"Rabadan, Jorge (Nokia - US/Mountain View)" <jorge.rabadan@nokia.com> Thu, 20 December 2018 17:31 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 8C1DC131165 for <bess@ietfa.amsl.com>; Thu, 20 Dec 2018 09:31:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.963
X-Spam-Level:
X-Spam-Status: No, score=-1.963 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DC_PNG_UNO_LARGO=0.001, DKIMWL_WL_HIGH=-0.065, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham 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 JkF3uhk8Lzap for <bess@ietfa.amsl.com>; Thu, 20 Dec 2018 09:31:24 -0800 (PST)
Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20130.outbound.protection.outlook.com [40.107.2.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 456D9131185 for <bess@ietf.org>; Thu, 20 Dec 2018 09:31:23 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nokia.onmicrosoft.com; s=selector1-nokia-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=54VygHpFtn910SriC6VxyZBw6Z5I/3KBI7zTfPje80Y=; b=cq8dFb+22cJRIAfbRDC5/ZT57o4YaXVMZ61/raELdx7N7f4pKJNQfqvYxnP+RpK0cErx+vnIeu1GARONsTUsgjOtpIYNAz5jWOPNDMj3v/ozLxGFsyLqXj9nwbDDYZe+bxQM/9t2l86thdtNHiGfRHz80GWAU9N1IN3OYvz5W1Y=
Received: from AM0PR07MB3844.eurprd07.prod.outlook.com (52.134.82.20) by AM0PR07MB4578.eurprd07.prod.outlook.com (52.135.151.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1471.10; Thu, 20 Dec 2018 17:31:20 +0000
Received: from AM0PR07MB3844.eurprd07.prod.outlook.com ([fe80::a043:32e8:b786:3486]) by AM0PR07MB3844.eurprd07.prod.outlook.com ([fe80::a043:32e8:b786:3486%4]) with mapi id 15.20.1446.018; Thu, 20 Dec 2018 17:31:20 +0000
From: "Rabadan, Jorge (Nokia - US/Mountain View)" <jorge.rabadan@nokia.com>
To: Alexander Vainshtein <Alexander.Vainshtein@ecitele.com>, "Ali Sajassi <sajassi@cisco.com> (sajassi@cisco.com)" <sajassi@cisco.com>
CC: "Samer Salam (ssalam)" <ssalam@cisco.com>, "John E Drake (jdrake@juniper.net)" <jdrake@juniper.net>, "ju1738@att.com" <ju1738@att.com>, "sboutros@vmware.com" <sboutros@vmware.com>, "bess@ietf.org" <bess@ietf.org>
Thread-Topic: A question about RFC 8317
Thread-Index: AdSYUr9cSCgYcdt7R1u6vcshLnORdAAP3KGA
Date: Thu, 20 Dec 2018 17:31:20 +0000
Message-ID: <7A95B86B-03C4-4D11-8A37-FFCB98BFA44B@nokia.com>
References: <AM0PR03MB38289E905EE9421BA529727B9DBF0@AM0PR03MB3828.eurprd03.prod.outlook.com>
In-Reply-To: <AM0PR03MB38289E905EE9421BA529727B9DBF0@AM0PR03MB3828.eurprd03.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.14.0.181208
authentication-results: spf=none (sender IP is ) smtp.mailfrom=jorge.rabadan@nokia.com;
x-originating-ip: [135.245.20.26]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; AM0PR07MB4578; 6:NrBWuaZ1EtqdDFVpiFMmFQgeKe+vrNsob94EHF+hZzqRXRiIshXpE9nq9h85hBq/MEp1zmPACEAhTkRcbf8XJ9Htps+Wbwfw6a0jxBVO7o1CwViFqCQIcJp6Hq1H+80sJfB1m/mK6fZK+3dxz1Pp+T2STradupSRm+9G2wA9E0Y+EjG57R/8ob+pxAgqmcyGB2V6ngqyB0BxZlxmKJDjd3qU47YktPR6JK+U+PyIOIAIa606HmhoJdU8o1/iopOcD/gHS2LVerZF541fDMCefwZ130X3++YeOAJJx+0Zt7wE1Lf1Fle+zSf5Giyy/Enx2iUbwN+jowqKAD7OG3PVQz6WD0pe5aQje4ktc00N97/zjLCcoEV+DM56W9HHApEpqzJ7RrSCWEtrWn0cg7W+10S34q5XUkfFEC2JvKnyVRrFTfG+e0l6fQ65MhIdifr4Wj7Z/fEipgKWm2uQxRo43g==; 5:0NfKyBfYKKD4Ni0UtJwVgR5wtQQ8pBMGk0SKtRDm/ZyvVCAOPQx+teDG+cCCPPMGHpGp34d8uwhA363kpFKW0vlXFSvH4YMOtSoglpOTZAoikyo4Y/D56YF821pVtSQu+FVUyhWszPpEC9hb7/vSsb9vwS0DDyhTS+iN0PO1edw=; 7:GUPL5jQgUeyZCUy9wgsD8tSLLc9ZkIWN+/6/vjgRv18ypk4RS3Yxpbadmg5fTeLFLPwqBzyoF1xus4qdkNk4uVmoDhsUkWObQOdPnXFPjLARV26X3O5wb5EJ0MbLoxzkuqJxyEPnuZxj21XvYeCrOw==
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-ms-office365-filtering-correlation-id: a1af80f6-b5dd-4fb1-2a6a-08d666a0f4ae
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(49563074)(7193020); SRVR:AM0PR07MB4578;
x-ms-traffictypediagnostic: AM0PR07MB4578:
x-microsoft-antispam-prvs: <AM0PR07MB457805FC11CEAF6C0200164CF7BF0@AM0PR07MB4578.eurprd07.prod.outlook.com>
x-ms-exchange-senderadcheck: 1
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(3230021)(999002)(11241501185)(806100)(5005026)(102415395)(6040522)(2401047)(8121501046)(3231475)(944501520)(4983020)(52105112)(93006095)(93001095)(3002001)(10201501046)(6055026)(149066)(150057)(6041310)(20161123562045)(20161123558120)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095); SRVR:AM0PR07MB4578; BCL:0; PCL:0; RULEID:; SRVR:AM0PR07MB4578;
x-forefront-prvs: 0892FA9A88
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39860400002)(396003)(346002)(376002)(366004)(136003)(199004)(189003)(51874003)(2906002)(99936001)(4326008)(606006)(229853002)(54906003)(7736002)(3846002)(6116002)(790700001)(186003)(36756003)(33656002)(26005)(99286004)(81156014)(81166006)(14444005)(256004)(58126008)(110136005)(476003)(486006)(6486002)(6436002)(2616005)(446003)(11346002)(86362001)(53936002)(8676002)(6512007)(54556002)(8936002)(54896002)(6246003)(6306002)(236005)(733005)(9326002)(68736007)(106356001)(316002)(5660300001)(478600001)(97736004)(66066001)(25786009)(105586002)(14454004)(82746002)(83716004)(71190400001)(71200400001)(76176011)(53546011)(102836004)(6506007); DIR:OUT; SFP:1102; SCL:1; SRVR:AM0PR07MB4578; H:AM0PR07MB3844.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: nokia.com does not designate permitted sender hosts)
x-microsoft-antispam-message-info: ZikrRtRNTUL2Vk06c/6uo96LsGBeieFnboCCLYqp8tdQtNQrdbp7Ck97G/2RB2FUTOjyOX5VgEgD4cse9hjDbuXTlMax/qafQJuTEIPOFvyoqWSfFc2aKqqMs+DzL1SbY4cd8s9Vv9wJAEghOIjQjjlWOsFrSjqAQ2p2BH3ZeIB2G2s2DRAuVH3Ke3DujbdtT4iehjz33Pg9iZW6E61YrylMxEqq0XxcU0xJe7eFItQfOlebVx8DJx+0rYBpq2eOzUdKkgolLAx+Ek+k6YwtGIOBFaq2SlebMuhiQXxdgEOpJfNIHBCkyn02esbdPlGJ
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/related; boundary="_004_7A95B86B03C44D118A37FFCB98BFA44Bnokiacom_"; type="multipart/alternative"
MIME-Version: 1.0
X-OriginatorOrg: nokia.com
X-MS-Exchange-CrossTenant-Network-Message-Id: a1af80f6-b5dd-4fb1-2a6a-08d666a0f4ae
X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Dec 2018 17:31:20.4577 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5d471751-9675-428d-917b-70f44f9630b0
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR07MB4578
Archived-At: <https://mailarchive.ietf.org/arch/msg/bess/GXoW2E8dzzecqnIoZv0WjrIOsCc>
Subject: Re: [bess] A question about RFC 8317
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: Thu, 20 Dec 2018 17:31:38 -0000

Hi Sasha,

What you are explaining is correct.

PE3 would flood anything for which MAC DA is unknown to both local ESes. That is normal behavior, only that in this case CE-1’s MAC will not be learned on PE3 until CE-1 hashes the traffic to PE3 and not only PE2 (which will happen if you have a decent number of flows). *Technically speaking*, the E-Tree solution works since you don’t have leaf-to-leaf communication. However, I would not use the two RT solution in this scenario since it could create unnecessary flooding to local ESes as you describe.

For this scenario I would always use a single RT per EVI, ingress filtering for unicast (based on the leaf indication on MAC/IP routes), and egress filtering for BUM based on leaf label, as explained in RFC8317.

My two cents.

Thank you.
Jorge


From: Alexander Vainshtein <Alexander.Vainshtein@ecitele.com>
Date: Thursday, December 20, 2018 at 12:30 PM
To: "Ali Sajassi <sajassi@cisco.com> (sajassi@cisco.com)" <sajassi@cisco.com>
Cc: "Samer Salam (ssalam)" <ssalam@cisco.com>, "John E Drake (jdrake@juniper.net)" <jdrake@juniper.net>, "ju1738@att.com" <ju1738@att.com>, "sboutros@vmware.com" <sboutros@vmware.com>, "Rabadan, Jorge (Nokia - US/Mountain View)" <jorge.rabadan@nokia.com>, "bess@ietf.org" <bess@ietf.org>
Subject: A question about RFC 8317

Ali and all,
I have read RFC 8317<https://tools.ietf.org/html/rfc8317>, and I would like to clarify a question dealing with Leaf ACs of an EVPN-based E-Tree service on All-Active Multi-Homed Ethernet Segments (MH ES).

The reference model for my question is shown in the Embedded diagram below.


[cid:image002.png@01D49865.895588B0]

It shows an EVPN E-tree service with one Root customer site and two leaf customer sites, where each Leaf CE is dual-homed to the same pair of PEs using two different All-Active multi-homed Ethernet Segments.

Suppose that the scheme with two RTs (one identifying the Root site and the other identifying the Leaf sites) is used as described in 4.3.1.

Suppose also that each MAC-VRF uses per MAC-VRF label assignment as defined in section 9.2.1 of RFC 7432, i.e., advertises exactly one EVPN application label that identifies it as the Egress MAC-VRF, while the disposition of the received Ethernet frame within this MAC-VRF is based on the destination MAC address. In this case the per MAC-VRF label can be also used as the “aliasing” label in the per EVI EAD route.

PE-1 will receive and accept per EVI EAD routes for both MH ES for PE-2 and PE-3 with the corresponding “aliasing” labels.

Suppose that MAC-VRF in PE-2 learns some {MAC, IP} pair  {X, Y}  locally from the Leaf CE-1 and advertises this pair in the EVPN MAC/IP Advertisement route. With the “two RTs” scheme this route will be accepted by the MAC-VRF in PE-1 but it will not be accepted by the MAC-VRF in PE3. As a consequence:

-          MAC-VRF in PE-1 will know that this pair has been learned from the “blue” all-active MH ES, and therefore can decide to send locally received unicast frames with destination MAC address X to PE-3 using the corresponding “aliasing label”. No other labels will be included in the EVN encapsulation of such  frames because they are received from the Root AC.

-          MAC-VRF in PE-3 will not know anything about MAC address X, therefore, when it receives an EVPN-encapsulated frame with this destination, it will treat it as an “unknown unicast” and flood it to both Leaf CE-1 (where it should be sent) and to Leaf CE-2 (where it should not be sent).

Is this what is really supposed to happen in this scenario? If not, what did I miss in the E-tree EVPN solution?

Regards, and lots of thanks in advance,
Sasha

Office: +972-39266302
Cell:      +972-549266302
Email:   Alexander.Vainshtein@ecitele.com


___________________________________________________________________________

This e-mail message is intended for the recipient only and contains information which is
CONFIDENTIAL and which may be proprietary to ECI Telecom. If you have received this
transmission in error, please inform us by e-mail, phone or fax, and then delete the original
and all copies thereof.
___________________________________________________________________________