Re: [mpls] draft-ietf-sfc-nsh "first nibble" issue

Gregory Mirsky <gregory.mirsky@ericsson.com> Wed, 27 April 2016 17:05 UTC

Return-Path: <gregory.mirsky@ericsson.com>
X-Original-To: mpls@ietfa.amsl.com
Delivered-To: mpls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id ABB8A12D9F3; Wed, 27 Apr 2016 10:05:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.22
X-Spam-Level:
X-Spam-Status: No, score=-4.22 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 gi7lTXzrcmKr; Wed, 27 Apr 2016 10:05:02 -0700 (PDT)
Received: from usplmg20.ericsson.net (usplmg20.ericsson.net [198.24.6.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AEE0912D9EF; Wed, 27 Apr 2016 10:05:01 -0700 (PDT)
X-AuditID: c618062d-f79886d000002334-f1-5720ea026bc0
Received: from EUSAAHC002.ericsson.se (Unknown_Domain [147.117.188.78]) by usplmg20.ericsson.net (Symantec Mail Security) with SMTP id 24.0C.09012.20AE0275; Wed, 27 Apr 2016 18:34:10 +0200 (CEST)
Received: from EUSAAMB103.ericsson.se ([147.117.188.120]) by EUSAAHC002.ericsson.se ([147.117.188.78]) with mapi id 14.03.0248.002; Wed, 27 Apr 2016 13:05:00 -0400
From: Gregory Mirsky <gregory.mirsky@ericsson.com>
To: "Jim Guichard (jguichar)" <jguichar@cisco.com>, "sfc@ietf.org" <sfc@ietf.org>, "mpls@ietf.org" <mpls@ietf.org>, "pals@ietf.org" <pals@ietf.org>
Thread-Topic: draft-ietf-sfc-nsh "first nibble" issue
Thread-Index: AQHRoHv5jA1HvFPCM0yMnvW+PmvYjp+eC04w
Date: Wed, 27 Apr 2016 17:04:59 +0000
Message-ID: <7347100B5761DC41A166AC17F22DF11221A60FA3@eusaamb103.ericsson.se>
References: <D3462168.4C3B2%jguichar@cisco.com>
In-Reply-To: <D3462168.4C3B2%jguichar@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [147.117.188.9]
Content-Type: multipart/alternative; boundary="_000_7347100B5761DC41A166AC17F22DF11221A60FA3eusaamb103erics_"
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFuplkeLIzCtJLcpLzFFi42KZXLrHT5fplUK4wembMhZL56lb3Fq6ktVi zb91TBZPHmxld2DxmPJ7I6vHkiU/mQKYorhsUlJzMstSi/TtErgyVi4OLjgcVrF7z3vWBsav Xl2MnBwSAiYSu272sELYYhIX7q1n62Lk4hASOMoosalzHxtIQkhgOaPE3ZO2IDabgJHEi409 7CBFIgLTGSWWrdvMApIQBpr0/+E5ZhBbRMBUovvuFCCbA8g2ktjUbQVisgioSrz4zwJi8gr4 Srw/VAgxXV9i15sV7CA2p4CBRPeCE2DnMAKd8/3UGiYQm1lAXOLWk/lMEGcKSCzZc54ZwhaV ePn4H9T5ihL7+qezQ9TnSzxp3gdWzysgKHFy5hOWCYwis5CMmoWkbBaSMoi4jsSC3Z/YIGxt iWULXzPD2GcOPGZCFl/AyL6KkaO0uCAnN93IYBMjMJKOSbDp7mC8P93zEKMAB6MSD6+CrEK4 EGtiWXFl7iFGCQ5mJRHe6W+AQrwpiZVVqUX58UWlOanFhxilOViUxHkbg/+FCQmkJ5akZqem FqQWwWSZODilGhgVFVyUXjWf8zGqttz19erq+3fCDu5+mC+V+HPKbhupM/8SE/jXcovad1tu mRTF+lu50Y3befor3TR+AQs++8UJi8x3njtv8Xi5Qq71Iil551ev/N84SjnX5gU5WMnOWxio NKH5xKSZppltr1+WhmTciX774kaDoEwq7+OPW18t7gue7Lr1AYcSS3FGoqEWc1FxIgBdF7zS oAIAAA==
Archived-At: <http://mailarchive.ietf.org/arch/msg/mpls/1FlwH-YPhwktVCovg9tzbpBzpZ8>
Subject: Re: [mpls] draft-ietf-sfc-nsh "first nibble" issue
X-BeenThere: mpls@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Multi-Protocol Label Switching WG <mpls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mpls>, <mailto:mpls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mpls/>
List-Post: <mailto:mpls@ietf.org>
List-Help: <mailto:mpls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mpls>, <mailto:mpls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 27 Apr 2016 17:05:07 -0000

Hi Jim,
as this issue is related to MPLS and MPLS PWs shall we extend the audience and invite MPLS and PALS WGs to the discussion?
Personally, I prefer solution that avoids not only 0x04 and 0x06 in the first nibble but 0x00 and 0x01 as well by using Non-of-the-Above value, e.g. 0x05 as in BIER over MPLS encapsulation<https://tools.ietf.org/html/draft-ietf-bier-mpls-encapsulation-04>.

                Regards,
                                Greg

From: sfc [mailto:sfc-bounces@ietf.org] On Behalf Of Jim Guichard (jguichar)
Sent: Wednesday, April 27, 2016 4:58 AM
To: sfc@ietf.org
Subject: [sfc] draft-ietf-sfc-nsh "first nibble" issue

Dear WG:

The infamous "MPLS first nibble" issue was raised as part of the WGLC for draft-ietf-sfc-nsh-04. While this issue has been known for some time, and work has been done by the community to try and mitigate (for example RFC4928) or remove it (for example RFC6790), given the widespread implementation of existing hardware that uses the first nibble for ECMP decision processing, it seems prudent for us as a WG to address it in terms of how it affects our SFC protocol and make it clear within the draft the conclusion of the WG.

While it is true that we could rearrange our encapsulation header such that it avoids this issue (by simply making the first nibble correspond to a value that is neither 0x4 or 0x6), given multiple industry and open source implementations of the SFC encapsulation header, that is not a desired outcome, especially as multiple other transport encapsulations do not exhibit this behavior when coupled with the SFC encapsulation.

If we consider the current definition of the SFC encapsulation base header, we can see that the first two bits are used as a version field. This means that if we ever produce a version 01 for NSH it could result in a value of 0x4 or 0x6 being present within the first nibble. To avoid such a result the simplest solution would be to reserve within the SFC encapsulation specification version 01 and make it clear within the text that this is reserved and should not be used in future versions of the protocol. If we ever change the version, which incidentally should be a rare thing, we would therefore jump from version=00 to version=02 (i.e. making version 1 'reserved') thereby avoiding any clash in the first nibble.

IMHO this seems like a reasonable approach to the problem but I would like to hear opinions from the WG as to whether this is an acceptable solution and if we can reach consensus, ask the editors of draft-ietf-sfc-nsh to add text to reflect it.

Jim