Re: [bess] EVPN MH: Backup node behavior in Primary Path Failure

"Rabadan, Jorge (Nokia - US/Mountain View)" <jorge.rabadan@nokia.com> Thu, 04 October 2018 14:40 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 230BC130E21 for <bess@ietfa.amsl.com>; Thu, 4 Oct 2018 07:40:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.356
X-Spam-Level:
X-Spam-Status: No, score=-2.356 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.456, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-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 wNxBSroz18kC for <bess@ietfa.amsl.com>; Thu, 4 Oct 2018 07:40:09 -0700 (PDT)
Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00098.outbound.protection.outlook.com [40.107.0.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C8E5A128CE4 for <bess@ietf.org>; Thu, 4 Oct 2018 07:40:08 -0700 (PDT)
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=h9wTMeZfaiPQE1OBdSEAtZn2mS711q20VYkXzVJw0AQ=; b=Fwe+MdRS/7Pf/hzPJ6GWLV10eDKVCnB2BDEmArOQ432a0vcoU1T2zqFjwvA7VmrsQB65VjB+iUrFkX61GZsLODAI71rgsHyEaejayOTr3XLvwAmSqaUgepWj56TT5KAK+gv6i52huvZ81zypylBjoGkXNyW55sutfdBxVdEdggU=
Received: from AM0PR07MB3844.eurprd07.prod.outlook.com (52.134.82.20) by AM0PR07MB3844.eurprd07.prod.outlook.com (52.134.82.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1207.16; Thu, 4 Oct 2018 14:40:05 +0000
Received: from AM0PR07MB3844.eurprd07.prod.outlook.com ([fe80::6996:3137:3456:ae8]) by AM0PR07MB3844.eurprd07.prod.outlook.com ([fe80::6996:3137:3456:ae8%4]) with mapi id 15.20.1207.022; Thu, 4 Oct 2018 14:40:05 +0000
From: "Rabadan, Jorge (Nokia - US/Mountain View)" <jorge.rabadan@nokia.com>
To: Muthu Arul Mozhi Perumal <muthu.arul@gmail.com>
CC: "jaikumar.somasundaram@ericsson.com" <jaikumar.somasundaram@ericsson.com>, "bess@ietf.org" <bess@ietf.org>, "jiang.he@ericsson.com" <jiang.he@ericsson.com>, "p.muthu.arul.mozhi@ericsson.com" <p.muthu.arul.mozhi@ericsson.com>
Thread-Topic: [bess] EVPN MH: Backup node behavior in Primary Path Failure
Thread-Index: AQHUW7tPwY67GDKFZkSdu6BevJADsqUO0DWQgAAs0YD///JDgIAAWw6A
Date: Thu, 04 Oct 2018 14:40:05 +0000
Message-ID: <19D6CCFE-183E-4BF7-A7D2-7D5F9DA96D7A@nokia.com>
References: <067ED9A1-F8D0-4C53-97A0-3E6FA7E063EC@nokia.com> <VI1PR07MB4302D68B2828F10E49C834A486EA0@VI1PR07MB4302.eurprd07.prod.outlook.com> <D4979895-D9D9-434D-A247-62682E678853@nokia.com> <CAKz0y8zP+h+=tvEiiM=5MZxzdtk43_jOJ8BxtgENs5D-Orx98Q@mail.gmail.com>
In-Reply-To: <CAKz0y8zP+h+=tvEiiM=5MZxzdtk43_jOJ8BxtgENs5D-Orx98Q@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.11.0.180909
x-originating-ip: [83.44.161.241]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; AM0PR07MB3844; 6:sVaYdk8wplfJhMh1wKIeJy3hChOSNgW/g/ji23oZiTC1RcpeHM0leeuMspCfbJBHRVeb2JfLGZs+zPDjlug5o3AW7EMroKdKAP0iJbKSyw9KbcBX7ArjPIGng53nvJGQQ4qd06Wq7VtKAh95MQlP9krQ16+FlphhGGqoGMbyD1GytyOcPSmacDkLxfIfWZCJ/ODVctQDz7olKNfWrrCLEYRwniaAV1WvO/Dt0wg6jZ5RlPExtGQRWjkVG9c4x6ZNaH81AWuyWXo+3y2Ammt+yAGt2r3bsfsPD9/hnnrXMygIAjis3cy9rxKoY5ZWnSXUNYpNxvrUYwRQzprNj+Y1kDNNtVpyNjHMwNIQnJgQTPyXXpaCko1hlibKSqYxJRwLRyv7euRNzN/kFGAOKqkvBfypwNX7vJPmMd/+GjftyVwJV2nUtn2MM7vqBNGclMZFteOSbKI2dlBab8K3Fg1r7A==; 5:ffOnXsjpOcxoqPnEvNL/tOqOepc7LRRqXP53tkxsUO3SfsoixJwH7QY+BaNuDyyCvJJeEzJwOBay9RYjzD5vMIus/JElICQHOEC9p5Zl800x/uxPXNDFFXwOuk1b6+V6FPLEusBgEghAYzy0yE5t+4zf9t3xZZ7Yn5bPa3Fippo=; 7:6q4XsQ2uW9dGDM5GsG4aWVn8jeVHinxLq3nch4WusFZaRfi1TxmnQ6U4uKtIkKKagC2ZtTPz1GfBEpC0pLczv3bi8zZSVjW00aY2svnL7UC1YJv0zgxHwUOaCaRC7D4J6X3FZRJGdZNClgARRUH1Vs9JJjXvC82bAcbV5fJqUUA03Ro/0qDVIJTF/Gf1DfYCxJ2pV2GzQzIv39HvBRghB92LhzFMfrnA9gwMwS4Ic94bRKBXl4NGb2LZ31r9b2hk
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-ms-office365-filtering-correlation-id: 64ee427a-eefb-4d7e-a5cd-08d62a0746bf
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7193020); SRVR:AM0PR07MB3844;
x-ms-traffictypediagnostic: AM0PR07MB3844:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=jorge.rabadan@nokia.com;
x-microsoft-antispam-prvs: <AM0PR07MB3844AC6CE9C790A4BC7F6373F7EA0@AM0PR07MB3844.eurprd07.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(85827821059158)(109105607167333)(195916259791689)(82608151540597)(248295561703944)(37575265505322)(21748063052155)(28532068793085)(190501279198761)(227612066756510);
x-ms-exchange-senderadcheck: 1
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(10201501046)(93006095)(93001095)(3002001)(3231355)(11241501184)(806099)(944501410)(52105095)(6055026)(149066)(150057)(6041310)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123560045)(20161123564045)(201708071742011)(7699051)(76991048); SRVR:AM0PR07MB3844; BCL:0; PCL:0; RULEID:; SRVR:AM0PR07MB3844;
x-forefront-prvs: 0815F8251E
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(396003)(39860400002)(376002)(346002)(136003)(366004)(189003)(53474002)(199004)(53754006)(2900100001)(86362001)(54896002)(14454004)(6512007)(2906002)(102836004)(316002)(68736007)(4326008)(236005)(6306002)(2616005)(476003)(486006)(82746002)(26005)(11346002)(5250100002)(446003)(186003)(58126008)(8936002)(97736004)(14444005)(256004)(54906003)(7736002)(6246003)(81166006)(106356001)(25786009)(229853002)(71190400001)(83716004)(66066001)(81156014)(8676002)(105586002)(6916009)(39060400002)(99286004)(33656002)(71200400001)(93886005)(6436002)(76176011)(36756003)(6486002)(5660300001)(53936002)(606006)(966005)(6506007)(53546011)(3846002)(6116002)(790700001)(478600001); DIR:OUT; SFP:1102; SCL:1; SRVR:AM0PR07MB3844; H:AM0PR07MB3844.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: nokia.com does not designate permitted sender hosts)
x-microsoft-antispam-message-info: hxhOzgBIJSipjX4lt+QPtIPKDZWwLna7B/UayTrBTdEVtc+Ejvc/eZJDPqKWek9AKvSbUaO067pZvxezz1i0kvfVFn6XpXpCZoHGbNcAhi2XVN+yu4ajB/lO6zYT+iZldNU5B1oYeHWsxMRWGELwZrGdt/HTekj6yP1Nn/V0bhdUYrKGY3rD1h6PXOHaP6gLT97Tj+aEYM1iz082R6Gs5VnktFq1EW4RxqdoR1NL0VrxZmDPW+Jbz9o8ykV+Nem1+VHy3Ou0UnVJNMShSp4LTKtYlG7mLYd7qfm3rTUIi+l28qYJ8Cbe+BwcJg5KFItQj3/D7rQQfB1cUz/GmrzNWyxRpBW31/wBNBvg7beNk/9w84N73CTgRfONG9mrvzki9+EPEKDkZ0ZR4qfMx5ukhQ==
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_19D6CCFE183E4BF7A7D27D5F9DA96D7Anokiacom_"
MIME-Version: 1.0
X-OriginatorOrg: nokia.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 64ee427a-eefb-4d7e-a5cd-08d62a0746bf
X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Oct 2018 14:40:05.8825 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5d471751-9675-428d-917b-70f44f9630b0
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR07MB3844
Archived-At: <https://mailarchive.ietf.org/arch/msg/bess/BC6yhmxP_wGGxOIXAzEr9oVk9CU>
Subject: Re: [bess] EVPN MH: Backup node behavior in Primary Path Failure
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, 04 Oct 2018 14:40:14 -0000

Muthu,

About this:

Suppose we have a full mesh of iBGP sessions b/w the PEs, then who would withdraw the routes if the primary PE / DF itself fails? Instead, the BGP session would timeout causing the primary PE's neighbors to flush out the A-D routes received from the primary PE, right? This can take several seconds, isn't it?

No, not in the implementations I know of. Next Hop tracking will immediately detect that the PE is not in the network anymore and the routes will be invalidated. You can also bootstrap the BGP sessions to BFD.
But that has nothing to do with EVPN!.. it’s regular BGP.

Thx
Jorge

From: Muthu Arul Mozhi Perumal <muthu.arul@gmail.com>
Date: Thursday, October 4, 2018 at 1:14 PM
To: "Rabadan, Jorge (Nokia - US/Mountain View)" <jorge.rabadan@nokia.com>
Cc: "jaikumar.somasundaram@ericsson.com" <jaikumar.somasundaram@ericsson.com>, "bess@ietf.org" <bess@ietf.org>, "jiang.he@ericsson.com" <jiang.he@ericsson.com>, "p.muthu.arul.mozhi@ericsson.com" <p.muthu.arul.mozhi@ericsson.com>
Subject: Re: [bess] EVPN MH: Backup node behavior in Primary Path Failure

Please see inline..

On Thu, Oct 4, 2018 at 3:33 PM Rabadan, Jorge (Nokia - US/Mountain View) <jorge.rabadan@nokia.com<mailto:jorge.rabadan@nokia.com>> wrote:
In-line.

Thx
Jorge

From: Jaikumar Somasundaram <jaikumar.somasundaram@ericsson.com<mailto:jaikumar.somasundaram@ericsson.com>>
Date: Thursday, October 4, 2018 at 11:28 AM
To: "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>>
Cc: Jiang He <jiang.he@ericsson.com<mailto:jiang.he@ericsson.com>>, P Muthu Arul Mozhi <p.muthu.arul.mozhi@ericsson.com<mailto:p.muthu.arul.mozhi@ericsson.com>>
Subject: RE: [bess] EVPN MH: Backup node behavior in Primary Path Failure

Thanks Jorge for the quick reply.
Please find further question below.

From: Rabadan, Jorge (Nokia - US/Mountain View) <jorge.rabadan@nokia.com<mailto:jorge.rabadan@nokia.com>>
Sent: Thursday, October 4, 2018 1:52 PM
To: Jaikumar Somasundaram <jaikumar.somasundaram@ericsson.com<mailto:jaikumar.somasundaram@ericsson.com>>; bess@ietf.org<mailto:bess@ietf.org>
Cc: Jiang He <jiang.he@ericsson.com<mailto:jiang.he@ericsson.com>>; P Muthu Arul Mozhi <p.muthu.arul.mozhi@ericsson.com<mailto:p.muthu.arul.mozhi@ericsson.com>>
Subject: Re: [bess] EVPN MH: Backup node behavior in Primary Path Failure

Hi,


Questions:
1.       Will the node in backup mode forward the packet to CE?

[JORGE] as soon as it becomes DF it can forward packets to the CE. The backup node will have to run DF election upon the ES route withdrawal from the primary. If AC-DF is enabled, it can also react to the withdrawal of AD routes from the primary PE.

[Jai] Does that mean if any packet comes to a node that is still in the backup mode will get dropped, before the new DF election is complete? Why cant this be used as FRR? Or what is the use case of having backup node(s)?

[JORGE2] when the primary node fails, ES and AD routes are withdrawn.
Suppose we have a full mesh of iBGP sessions b/w the PEs, then who would withdraw the routes if the primary PE / DF itself fails? Instead, the BGP session would timeout causing the primary PE's neighbors to flush out the A-D routes received from the primary PE, right? This can take several seconds, isn't it?

Regards,
Muthu

The AD route withdrawal is an indication for remote nodes that they have to send traffic to the backup (for a given MAC) or to flush the MACs if there are more than 2 PEs in the ES. Around the same time or maybe earlier, the ES route withdrawal will make the backup PE take over as DF. So the overall convergence time will depend on how/when those two things happen in time. Only the DF PE can forward traffic. A non-DF can never forward traffic or there will be risk of duplicate packets.


2.       Will all the nodes in backup mode forward the packet before DF election?

[JORGE] Only the new DF can forward.



3. If they forward, how is duplicate packets handled, in this case?
[JORGE] see above.

My two cents..

Thanks.
Jorge



From: BESS <bess-bounces@ietf.org<mailto:bess-bounces@ietf.org>> on behalf of Jaikumar Somasundaram <jaikumar.somasundaram@ericsson.com<mailto:jaikumar.somasundaram@ericsson.com>>
Date: Thursday, October 4, 2018 at 10:03 AM
To: "bess@ietf.org<mailto:bess@ietf.org>" <bess@ietf.org<mailto:bess@ietf.org>>
Cc: Jiang He <jiang.he@ericsson.com<mailto:jiang.he@ericsson.com>>, P Muthu Arul Mozhi <p.muthu.arul.mozhi@ericsson.com<mailto:p.muthu.arul.mozhi@ericsson.com>>
Subject: [bess] EVPN MH: Backup node behavior in Primary Path Failure


Hello Everyone,

Sorry if it is a duplicate. I repost this query as I did not receive any response yet.
(I was wondering if this mail already reached the group or not)


I have a question on Primary PE encountering a failure in EVPN multihoming

in single active mode.



RFC7432, section 14.1.1:

<snip>

   If there is more than one backup PE for a given ES, the remote PE

   MUST use the primary PE's withdrawal of its set of Ethernet A-D per

   ES routes as a trigger to start flooding traffic for the associated

   MAC addresses (as long as flooding of unknown unicast packets is

   administratively allowed), as it is not possible to select a single

   backup PE.

</snip>



Questions:

1. Will the node in backup mode forward the packet to CE?

2. Will all the nodes in backup mode forward the packet before DF election?

3. If they forward, how is duplicate packets handled, in this case?



Please help me anwere these questions.



Thanks & Regards

Jaikumar S


_______________________________________________
BESS mailing list
BESS@ietf.org<mailto:BESS@ietf.org>
https://www.ietf.org/mailman/listinfo/bess