Re: [mpls] [sfc] The first nibble issue associated with MPLS encapsulation

Stewart Bryant <stewart.bryant@gmail.com> Thu, 14 April 2016 09:31 UTC

Return-Path: <stewart.bryant@gmail.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 4175C12D61D; Thu, 14 Apr 2016 02:31:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 HIbYPwLJAxUH; Thu, 14 Apr 2016 02:31:36 -0700 (PDT)
Received: from mail-wm0-x235.google.com (mail-wm0-x235.google.com [IPv6:2a00:1450:400c:c09::235]) (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 61ECA12D619; Thu, 14 Apr 2016 02:31:36 -0700 (PDT)
Received: by mail-wm0-x235.google.com with SMTP id n3so116970482wmn.0; Thu, 14 Apr 2016 02:31:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=hbEnJweM1pN89JA5RGjVa2ZI3SOTNwr6BeNHZl+FBeY=; b=GBw288Bi4Y+ESyqv67XjcOBL7jftJRPbtnpx4QRe4iat+WnwzzP3MeQbC1oOtFPKae Op75nqFDKdN+GYxlD81x3Lsaq3V9nK02/52CdD6qEcM5bDSlppxj+scvscZKWzgnL7pU Pn6tjKgAb+WKDroWbtLqaiL4SvvPux2KMEknpwGerkb4mE2hOTKjsKTNgERw1Rl9o2MF FNj8FuGNk+iREF1/Q44RLkOKx35LHyF0WwoV1/yO+mpcQV1VybXaSld41WWmovWK7HGQ VY1tVfiIIUIIVEJ6SVZTEXQGObu/gSBjHuVDNjp53IM5lB+/tXyOYVSXFbT33BUuWGF+ FVXA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=hbEnJweM1pN89JA5RGjVa2ZI3SOTNwr6BeNHZl+FBeY=; b=HmqnGZXsZBaarKeBiXEeq8bX+8ASzALIcNzAUd+B3iZygFZdrHqkHZ+WoM9t5sCsqx LOCSxY6HlSJhtL94x/50VyiX0YyZesUDlOPg7y2NgMqJuWtfv5tJA/7ijcqy+0PFLJUT 6MtUOBiRSkCsViRy5pOMrVZ6u7POH/USkxD6X6WyLf9Tbt/+sBuf4O5DpEvJqEMHTBb1 TcdAYRZ4SWX0Sdsg41URDBG7tXACm6n8JqRjd1+OLiCdBnRPn71VkTJDI24UFNoUC8Qw sWYTukDSiCS5U8UnjpRxRETppM9CmVs3kE2BtyRPwcfrQM1n5vtSmTyEv23prke0FL9e 4vMA==
X-Gm-Message-State: AD7BkJK+l+CGu4Q4radaCUJXYsGww6M/9SWpCygMF2gGsQVbjy+hjPxjwBdQafcLyhyftw==
X-Received: by 10.28.50.133 with SMTP id y127mr34982077wmy.4.1460626294935; Thu, 14 Apr 2016 02:31:34 -0700 (PDT)
Received: from [192.168.2.126] (host213-123-124-182.in-addr.btopenworld.com. [213.123.124.182]) by smtp.gmail.com with ESMTPSA id a73sm5581617wme.2.2016.04.14.02.31.33 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 14 Apr 2016 02:31:33 -0700 (PDT)
To: Eric C Rosen <erosen@juniper.net>, Alexander Vainshtein <Alexander.Vainshtein@ecitele.com>, Greg Mirsky <gregimirsky@gmail.com>
References: <1FEE3F8F5CCDE64C9A8E8F4AD27C19EE0D53871C@NKGEML515-MBX.china.huawei.com> <B664DB14-0A8C-4437-83E3-F9DA6C0DDA61@cisco.com> <mc51yrrf9n0wxbjsrprt9amf.1460143890063@email.android.com> <CA+RyBmXpZ-Kt77TW-=_kPYmahdw_yUHB5xhy8YtYVq2OcRJxbA@mail.gmail.com> <D32DB725.3F57B%cpignata@cisco.com> <CA+RyBmW+qonpScnLOfsGorayCvsS0vrFcn+o5nPvOqCOv9Jc3g@mail.gmail.com> <AM3PR03MB0775C55E5AD3247F373007139D940@AM3PR03MB0775.eurprd03.prod.outlook.com> <570BB266.8090608@juniper.net>
From: Stewart Bryant <stewart.bryant@gmail.com>
Message-ID: <570F6374.6030406@gmail.com>
Date: Thu, 14 Apr 2016 10:31:32 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0
MIME-Version: 1.0
In-Reply-To: <570BB266.8090608@juniper.net>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/mpls/oNM2M1_BMTDg6N-HR7JiTmyxM4g>
Cc: "mpls@ietf.org" <mpls@ietf.org>, "bier@ietf.org" <bier@ietf.org>, "Dr. Tony Przygienda" <tonysietf@gmail.com>
Subject: Re: [mpls] [sfc] The first nibble issue associated with MPLS encapsulation
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: Thu, 14 Apr 2016 09:31:38 -0000

I am not sure zero is PW so much as "type undefined - don't ECMP".
That was certainly the definition that we were talking about at the
time.

The nibble value  is recorded in the IP types registry
and any wish to take another value really needs to be discussed
with the INT area.

Also the code space is so small that we really need to be super
conservative in its allocation. Given it's true purpose,
I suggest that we only have the unused deprecated values
of 0 (taken), 1 (taken), 2, 3 and possibly 5 available for use (for ever).
Seven and up really should be kept available to the IP protocol itself.

Five of course was deployed. It was used for some form of streaming
protocol, but it is probably safe to assume that it is no longer in
the wild.

Whilst Eric makes a case for 5, I think there is also a strong
case for zero.

If there is a need for subtyping zero for wireshark etc, we could
take a look at what the use is made of the second nibble in
PWs and see if there is a set of values never in practise used
and thus available for subtyping.

- Stewart


On 11/04/2016 15:19, Eric C Rosen wrote:
> (Removed sfc from the cc-list, this seems out of scope for that WG.)
>
> In designing the BIER header, the BIER WG is free to mandate any value 
> it chooses in the first nibble.  These values do not come from a 
> "first nibble" registry.
>
> It seems prudent to put a value like 5 for the following reasons:
>
> - If a BIER packet is being parsed by an off-line tool, this is a good 
> hint (though just a hint) that the packet is actually a BIER packet;
>
> - If a BIER packet is traveling through an MPLS tunnel, and it 
> traverses a node that does its MPLS load splitting by guessing at the 
> type of the payload, then this is  a good hint that the MPLS payload 
> is not IPv4, IPv6, or PW.
>
> This strategy does incur a risk.  Suppose IPv5 gets designed, 
> implemented, and deployed, and folks start to deploy hardware that 
> does MPLS load balancing by inspecting the IPv5 headers of the MPLS 
> payloads.  If a BIER packet is traversing an MPLS tunnel, 
> inappropriate load splitting may occur if the hardware thinks the 
> payload is IPv5 rather than BIER.
>
> This particular risk doesn't seem very significant to me.
>
> Thus I don't think there's anything here that needs fixing.
>
>
> _______________________________________________
> mpls mailing list
> mpls@ietf.org
> https://www.ietf.org/mailman/listinfo/mpls