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

joel jaeggli <joelja@bogus.com> Sat, 11 April 2015 19:00 UTC

Return-Path: <joelja@bogus.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 BDAED1B2C59; Sat, 11 Apr 2015 12:00:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level:
X-Spam-Status: No, score=-1.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01] autolearn=unavailable
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 9YhJknOWn8Ph; Sat, 11 Apr 2015 12:00:37 -0700 (PDT)
Received: from nagasaki.bogus.com (nagasaki.bogus.com [IPv6:2001:418:1::81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E98D61B2C6B; Sat, 11 Apr 2015 12:00:32 -0700 (PDT)
Received: from mb-aye.local (160.sub-70-211-1.myvzw.com [70.211.1.160]) (authenticated bits=0) by nagasaki.bogus.com (8.14.9/8.14.9) with ESMTP id t3BIwWSG000395 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Sat, 11 Apr 2015 18:58:33 GMT (envelope-from joelja@bogus.com)
To: Ian Cox <icox@broadcom.com>, Erik Nordmark <nordmark@acm.org>, Xuxiaohu <xuxiaohu@huawei.com>, "nvo3@ietf.org" <nvo3@ietf.org>
references: <1FEE3F8F5CCDE64C9A8E8F4AD27C19EE0832353F@NKGEML512-MBS.china.huawei.com> <5525C22C.1030303@acm.org> <1FEE3F8F5CCDE64C9A8E8F4AD27C19EE08323BD3@NKGEML512-MBS.china.huawei.com> <5526BBDB.3000805@acm.org> <A65E1B7285EE2B43B0F4082203BAD2800168F964@SJEXCHMB06.corp.ad.broadcom.com>
From: joel jaeggli <joelja@bogus.com>
message-id: <55296ED2.9030204@bogus.com>
Date: Sat, 11 Apr 2015 11:58:26 -0700
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.0
mime-version: 1.0
in-reply-to: <A65E1B7285EE2B43B0F4082203BAD2800168F964@SJEXCHMB06.corp.ad.broadcom.com>
Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="UnMxU96QRxfUMj5rPQ9blv0LQVFGp5UcN"
Archived-At: <http://mailarchive.ietf.org/arch/msg/mpls/3QthNQVLd3EaHYW4xAklwdVYSXc>
Cc: "mpls@ietf.org" <mpls@ietf.org>, BIER <bier@ietf.org>, "sfc@ietf.org" <sfc@ietf.org>
Subject: Re: [mpls] [nvo3] [Bier] 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: Sat, 11 Apr 2015 19:00:40 -0000

On 4/9/15 3:50 PM, Ian Cox wrote:
> MPLS has no indication in the label stack for intermediate nodes what
> the underlying payload is.  To achieve better load balancing of MPLS
> traffic most hardware today looks to see if the first nibble is 4 or
> 6 then parse into the payload under the belief that it is a IPv4 or
> v6 packet and parse the address fields out to use in the ECMP hash.

Some of them also use the TOS or DSCP bits as part of the hashkey with
the additional ensuing entertainment value that provides.

> If your defining something new please put a "next protocol" or type
> field in the preceding header so it clear what the next protocol is.
> The 4 or 6 guess for the underlying MPLS payload being an IP packet
> was fine until IEEE allocated MAC addresses starting with 6. This
> issue is specific PWE3 packets that do not contain the control word.
> 
> 
> Ian
> 
> -----Original Message----- From: BIER [mailto:bier-bounces@ietf.org]
> On Behalf Of Erik Nordmark Sent: Thursday, April 09, 2015 10:50 AM 
> To: Xuxiaohu; Erik Nordmark; nvo3@ietf.org Cc: mpls@ietf.org; BIER;
> sfc@ietf.org Subject: Re: [Bier] [nvo3] Encapsulation considerations
> 
> 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?
> 
> 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] Sent: 2015年3月26日 5:01 To:
>>>>> 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 https://www.ietf.org/mailman/listinfo/nvo3
>>>> 
>> 
> 
> _______________________________________________ BIER mailing list 
> BIER@ietf.org https://www.ietf.org/mailman/listinfo/bier 
> _______________________________________________ nvo3 mailing list 
> nvo3@ietf.org https://www.ietf.org/mailman/listinfo/nvo3
>