Re: [mpls] [Bier] Encapsulation first nibble

Eric C Rosen <erosen@juniper.net> Tue, 17 March 2015 17:11 UTC

Return-Path: <erosen@juniper.net>
X-Original-To: mpls@ietfa.amsl.com
Delivered-To: mpls@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8FA541A87AF; Tue, 17 Mar 2015 10:11:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level:
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
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 wua7SFxeSoVL; Tue, 17 Mar 2015 10:11:31 -0700 (PDT)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1bon0778.outbound.protection.outlook.com [IPv6:2a01:111:f400:fc10::1:778]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5AEC91A1B43; Tue, 17 Mar 2015 10:11:31 -0700 (PDT)
Received: from [172.29.32.200] (66.129.241.13) by BY1PR0501MB1093.namprd05.prod.outlook.com (25.160.103.139) with Microsoft SMTP Server (TLS) id 15.1.112.19; Tue, 17 Mar 2015 17:11:12 +0000
Message-ID: <55086028.1070004@juniper.net>
Date: Tue, 17 Mar 2015 13:11:04 -0400
From: Eric C Rosen <erosen@juniper.net>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0
MIME-Version: 1.0
To: Xuxiaohu <xuxiaohu@huawei.com>, "stbryant@cisco.com" <stbryant@cisco.com>, BIER <bier@ietf.org>
References: <55033E87.3030305@juniper.net> <5503403E.4050304@cisco.com> <1FEE3F8F5CCDE64C9A8E8F4AD27C19EE0831CB77@NKGEML512-MBS.china.huawei.com> <1FEE3F8F5CCDE64C9A8E8F4AD27C19EE0831CBB2@NKGEML512-MBS.china.huawei.com>
In-Reply-To: <1FEE3F8F5CCDE64C9A8E8F4AD27C19EE0831CBB2@NKGEML512-MBS.china.huawei.com>
Content-Type: text/plain; charset="gbk"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Originating-IP: [66.129.241.13]
X-ClientProxiedBy: BLUPR07CA0053.namprd07.prod.outlook.com (10.255.223.166) To BY1PR0501MB1093.namprd05.prod.outlook.com (25.160.103.139)
Authentication-Results: ietf.org; dkim=none (message not signed) header.d=none;
X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY1PR0501MB1093;
X-Forefront-Antispam-Report: BMV:1; SFV:NSPM; SFS:(10019020)(6049001)(6009001)(24454002)(377454003)(479174004)(46102003)(42186005)(86362001)(23696002)(117636001)(59896002)(93886004)(122386002)(92566002)(19580395003)(83506001)(77096005)(2950100001)(62966003)(77156002)(15975445007)(87976001)(65806001)(36756003)(54356999)(50986999)(50466002)(65956001)(65816999)(40100003)(76176999)(87266999)(2501003)(66066001)(47776003)(64126003)(62816006); DIR:OUT; SFP:1102; SCL:1; SRVR:BY1PR0501MB1093; H:[172.29.32.200]; FPR:; SPF:None; MLV:sfv; LANG:en;
X-Microsoft-Antispam-PRVS: <BY1PR0501MB109315BD28DD82AC0A0E8894D4030@BY1PR0501MB1093.namprd05.prod.outlook.com>
X-Exchange-Antispam-Report-Test: UriScan:;
X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5002010)(5005006); SRVR:BY1PR0501MB1093; BCL:0; PCL:0; RULEID:; SRVR:BY1PR0501MB1093;
X-Forefront-PRVS: 0518EEFB48
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Mar 2015 17:11:12.6020 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR0501MB1093
Archived-At: <http://mailarchive.ietf.org/arch/msg/mpls/uuSncRcNzcFQ0usNpfwfrzm7CrM>
Cc: "mpls@ietf.org" <mpls@ietf.org>, "sfc@ietf.org" <sfc@ietf.org>
Subject: Re: [mpls] [Bier] Encapsulation first nibble
X-BeenThere: mpls@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Tue, 17 Mar 2015 17:11:33 -0000

On 3/17/2015 7:17 AM, Xuxiaohu wrote:
> Another way is to add a protocol identifier field after the bottom of
> the label stack
> (https://tools.ietf.org/html/draft-xu-mpls-payload-protocol-identifier-00).
> In this way, we would not be bothered about the nibble issue anymore
> when proposing any new encapsulation header which may be encapsulated
> within an MPLS packet.

When a BIER packet is traveling from BFIR to BFER via a sequence of 
directly connected BFRs, each BFR already knows, via the bottom label, 
that the packet is a BIER packet.  The nibble issue really only matters 
when a BIER packet is traveling through a non-BIER tunnel.

When a BIER packet is traveling through a non-BIER tunnel, some of the 
transit routers may be routers that are running older software.  They 
will base their ECMP treatment of the packet on the first nibble.  A 
protocol identifier field won't help, because these old routers won't 
understand it.  For newer routers, I think the proper direction is to 
use the MPLS entropy label, rather than to have each router compute the 
entropy based on an analysis of the next encapsulation header.

So I don't think BIER justifies the use of a new MPLS special purpose 
payload-protocol-identifier label.

There is one case though in which it could potentially be useful to 
enable the transit routers of a unicast MPLS tunnel to determine that a 
particular packet has a BIER payload.  Suppose thtat the MPLS TTL of the 
unicast tunnel expires while the packet is still in the tunnel.  It 
might be useful for the transit router to generate an ICMP response to 
the TTL expiration, and for this ICMP response to be BIER-aware. 
However, this is only likely to happen in a traceroute-like application, 
and I don't think that is sufficient justification for having all BIER 
packets carry the two or three extra label stack entries it would take 
to provide the special purpose payload-protocol-identifier label.  On 
the other hand, a nibble value specific to BIER might be useful, as it 
provides the same information without requiring additional overhead.