Re: [bess] DF election rule in EVPN MH, for untagged interface - reg

"Rabadan, Jorge (Nokia - US/Mountain View)" <jorge.rabadan@nokia.com> Fri, 05 April 2019 16:19 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 4982C12051F for <bess@ietfa.amsl.com>; Fri, 5 Apr 2019 09:19:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, 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 iaRHXaOZrmgI for <bess@ietfa.amsl.com>; Fri, 5 Apr 2019 09:19:46 -0700 (PDT)
Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60128.outbound.protection.outlook.com [40.107.6.128]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B7B351204FC for <bess@ietf.org>; Fri, 5 Apr 2019 09:19:34 -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=FZq31R34OuQbhtrfyPemcta0A8Z8eerG6i26An0qObA=; b=X2H2b17rXSn3j9rL0HmnRmVKbCGeaCQ0nDTgy2SR8n/ns1Ryf1xuXYL6VInTqJYchPXdosso/wLz0EBRNfk76zGBChPoVma2bzXs45JXk+VHvBHATe4A1JqNDowxL3UDB964YcP47CKUllKp0JN/GGJOQo45cdR066/m+A6ogCg=
Received: from AM0PR07MB3844.eurprd07.prod.outlook.com (52.134.82.20) by AM0PR07MB6068.eurprd07.prod.outlook.com (20.178.112.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1771.15; Fri, 5 Apr 2019 16:19:31 +0000
Received: from AM0PR07MB3844.eurprd07.prod.outlook.com ([fe80::886f:c9f8:650e:1dd6]) by AM0PR07MB3844.eurprd07.prod.outlook.com ([fe80::886f:c9f8:650e:1dd6%6]) with mapi id 15.20.1771.014; Fri, 5 Apr 2019 16:19:31 +0000
From: "Rabadan, Jorge (Nokia - US/Mountain View)" <jorge.rabadan@nokia.com>
To: Muthu Arul Mozhi Perumal <muthu.arul@gmail.com>
CC: Jaikumar Somasundaram <jaikumar.somasundaram@ericsson.com>, "bess@ietf.org" <bess@ietf.org>, P Muthu Arul Mozhi <p.muthu.arul.mozhi@ericsson.com>
Thread-Topic: [bess] DF election rule in EVPN MH, for untagged interface - reg
Thread-Index: AQHU63I0j0hKXYAZcUSX1MLBOHGklaYtrI6AgAA0x4A=
Date: Fri, 05 Apr 2019 16:19:31 +0000
Message-ID: <7076E872-08AF-4665-9187-0E5BA2140370@nokia.com>
References: <09CBA32C-C703-408F-9F73-9F26D8FD1C25@nokia.com> <CAKz0y8zUim0pJ56T317LchQMyaQyn8Ba9S5BYVs4NrgTVn+DXQ@mail.gmail.com>
In-Reply-To: <CAKz0y8zUim0pJ56T317LchQMyaQyn8Ba9S5BYVs4NrgTVn+DXQ@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.18.0.190403
authentication-results: spf=none (sender IP is ) smtp.mailfrom=jorge.rabadan@nokia.com;
x-originating-ip: [88.8.187.42]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 717fdf3a-b11a-4dab-ee7f-08d6b9e27c52
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600139)(711020)(4605104)(4618075)(2017052603328)(7193020); SRVR:AM0PR07MB6068;
x-ms-traffictypediagnostic: AM0PR07MB6068:
x-ms-exchange-purlcount: 3
x-microsoft-antispam-prvs: <AM0PR07MB60684B16C79642FD88AD87C2F7510@AM0PR07MB6068.eurprd07.prod.outlook.com>
x-forefront-prvs: 0998671D02
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(979002)(39860400002)(366004)(136003)(396003)(346002)(376002)(53754006)(199004)(189003)(81166006)(478600001)(5024004)(14454004)(5660300002)(4326008)(99286004)(606006)(54896002)(966005)(6306002)(256004)(66066001)(486006)(83716004)(86362001)(71190400001)(76176011)(8676002)(71200400001)(36756003)(6512007)(6506007)(236005)(8936002)(81156014)(102836004)(53546011)(6916009)(6486002)(26005)(11346002)(33656002)(3846002)(476003)(6116002)(316002)(186003)(6436002)(2616005)(58126008)(54906003)(6246003)(446003)(97736004)(105586002)(68736007)(106356001)(2906002)(82746002)(229853002)(25786009)(53936002)(7736002)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1102; SCL:1; SRVR:AM0PR07MB6068; 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-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: 9qDj4LbH3w4mZeMnaars2qkicC2NNblkls8r+E9i2+4QXH2SfQHv76KX2HA4yplwLvAKIWPTW9poJTyLKc2pggGvwkuAzVNfs3Xwu826XWjmo+zglR6Fh69HNRJavLGLZ4WaH+6NTTQhgKHQ1drxywK9kOhTPNMD0Z3r1eCcxvbV6IvFmUs6f7vpUaqMTmSH8BPpjKOocxfq/D+ZkZQBTWrSgjWit06Mpwgy94BJ+dhuRcI94z71IyrbElF7i/Y6L6VpFmezhqt4g6Z/nvT6JZ8tqqMXIUNGhZXJR1vDNwU9OjKtAlSyJeP5X1mZmi0FKV5FHq3XKuCeva/YWcq/uO7euXGT8brKh6RR16wZnsxpisoNFCMG0s+m1x9iytpQyGpbc2O4PNPs9Gs1vSPvdWh6b0yg7ZEii1UUYVqxvL8=
Content-Type: multipart/alternative; boundary="_000_7076E87208AF466591870E5BA2140370nokiacom_"
MIME-Version: 1.0
X-OriginatorOrg: nokia.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 717fdf3a-b11a-4dab-ee7f-08d6b9e27c52
X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Apr 2019 16:19:31.8541 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5d471751-9675-428d-917b-70f44f9630b0
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR07MB6068
Archived-At: <https://mailarchive.ietf.org/arch/msg/bess/C0zZMTCxLmBAB3DejGUPoVeIO4U>
Subject: Re: [bess] DF election rule in EVPN MH, for untagged interface - reg
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: Fri, 05 Apr 2019 16:19:49 -0000

The Ethernet Tag that you use for DF Election does not even need to match what you have in the data path.
Note that the definition says even “configured IDs”.

As long as you use the same ID for the BD on all the PEs attached to the ES, you are fine.

Thx
Jorge

From: Muthu Arul Mozhi Perumal <muthu.arul@gmail.com>
Date: Friday, April 5, 2019 at 5:10 PM
To: "Rabadan, Jorge (Nokia - US/Mountain View)" <jorge.rabadan@nokia.com>
Cc: Jaikumar Somasundaram <jaikumar.somasundaram@ericsson.com>, "bess@ietf.org" <bess@ietf.org>, P Muthu Arul Mozhi <p.muthu.arul.mozhi@ericsson.com>
Subject: Re: [bess] DF election rule in EVPN MH, for untagged interface - reg

Thanks, Jorge. It is clear that the Ethernet Tag needs to be different from 0 for the purpose of DF election..

One of the options a provider has for supporting untagged frames in EVPN VPLS multihoming in VID translation...a rule to match untagged frames and impose a VID at the ingress and another rule to match that VID and dispose it at the egress.

Are there any other options that can interop well?

Regards,
Muthu

On Fri, Apr 5, 2019 at 11:11 AM Rabadan, Jorge (Nokia - US/Mountain View) <jorge.rabadan@nokia.com<mailto:jorge.rabadan@nokia.com>> wrote:
Hi,

I think you should check out https://tools.ietf.org/html/draft-ietf-bess-evpn-df-election-framework-09

This draft updates RFC7432 in certain aspects of the DF Election, and it is already at the RFC editor.

Check out the use of Ethernet Tag in the document.

   o Ethernet Tag - used to represent a Broadcast Domain that is
     configured on a given ES for the purpose of DF election. Note that
     any of the following may be used to represent a Broadcast Domain:
     VIDs (including Q-in-Q tags), configured IDs, VNI (VXLAN Network
     Identifiers), normalized VID, I-SIDs (Service Instance
     Identifiers), etc., as long as the representation of the broadcast
     domains is configured consistently across the multi-homed PEs
     attached to that ES. The Ethernet Tag value MUST be different from
     zero.

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: Friday, April 5, 2019 at 6:15 AM
To: "bess@ietf.org<mailto:bess@ietf.org>" <bess@ietf.org<mailto:bess@ietf.org>>
Cc: P Muthu Arul Mozhi <p.muthu.arul.mozhi@ericsson.com<mailto:p.muthu.arul.mozhi@ericsson.com>>
Subject: [bess] DF election rule in EVPN MH, for untagged interface - reg

Hi All,

RFC7432, section 8.5, talks about DF election algorithm (service carving algorithm)

only for <ES, VLAN> for VLAN-based service or <ES, VLAN bundle> for VLAN-(aware)
bundle service.

But there wont be any vlan id for untagged interface and so I wonder
how the service carving algorithm can be applied to elect the DF.
Also, should I use the lower VLAN ID even in the case of VLAN-bundle
service, for electing the DF?

Could some one help me to understand this please?

==========<snip from RFC 7432, section 8.5>===============
8.5<https://tools.ietf.org/html/rfc7432#section-8.5>.  Designated Forwarder Election

…

   The default procedure for DF election at the granularity of <ES,

   VLAN> for VLAN-based service or <ES, VLAN bundle> for VLAN-(aware)

   bundle service is referred to as "service carving".
…

      Assuming a redundancy group of N PE nodes, for VLAN-based service,

      the PE with ordinal i is the DF for an <ES, VLAN V> when (V mod N)

      = i.  In the case of VLAN-(aware) bundle service, then the

      numerically lowest VLAN value in that bundle on that ES MUST be

      used in the modulo function.
…
=========<snip end>======================================

Thanks & Regards
Jaikumar S

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