Re: [bess] A question about RFC 8317
"Ali Sajassi (sajassi)" <sajassi@cisco.com> Sun, 27 January 2019 20:55 UTC
Return-Path: <sajassi@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 B26F9130ECF for <bess@ietfa.amsl.com>; Sun, 27 Jan 2019 12:55:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -19.053
X-Spam-Level:
X-Spam-Status: No, score=-19.053 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-4.553, 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, 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 TI-g11nXFqXb for <bess@ietfa.amsl.com>; Sun, 27 Jan 2019 12:55:46 -0800 (PST)
Received: from alln-iport-5.cisco.com (alln-iport-5.cisco.com [173.37.142.92]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 66E6812008A for <bess@ietf.org>; Sun, 27 Jan 2019 12:55:46 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=218046; q=dns/txt; s=iport; t=1548622546; x=1549832146; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=/tRa4z9zt+pQCT4ASvt+W43SxfLu5Sh96AdEE3uQwmM=; b=GAt9DspjXSbgPJhRFkAy+2vOirTCwufOpmQGmtUZnMeiRrGhf/C7/3z9 GXIhZyVxcR44bdu1kx2b6um6MVx+XmInDE/8xw3Ik2w3thg0eomkwhTW4 JXxab3eD2DS9tJbqxkYlmoKhMwzC1xuPoIyt8YWsSRT4su0mJhoDWZm/S Y=;
X-Files: image001.png, image002.png : 58470, 41162
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AFAADyGU5c/5JdJa1kGQEBAQEBAQEBAQEBAQcBAQEBAQGBUQQBAQEBAQsBgQ1ILmeBAycKg3eIGotzgWgliF9IhDyKJRSBYwQIAQIBARgBCoRJAheCcyI0CQ0BAwEBAgEBAm0cDIVKAQEBAQMBAQMVCQIIAUALDgICAQgRAwEBAQYBAQEYAQYDAgICBQ8BCgUBCxQJCAIEAQ0EAQ4GB4MHAYFpAxUPqDGBL4QDAYNzDYIOCgUFjDwXgX+BEAEnDBOCTIFBgRZHAQEDgSIJARIBJAIBBgkIAQYBBQoCglExgiYCiVKGLIZHMIQpgg6BRoMiMwkChj8Ba4EVhjKBPIF+GIFqhTeDO4dQiRGBBIUngSKKRwIRFIEnHzhlWg8IcBU7KgGCQYInBQcLiF+FCAE2QTGKXIEfgR8BAQ
X-IronPort-AV: E=Sophos;i="5.56,531,1539648000"; d="png'150?scan'150,208,217,150";a="231376139"
Received: from rcdn-core-10.cisco.com ([173.37.93.146]) by alln-iport-5.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Jan 2019 20:55:44 +0000
Received: from XCH-RTP-001.cisco.com (xch-rtp-001.cisco.com [64.101.220.141]) by rcdn-core-10.cisco.com (8.15.2/8.15.2) with ESMTPS id x0RKthFm018641 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Sun, 27 Jan 2019 20:55:43 GMT
Received: from xch-rtp-005.cisco.com (64.101.220.145) by XCH-RTP-001.cisco.com (64.101.220.141) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Sun, 27 Jan 2019 15:55:42 -0500
Received: from xch-rtp-005.cisco.com ([64.101.220.145]) by XCH-RTP-005.cisco.com ([64.101.220.145]) with mapi id 15.00.1395.000; Sun, 27 Jan 2019 15:55:42 -0500
From: "Ali Sajassi (sajassi)" <sajassi@cisco.com>
To: Alexander Vainshtein <Alexander.Vainshtein@ecitele.com>, "Rabadan, Jorge (Nokia - US/Mountain View)" <jorge.rabadan@nokia.com>, "sboutros@vmware.com" <sboutros@vmware.com>, "ju1738@att.com" <ju1738@att.com>, "Samer Salam (ssalam)" <ssalam@cisco.com>, "John E Drake (jdrake@juniper.net)" <jdrake@juniper.net>
CC: "bess@ietf.org" <bess@ietf.org>, Aldrin Isaac <aldrin.isaac@gmail.com>
Thread-Topic: [bess] A question about RFC 8317
Thread-Index: AdSYUr9cSCgYcdt7R1u6vcshLnORdAAP3KGAABufoYcHOQmUAAAaCHiwAAEoZDAABfAjgA==
Date: Sun, 27 Jan 2019 20:55:42 +0000
Message-ID: <8EAA592B-7015-4522-92D4-019A6D6AD2C1@cisco.com>
References: <AM0PR03MB38289E905EE9421BA529727B9DBF0@AM0PR03MB3828.eurprd03.prod.outlook.com> <7A95B86B-03C4-4D11-8A37-FFCB98BFA44B@nokia.com> <AM0PR03MB3828D22EFE13890EB08419459DB80@AM0PR03MB3828.eurprd03.prod.outlook.com> <CAOA2mbyA6SrGLU=GdHk36KSu5+ev59evo5DMSQV6V18BinOh5Q@mail.gmail.com> <AM0PR03MB3828DB9786D0CA8C7B18FC8B9D950@AM0PR03MB3828.eurprd03.prod.outlook.com>
In-Reply-To: <AM0PR03MB3828DB9786D0CA8C7B18FC8B9D950@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.10.6.190114
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.19.76.53]
Content-Type: multipart/related; boundary="_005_8EAA592B7015452292D4019A6D6AD2C1ciscocom_"; type="multipart/alternative"
MIME-Version: 1.0
X-Outbound-SMTP-Client: 64.101.220.141, xch-rtp-001.cisco.com
X-Outbound-Node: rcdn-core-10.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/bess/UvfHUd55JVy8HLOI5Yt1Es0qNV8>
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: Sun, 27 Jan 2019 20:55:52 -0000
Hi Sasha, That is correct and sub-sections 4.2.1 and 4.2.3 have captured these. Cheers, Ali From: Alexander Vainshtein <Alexander.Vainshtein@ecitele.com> Date: Sunday, January 27, 2019 at 7:09 AM To: "Rabadan, Jorge (Nokia - US/Mountain View)" <jorge.rabadan@nokia.com>, Cisco Employee <sajassi@cisco.com>, "sboutros@vmware.com" <sboutros@vmware.com>, "ju1738@att.com" <ju1738@att.com>, "Samer Salam (ssalam)" <ssalam@cisco.com>, "John E Drake (jdrake@juniper.net)" <jdrake@juniper.net> Cc: "bess@ietf.org" <bess@ietf.org>, Aldrin Isaac <aldrin.isaac@gmail.com> Subject: RE: [bess] A question about RFC 8317 Hi all, I think now that I could have misinterpreted RFC 8317 and that, in fact, it works in a different way: * E-Tree Extended Community is always advertised (in an per-ES EAD route with ESI set to 0) by a PE to which at least one Leaf CE is attached * The Leaf Label advertised in this route is always included in the EVPN encapsulation of BUM frames that have been received by such a PE from any Leaf CE, while the ESI label would only be included in the EVPN encapsulation of BUM frames if they are received from Root CEs attached to a multi-homed ES. Is this interpretation correct? Regards, Sasha Office: +972-39266302 Cell: +972-549266302 Email: Alexander.Vainshtein@ecitele.com From: Alexander Vainshtein Sent: Sunday, January 27, 2019 5:02 PM To: Rabadan, Jorge (Nokia - US/Mountain View) <jorge.rabadan@nokia.com>; Ali Sajassi <sajassi@cisco.com> (sajassi@cisco.com) <sajassi@cisco.com>; sboutros@vmware.com; ju1738@att.com; Samer Salam (ssalam) <ssalam@cisco.com>; John E Drake (jdrake@juniper.net) <jdrake@juniper.net> Cc: bess@ietf.org; 'Aldrin Isaac' <aldrin.isaac@gmail.com> Subject: RE: [bess] A question about RFC 8317 Hi all, Yet another question regarding 8317 – this time it is related to egress filtering of BUM traffic and Leaf labels. The relevant scenario is shown in the embedded diagram below. [cid:image005.png@01D4B663.00B8DE00] In this diagram there are 4 Leaf CEs attached to two PEs: 1. CE-1 is attached to PE-2 and PE-3 via an all-active multi-homed ES with ESI-x 2. CE-2 is attached to PE-2 and PE-3 via an all-active multi-homed ES with ESI-y 3. CE-3 is attached just to PE-2 via a single-homed ES with ESI=0 4. CE-4 is attached just to PE-3 via a single-homed ES with ESI=0. My understanding of 8317 is that: 1. PE-2: * Allocates a valid ESI label E2 and advertises it with the per-ES EAD route for ESI-x * Allocates a valid Leaf label L2 and advertises it with the per-ES EAD route with ESI=0 * Includes label E2 in encapsulation of BUM frames it receives from CE-1 * Includes label L2 in encapsulation of BUM frames it receives from CE-3 2. Similarly, PE-3: * Allocates a valid ESI label E2 and advertises it with the per-ES EAD route for ESI-y * Allocates a valid Leaf label L2 and advertises it with the per-ES EAD route with ESI=0 * Includes label E2 in encapsulation of BUM frames it receives from CE-2 * Includes label L2 in encapsulation of BUM frames it receives from CE-4 If the above is correct, why should PE-3 block transmission of a BUM frame it receives from PE-2 and that has originated from CE-1 to CE-4? Please note that: 1. This frame uses label ESI-2 in its encapsulation, therefore transmission of such a frame to CE-2 will be blocked by egress filtering defined in RFC 7432 2. PE-3 does not know whether CE-1 is a Root or a Leaf CE because E-Tree Extended Community is only advertised with EAD routes with ESI 0. Note that PE-3 can block transmission of a BUM frame it receives from PE-2 and that has originated from CE-3 to both CE-2 and CE-4 because: * The Leaf Label in the encapsulation of this frame identifies it as a originating from a Leaf CE * PE-3 knows from local configuration that both CE-2 and CE-4 are Leaf CEs. What, if anything, did I miss? Your timely feedback will be highly appreciated. Regards, and lots of thanks in advance, Sasha Office: +972-39266302 Cell: +972-549266302 Email: Alexander.Vainshtein@ecitele.com<mailto:Alexander.Vainshtein@ecitele.com> From: Aldrin Isaac <aldrin.isaac@gmail.com<mailto:aldrin.isaac@gmail.com>> Sent: Sunday, January 27, 2019 4:06 AM To: Alexander Vainshtein <Alexander.Vainshtein@ecitele.com<mailto:Alexander.Vainshtein@ecitele.com>> Cc: Ali Sajassi <sajassi@cisco.com<mailto:sajassi@cisco.com>> (sajassi@cisco.com<mailto:sajassi@cisco.com>) <sajassi@cisco.com<mailto:sajassi@cisco.com>>; John E Drake (jdrake@juniper.net<mailto:jdrake@juniper.net>) <jdrake@juniper.net<mailto:jdrake@juniper.net>>; Rabadan, Jorge (Nokia - US/Mountain View) <jorge.rabadan@nokia.com<mailto:jorge.rabadan@nokia.com>>; Samer Salam (ssalam) <ssalam@cisco.com<mailto:ssalam@cisco.com>>; bess@ietf.org<mailto:bess@ietf.org>; ju1738@att.com<mailto:ju1738@att.com>; sboutros@vmware.com<mailto:sboutros@vmware.com> Subject: Re: [bess] A question about RFC 8317 Btw, the other problem with “two RTs” scheme might be mobility. The leaf MAC-VRF can’t see each others sequence numbers for a MAC. Please see/consider my prior email. Need to address E-Tree for non-MPLS encaps and in DC settings (think PVLAN). Cheers, Aldrin On Thu, Dec 20, 2018 at 11:42 PM Alexander Vainshtein <Alexander.Vainshtein@ecitele.com<mailto:Alexander.Vainshtein@ecitele.com>> wrote: Jorge, Lots of thanks for a prompt response. My conclusion js tbat the "two RTs" scheme should be used with special care in E-tree solutions. This was not my impression from the first reading of 8317. Since the "two RTs" scheme is very popular in hub-and-spoke" solutiobs for IP VPN, the fact that it is not the universal answer in EVPN E-Tree deserves some expla ation IMHO- but I do not see how this can be done in IETF. Thumb typed by Sasha Vainshtein ________________________________ From: Rabadan, Jorge (Nokia - US/Mountain View) <jorge.rabadan@nokia.com<mailto:jorge.rabadan@nokia.com>> Sent: Thursday, December 20, 2018 7:31:20 PM To: Alexander Vainshtein; Ali Sajassi <sajassi@cisco.com<mailto:sajassi@cisco.com>> (sajassi@cisco.com<mailto:sajassi@cisco.com>) Cc: Samer Salam (ssalam); John E Drake (jdrake@juniper.net<mailto:jdrake@juniper.net>); ju1738@att.com<mailto:ju1738@att.com>; sboutros@vmware.com<mailto:sboutros@vmware.com>; bess@ietf.org<mailto:bess@ietf.org> Subject: Re: 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<mailto:Alexander.Vainshtein@ecitele.com>> Date: Thursday, December 20, 2018 at 12:30 PM To: "Ali Sajassi <sajassi@cisco.com<mailto:sajassi@cisco.com>> (sajassi@cisco.com<mailto:sajassi@cisco.com>)" <sajassi@cisco.com<mailto:sajassi@cisco.com>> Cc: "Samer Salam (ssalam)" <ssalam@cisco.com<mailto:ssalam@cisco.com>>, "John E Drake (jdrake@juniper.net<mailto:jdrake@juniper.net>)" <jdrake@juniper.net<mailto:jdrake@juniper.net>>, "ju1738@att.com<mailto:ju1738@att.com>" <ju1738@att.com<mailto:ju1738@att.com>>, "sboutros@vmware.com<mailto:sboutros@vmware.com>" <sboutros@vmware.com<mailto:sboutros@vmware.com>>, "Rabadan, Jorge (Nokia - US/Mountain View)" <jorge.rabadan@nokia.com<mailto:jorge.rabadan@nokia.com>>, "bess@ietf.org<mailto:bess@ietf.org>" <bess@ietf.org<mailto: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<mailto: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. ___________________________________________________________________________ ___________________________________________________________________________ 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. ___________________________________________________________________________ _______________________________________________ BESS mailing list BESS@ietf.org<mailto:BESS@ietf.org> https://www.ietf.org/mailman/listinfo/bess ___________________________________________________________________________ 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. ___________________________________________________________________________
- [bess] A question about RFC 8317 Alexander Vainshtein
- Re: [bess] A question about RFC 8317 Rabadan, Jorge (Nokia - US/Mountain View)
- Re: [bess] A question about RFC 8317 Luc Andre Burdet (lburdet)
- Re: [bess] A question about RFC 8317 Rabadan, Jorge (Nokia - US/Mountain View)
- Re: [bess] A question about RFC 8317 Ali Sajassi (sajassi)
- Re: [bess] A question about RFC 8317 Alexander Vainshtein
- Re: [bess] A question about RFC 8317 Alexander Vainshtein
- Re: [bess] A question about RFC 8317 Alexander Vainshtein
- Re: [bess] A question about RFC 8317 Aldrin Isaac
- Re: [bess] A question about RFC 8317 Aldrin Isaac
- Re: [bess] A question about RFC 8317 Alexander Vainshtein
- Re: [bess] A question about RFC 8317 Alexander Vainshtein
- Re: [bess] A question about RFC 8317 Ali Sajassi (sajassi)
- Re: [bess] A question about RFC 8317 Rabadan, Jorge (Nokia - US/Mountain View)
- [bess] PVLAN in EVPN/VXLAN Aldrin Isaac