Re: [mpls] [Bier] [sfc] [nvo3] Encapsulation considerations

Xuxiaohu <xuxiaohu@huawei.com> Fri, 10 April 2015 03:34 UTC

Return-Path: <xuxiaohu@huawei.com>
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 8333E1AC3EC; Thu, 9 Apr 2015 20:34:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.21
X-Spam-Level:
X-Spam-Status: No, score=-4.21 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 cxl2UdCFB4pd; Thu, 9 Apr 2015 20:34:33 -0700 (PDT)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7F3221AC3E9; Thu, 9 Apr 2015 20:34:32 -0700 (PDT)
Received: from 172.18.7.190 (EHLO lhreml403-hub.china.huawei.com) ([172.18.7.190]) by lhrrg02-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id BRF80664; Fri, 10 Apr 2015 03:34:30 +0000 (GMT)
Received: from NKGEML404-HUB.china.huawei.com (10.98.56.35) by lhreml403-hub.china.huawei.com (10.201.5.217) with Microsoft SMTP Server (TLS) id 14.3.158.1; Fri, 10 Apr 2015 04:34:29 +0100
Received: from NKGEML512-MBS.china.huawei.com ([169.254.8.209]) by nkgeml404-hub.china.huawei.com ([10.98.56.35]) with mapi id 14.03.0158.001; Fri, 10 Apr 2015 11:34:26 +0800
From: Xuxiaohu <xuxiaohu@huawei.com>
To: Tony Przygienda <tonysietf@gmail.com>, Alia Atlas <akatlas@gmail.com>
Thread-Topic: [Bier] [sfc] [nvo3] Encapsulation considerations
Thread-Index: AQHQcljZ0fVc246YHEKvkFIl2pYVuJ1D7uKAgACBmYCAAAMiAIAABIUAgAETRwA=
Date: Fri, 10 Apr 2015 03:34:25 +0000
Message-ID: <1FEE3F8F5CCDE64C9A8E8F4AD27C19EE08324770@NKGEML512-MBS.china.huawei.com>
References: <1FEE3F8F5CCDE64C9A8E8F4AD27C19EE0832353F@NKGEML512-MBS.china.huawei.com> <5525C22C.1030303@acm.org> <1FEE3F8F5CCDE64C9A8E8F4AD27C19EE08323BD3@NKGEML512-MBS.china.huawei.com> <5526BBDB.3000805@acm.org> <CAG4d1rd2ha+g44-6dzbHJ9iA4=2Nbhaug2xSKP_O7a8rVELOtA@mail.gmail.com> <CA+wi2hOkOZ3-cXM2TYNY=W2bnZDgOM+BgArSfkc1--2Sr+iC-A@mail.gmail.com>
In-Reply-To: <CA+wi2hOkOZ3-cXM2TYNY=W2bnZDgOM+BgArSfkc1--2Sr+iC-A@mail.gmail.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.111.99.55]
Content-Type: multipart/alternative; boundary="_000_1FEE3F8F5CCDE64C9A8E8F4AD27C19EE08324770NKGEML512MBSchi_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <http://mailarchive.ietf.org/arch/msg/mpls/-4ydfFMrIDOTPJj9heCK4QNoU0U>
Cc: Erik Nordmark <nordmark@acm.org>, "nvo3@ietf.org" <nvo3@ietf.org>, BIER <bier@ietf.org>, "sfc@ietf.org" <sfc@ietf.org>, "mpls@ietf.org" <mpls@ietf.org>
Subject: Re: [mpls] [Bier] [sfc] [nvo3] Encapsulation considerations
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: Fri, 10 Apr 2015 03:34:36 -0000

Hi Tony,

From: Tony Przygienda [mailto:tonysietf@gmail.com]
Sent: Friday, April 10, 2015 2:18 AM
To: Alia Atlas
Cc: Erik Nordmark; BIER; mpls@ietf.org; Xuxiaohu; nvo3@ietf.org; sfc@ietf.org
Subject: Re: [Bier] [sfc] [nvo3] Encapsulation considerations

I would venture to say that
a.      BIER misordering would be a bad thing for many applications but I do not think that the encapsulation per se misorders or not as property, it’s the way the intermediate routers are allowed to play shannigans (or seen differently, ‘heuristically’ come up with things given unclear semantics of the encaps) that causes misordering. So it is up to the encaps to give enough info so the routers in the middle do the ‘right thing’. Modulo historical problems with CW support and so on …
b.      This flavor of discussion is repeating, e.g. eVPN RFC with the CW/no CW debate which I could restore only partially and other groups now …

OK, lemme stick my (naïve ;-) head far out: why do encaps guidelines for everything that can go over PSN not mandate CW from now on? Existing gear and historical RFCs supported until they peter out and entropy labels being an orthogonal mechanism …  Or do we think the ‘heuristical DPI' is a bottomless box of band-aids ?
[Xiaohu] Wouldn’t it be better to insert a protocol id field than to insert a CW? The latter could only tell you the MPLS payload is not IP payload while the former could tell you what the MPLS payload is. As Eric mentioned previously in the BIER mailing-list, it’s useful for intermediate routers to know whether the MPLS payload is a BIER packet. In addition, this draft (http://tools.ietf.org/html/draft-guichard-sfc-mpls-metadata-00) also mentioned the need of determining the MPLS payload (i.e., just knowing the payload is not an IP payload is not enough). However, the approach as defined in this draft is only applicable of indicating the presence of metadata within an MPLS packet. Wouldn’t it be better to go a step further (i.e., inserting a protocol id field between the label stack and the MPLS payload)? In this way, it’s applicable of indicating whatever MPLS payloads and therefore it would not need those MPLS payloads themselves to indicate the payload types (i.e., by using the first nibble as a poor-man’s protocol id field).
Best regards,
Xiaohu
--- tony

On Thu, Apr 9, 2015 at 11:01 AM, Alia Atlas <akatlas@gmail.com<mailto:akatlas@gmail.com>> wrote:
On Thu, Apr 9, 2015 at 1:50 PM, Erik Nordmark <nordmark@acm.org<mailto:nordmark@acm.org>> wrote:
On 4/8/15 7:20 PM, Xuxiaohu wrote:
Hi Erik,
But I couldn't tell from the emails on the BIER list whether the constraints on the first nibble value is a strict requirement in all cases, or whether it is conditional on something (and if so, what is the condition).
The conditions that I have thought of include: 1) the encapsulation is sensitive to packet misordering; 2) the encapsulation may be transported over an MPLS PSN; 3) LSRs within that MPLS PSN may use the contents of the MPLS payload to select the ECMP path.
Those are conditions when the misordering would happen. But are you saying that any LSR is free to use the MPLS payload (including looking for 4 and 6 in the first nibble) to determine whether the packet is IPv4 and IPv6 and use what it thinks are IPv4 and IPv6 fields for ECMP purposes?

Take a quick look at RFC 4385 - which is the control word for pseudo-wires.
The short form is that a number of routers at the time peeked beneath the label stack to figure out whether what was inside as IPv4 or IPv6 based solely upon the first nibble.  A recommendation was made that the checksum should also be verified, but the only equipment that I'm certain of that did that isn't around anymore.

Also look at Section 2.4 of RFC 7325.

Alia


Thanks,
   Erik

Best regards,
Xiaohu
Once I know that answer we can definitely add some text pointing out the issue.

Thanks,
     Erik
Best regards,
Xiaohu
-----Original Message-----
From: Erik Nordmark [mailto:nordmark@sonic.net<mailto:nordmark@sonic.net>]
Sent: 2015年3月26日 5:01
To: nvo3@ietf.org<mailto:nvo3@ietf.org>
Subject: [nvo3] Encapsulation considerations


I presented part of this at the most recent NVO3 interim meeting.The
full
12
areas of considerations where presented at RTGWG earlier this week.
    The draft is
      http://datatracker.ietf.org/doc/draft-rtg-dt-encap/
    and the slides are at
     http://www.ietf.org/proceedings/92/slides/slides-92-rtgwg-8.pdf

There is probably additional things in there to consider for NVO3,
and
advice
that can be reused to make it easier to move NVO3 forward.

Regards,
      Erik


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


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


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