Re: [bess] A question on using EVPN label and Alias label in load balancing

Jide Akintola <jidept@yahoo.com> Mon, 18 February 2019 11:30 UTC

Return-Path: <jidept@yahoo.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 B232C130EB0 for <bess@ietfa.amsl.com>; Mon, 18 Feb 2019 03:30:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yahoo.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 a2EitBXqDTWj for <bess@ietfa.amsl.com>; Mon, 18 Feb 2019 03:30:25 -0800 (PST)
Received: from sonic312-20.consmr.mail.bf2.yahoo.com (sonic312-20.consmr.mail.bf2.yahoo.com [74.6.128.82]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2B1AB12867A for <bess@ietf.org>; Mon, 18 Feb 2019 03:30:25 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1550489423; bh=d+1GGBCEANNnyopCBqzaz8/LEDDhbgIF8O9lCqNYzEk=; h=Date:From:To:In-Reply-To:References:Subject:From:Subject; b=Ex7WyE4wpZKzA/WiN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a72id_Gx5y KePgCNAigCprv4emaASmItR3Q0BTs9QeUzzZ0a2KKsIOEbqF7imy2.VufZZwSQvln1vTvWuSgFR2 KaZ_Ibz_L4ZiXjAuQ048jh7LGbE9z4WeSlyRVe58EfK9CCsKZ2cJVfw55wh3BJaU64TckVTcZMck BSMkHv2YHlyJSeO5QrWsUry_ms_K5RsuX3nwmUVTmPcHbViOh8re5hmjnNrznwcGaq1ImL3sak8B rII8fkEOKGoUa0xCAGmJKgFxUPv2XiIY.0XVDob7Vauss.c.Z2RcNyndIE2CYV1WARj4tCoGopSj .oe_2p5kgxC5DllI.n8TlFfA5LH7aFwXsVbHY5YSIHNaQ4VEREBOpvOs-
Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.bf2.yahoo.com with HTTP; Mon, 18 Feb 2019 11:30:23 +0000
Date: Mon, 18 Feb 2019 11:30:20 +0000
From: Jide Akintola <jidept@yahoo.com>
To: "bess@ietf.org" <bess@ietf.org>, Jaikumar Somasundaram <jaikumar.somasundaram@ericsson.com>
Message-ID: <83625784.899773.1550489420551@mail.yahoo.com>
In-Reply-To: <VI1PR07MB43023EB901D72DA93049332886630@VI1PR07MB4302.eurprd07.prod.outlook.com>
References: <VI1PR07MB43023EB901D72DA93049332886630@VI1PR07MB4302.eurprd07.prod.outlook.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_Part_899772_1079172629.1550489420548"
X-Mailer: WebService/1.1.13123 YMailNorrin Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:65.0) Gecko/20100101 Firefox/65.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/bess/8rfgKQov4vLuBqP14DF9mCk-JCY>
Subject: Re: [bess] A question on using EVPN label and Alias label in load balancing
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: Mon, 18 Feb 2019 11:30:28 -0000

Hi Jaikumar,
As per the rfc, aliasing is define as the ability of a PE to signal that it has reachability to an EVPN instance on a given ES even when it has learned no MAC addresses from that EVI/ES. It is advertised with Ethernet A-D per EVI type 1 routes.

Aliasing improves load-balancing by allowing remote VNEs to continue to load-balance traffic evenly though they have only received a single MAC/IP from a single ingress VNE. Meaning a remote PE that receives a MAC/IP Advertisement route (type 2 route) with a non-reserved ESI would consider the advertised MAC address to be reachable via all PEs that have advertised reachability to that MAC address EVI/ES via the Ethernet A-D per EVI route.

In your example, it would mean that if MAC1 is only learned by PE3 from PE1, but because PE3 has received Ethernet A-D per EVI type 1 route with aliasing label from PE2, it would consider that MAC1 is also reacheable via PE2 and would load balance traffic destined for MAC1 to both PE1 and PE2.

For cases where the MAC1 is learnt from PE1 and PE2 by PE3, then aliasing should not come into play.

There are some optimization done by some vendor using proxy advertisement via PE2 to mitigate traffic loss for cases where say PE3 only learns MAC1 from say PE1 and say you lost PE1.

Many thanks. 
 
Cheers, 
 
Jide 

    On Monday, 18 February 2019, 10:08:02 GMT, Jaikumar Somasundaram <jaikumar.somasundaram@ericsson.com> wrote:  
 
  <!--#yiv3210007971 _filtered #yiv3210007971 {font-family:"Cambria Math";panose-1:2 4 5 3 5 4 6 3 2 4;} _filtered #yiv3210007971 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;} _filtered #yiv3210007971 {font-family:Verdana;panose-1:2 11 6 4 3 5 4 4 2 4;} _filtered #yiv3210007971 {font-family:Consolas;panose-1:2 11 6 9 2 2 4 3 2 4;}#yiv3210007971  #yiv3210007971 p.yiv3210007971MsoNormal, #yiv3210007971 li.yiv3210007971MsoNormal, #yiv3210007971 div.yiv3210007971MsoNormal {margin:0in;margin-bottom:.0001pt;font-size:11.0pt;font-family:"Calibri", sans-serif;}#yiv3210007971 a:link, #yiv3210007971 span.yiv3210007971MsoHyperlink {color:#0563C1;text-decoration:underline;}#yiv3210007971 a:visited, #yiv3210007971 span.yiv3210007971MsoHyperlinkFollowed {color:#954F72;text-decoration:underline;}#yiv3210007971 span.yiv3210007971EmailStyle17 {font-family:Consolas;color:windowtext;}#yiv3210007971 .yiv3210007971MsoChpDefault {font-family:"Calibri", sans-serif;} _filtered #yiv3210007971 {margin:1.0in 1.0in 1.0in 1.0in;}#yiv3210007971 div.yiv3210007971WordSection1 {}-->
Hi All,
 
                     --------------
 
                     |            |
 
              PORT1 |  DEVICE1   |PORT3
 
       --------------|     PE1    |-------------
 
       |      1/5    |  2.2.2.2   | 1/4         |
 
       |             |            |             |
 
       |             --------------             |
 
       |PORT1              |PORT2               |PORT2
 
--------------            |             +------------+            --------------     
 
 |            |            |             |            |            |            |    
 
 | DEVICE4    |            |             |            |PORT1       | DEVICE4    |
 
 | (CE1)      |            |             |   DEVICE3  |------------| (CE2)      |
 
 | Multi-home |            |             |     PE3     |       PORT3| Single home|
 
 |            |            |             |   4.4.4.4  |            |            |
 
--------------            |             +------------+            --------------      
 
       |PORT2              |1/1                |PORT3
 
       |                   |PORT2              | 1/6
 
       |             --------------            |
 
       |             |            |            |
 
       |       PORT1 |  DEVICE2   |            |
 
       --------------|    PE2     |-------------
 
                1/4  |  3.3.3.3   |PORT3
 
                     |            |1/4
 
                     --------------
 
  
 
Let’s say CE1 is connected to PE1 and PE2 (all-active case)
 
and PE1 and PE2 learn same MAC1 entry (say different destination)
 
PE3 will learn MAC1 from both PE1 and PE2 with their respective
 
EVPN label (Assume BGP ECMP is enabled). As part of load balancing,
 
should PE3 always use EVPN label to send the frame destined to MAC1
 
or can Alias label also be used? what is the need of using EVPN label?
 
  
 
Thanks & Regards
 
Jaikumar S
 
  
 _______________________________________________
BESS mailing list
BESS@ietf.org
https://www.ietf.org/mailman/listinfo/bess