Re: [bess] A question about RFC 8317

"Luc Andre Burdet (lburdet)" <lburdet@cisco.com> Thu, 20 December 2018 17:43 UTC

Return-Path: <lburdet@cisco.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 93F1A131165 for <bess@ietfa.amsl.com>; Thu, 20 Dec 2018 09:43:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.564
X-Spam-Level:
X-Spam-Status: No, score=-14.564 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.065, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 kJdiCO9tMbop for <bess@ietfa.amsl.com>; Thu, 20 Dec 2018 09:43:55 -0800 (PST)
Received: from alln-iport-7.cisco.com (alln-iport-7.cisco.com [173.37.142.94]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D5EAF13115E for <bess@ietf.org>; Thu, 20 Dec 2018 09:43:54 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=107736; q=dns/txt; s=iport; t=1545327834; x=1546537434; h=from:to:cc:subject:date:message-id:mime-version; bh=kMyPGP+632Ii0KqPwem34croxzginTeExLLvTsx3sVo=; b=e1mJfwpy/6lV/SF+06zWhY22ialM+d7lcbuhLBAVOWbj25ndrWXLh7w8 x+pUum8rKRcLNtCDpjLvv28Mp1/s3c5e9m4d7v6cVBAY+HQKsp6tpOwLE Couyu7pUk92jZaBe0UHsFSdyFOqldJQ7D/yi5jQJjpIZriGbmvJ3f+/So M=;
X-Files: image001.png, image002.png : 11763, 41162
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0ADAACq1Btc/5JdJa1iAxkBAQEBAQEBAQEBAQEHAQEBAQEBgVEEAQEBAQELAYENdmaBAicKg3OIGYt7gWgliE6PDxSBZwgBAgEBJYQBRgIXglUiNAkNAQMBAQIBAQJtHAyFPAECAQMFHgICBgE4Ew4EAQgRAwECBgEBARgHAwIEBQ8BDwwUCQoEAQ0EAQ4NgwcBggEPp098M4oXDwWMOheBQD+BEScME4JMgUGBXQEBAQKBIgkBEgEmBwkJARUCBgmCQTGCJgKJL4IThAKGLyuEFoIEhQUJAoYkAWqBC4dNgXwYgV9NhFKDMYcuiEqBA4R7ix4CERSBJx84ZVoPCHAVZQGCQQmCHgwLg0qFFIU/QTEBjCiBH4EfAQE
X-IronPort-AV: E=Sophos;i="5.56,378,1539648000"; d="png'150?scan'150,208,217,150";a="215396918"
Received: from rcdn-core-10.cisco.com ([173.37.93.146]) by alln-iport-7.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Dec 2018 17:43:34 +0000
Received: from XCH-RCD-001.cisco.com (xch-rcd-001.cisco.com [173.37.102.11]) by rcdn-core-10.cisco.com (8.15.2/8.15.2) with ESMTPS id wBKHhYe7011036 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Thu, 20 Dec 2018 17:43:34 GMT
Received: from xch-aln-010.cisco.com (173.36.7.20) by XCH-RCD-001.cisco.com (173.37.102.11) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 20 Dec 2018 11:43:33 -0600
Received: from xch-aln-010.cisco.com ([173.36.7.20]) by XCH-ALN-010.cisco.com ([173.36.7.20]) with mapi id 15.00.1395.000; Thu, 20 Dec 2018 11:43:33 -0600
From: "Luc Andre Burdet (lburdet)" <lburdet@cisco.com>
To: "Rabadan, Jorge (Nokia - US/Mountain View)" <jorge.rabadan@nokia.com>, Alexander Vainshtein <Alexander.Vainshtein@ecitele.com>, "Ali Sajassi (sajassi)" <sajassi@cisco.com>
CC: "John E Drake (jdrake@juniper.net)" <jdrake@juniper.net>, "Samer Salam (ssalam)" <ssalam@cisco.com>, "ju1738@att.com" <ju1738@att.com>, "sboutros@vmware.com" <sboutros@vmware.com>, "bess@ietf.org" <bess@ietf.org>
Thread-Topic: [bess] A question about RFC 8317
Thread-Index: AQHUmIuG3DLW7twqeEiFNu4Ffx5oZw==
Date: Thu, 20 Dec 2018 17:43:33 +0000
Message-ID: <FB8ACA89-C01B-4D83-9750-C33F258FE490@cisco.com>
Accept-Language: en-CA, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.10.5.181209
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.82.226.161]
Content-Type: multipart/related; boundary="_005_FB8ACA89C01B4D839750C33F258FE490ciscocom_"; type="multipart/alternative"
MIME-Version: 1.0
X-Outbound-SMTP-Client: 173.37.102.11, xch-rcd-001.cisco.com
X-Outbound-Node: rcdn-core-10.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/bess/ECBesBwCHoL1SNAK8MsTlm_oeC0>
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:43:59 -0000

Sasha,
I would add only to Jorge’s response that in your topology below:
“PE3 would flood anything for which MAC DA is unknown to both local ESes.”
For traffic in the reverse direction (Leaf@PE3 -> Root@PE1) you’d want to add an administratively configured split-horizon between green and blue ACs at PE2 & PE3 because otherwise you may locally switch(or flood) leaf-leaf at PE2/PE3 which should be disallowed.

Regards,
Luc André

[http://www.cisco.com/c/dam/m/en_us/signaturetool/images/banners/standard/09_standard_graphic.png]




Luc André Burdet
lburdet@cisco.com<mailto:lburdet@cisco.com>
Tel: +1 613 254 4814






Cisco Systems Canada Co. / Les Systemes Cisco Canada CIE
Cisco.com<http://www.cisco.com/web/CA/>







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

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.
___________________________________________________________________________