Re: [Bier] BIERv6 Encapsulation Presentation in BIER

Gyan Mishra <hayabusagsm@gmail.com> Thu, 30 July 2020 03:33 UTC

Return-Path: <hayabusagsm@gmail.com>
X-Original-To: bier@ietfa.amsl.com
Delivered-To: bier@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 399963A0C5F; Wed, 29 Jul 2020 20:33:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.087
X-Spam-Level:
X-Spam-Status: No, score=-2.087 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_REMOTE_IMAGE=0.01, URIBL_BLOCKED=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 ijJ_EVQoIZjV; Wed, 29 Jul 2020 20:33:31 -0700 (PDT)
Received: from mail-vk1-xa31.google.com (mail-vk1-xa31.google.com [IPv6:2607:f8b0:4864:20::a31]) (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 A8B143A0C5E; Wed, 29 Jul 2020 20:33:30 -0700 (PDT)
Received: by mail-vk1-xa31.google.com with SMTP id s81so860098vkb.3; Wed, 29 Jul 2020 20:33:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=sRhU2bEdElyiSxcVZQt2riPrdC7Qu+EtohgNstUELBU=; b=luha+ofNPaP7lDrIv5MCWXU5QFgXBU3O8dp4DHiHJV/7F+jDjTXEM50blzuDyah2Ir JRJeDY9wSdTYelJQh1ZpQI7/16TLhAQMLLipVI+FRpi1mIcNSLilZ0ufLOTch56IF8dV MwZYJHImwyxwlDKEMfVy18Utf12DtbwWeINsJQ0iW04zTzHVCR+0ikW+c3Y6KVOhzLAP BdLXi1DSDT1sI436VgN6pw1ik6pzH2d3gw4E7Co3+KSq99D6h88T0hbahNVwx9lIKfgp tK7/h6BjsHGUQNaqxAGlsu2hTpuG0dGbTTxDEdPJLpI9nphz7eJ0HhTaTYNarUbDKTfR lBYQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=sRhU2bEdElyiSxcVZQt2riPrdC7Qu+EtohgNstUELBU=; b=F59tp+WPvO1y54KFH2v9NeiBRIa+G0pqF0qMe61rkVkyoUaga+awphSYklTJ4hnuDR bwJQ5RfRlTpNozFMpHXgPxO/sHoGYxx7/7M0RfZqZ+qkQ2NobryaKO9S+fjOR32W8u0e 7EuUi4Xd04mDx9JQ4aRm4k919Vyz8gF1fDD3vh4Bj1nFEIfQL9RmBmvAfx9Tqd4LPwcE yPNytf7CedVNJRI3bU5JH0dh3YjQR0wPMkVDiGHP1gslAgdg/iln6ODoBQdtxGdLDyRF ceBSUSbJaPT76vEsTck1RiorK5J0VHBSowzgUKmjZFL8tCtIYkHduAgNKxTBVq0tKllw Ww5Q==
X-Gm-Message-State: AOAM532zZYZ6SWjxm0rSfR5gjdrqjKoDhfgf///OV6JDG00WKyQv/NMy YP8NxeQXedoSl9/9xhwLAMl1v8VWipu5m4eUMaE=
X-Google-Smtp-Source: ABdhPJwEEhgNdo3QBVWNfMsqM28Pn+Z5CQA71HJXedlY/DTaJzavd8Gc9eA5S9HkxvSq8zyIpvjyr+BsxBtF2UUK8BU=
X-Received: by 2002:a1f:add8:: with SMTP id w207mr545667vke.3.1596080009417; Wed, 29 Jul 2020 20:33:29 -0700 (PDT)
MIME-Version: 1.0
References: <CABNhwV2kYQgX46864G5-HxKkNV4rca-mfGkzOzF1-8_P5pMzxw@mail.gmail.com> <202007301028380407152@zte.com.cn>
In-Reply-To: <202007301028380407152@zte.com.cn>
From: Gyan Mishra <hayabusagsm@gmail.com>
Date: Wed, 29 Jul 2020 23:33:18 -0400
Message-ID: <CABNhwV2BuQgw7nKoVkSPh-uUZxfJOyFoWvdAzfCy7DtVUQcMCg@mail.gmail.com>
To: zhang.zheng@zte.com.cn
Cc: bier@ietf.org, gengxuesong@huawei.com, ipv6@ietf.org, michael.mcbride@futurewei.com, xiejingrong@huawei.com
Content-Type: multipart/alternative; boundary="000000000000fe964a05aba0550b"
Archived-At: <https://mailarchive.ietf.org/arch/msg/bier/17SkO4YzrTnpG811ULuCPOHM02M>
Subject: Re: [Bier] BIERv6 Encapsulation Presentation in BIER
X-BeenThere: bier@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "\"Bit Indexed Explicit Replication discussion list\"" <bier.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/bier>, <mailto:bier-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/bier/>
List-Post: <mailto:bier@ietf.org>
List-Help: <mailto:bier-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/bier>, <mailto:bier-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 30 Jul 2020 03:33:34 -0000

Hi Sandy

Thanks for your comments in the BIER ML and v6 related I added to this
thread.

Answers  in-line

Thanks

Gyan

On Wed, Jul 29, 2020 at 10:28 PM <zhang.zheng@zte.com.cn> wrote:

> Hi Gyan,
>
> Thank you bring this topic here in 6MAN working group also.
>
> I think a simple protocol number assignment for BIER can achieving BIER
> forwarding in IPv6 envionment.
>
> Please find the document through:
> https://datatracker.ietf.org/doc/draft-zhang-bier-bierin6/
>
>
> About the bier-ipv6-requirements, please also find my comments through:
> https://mailarchive.ietf.org/arch/msg/bier/iCjQHt-QdHLmyrR2hDLrBbV1MRg/
>
> For easy to reading, I copy some of them here:
>
> 1. If some packet needs to be fragmented, BFIR does the fragment, and the
> fragmented packet is BIER payload, it won't be executed in BFR.
>

   Gyan> Agreed per RFC 8200 Sec 4

>
> And the same with IPSEC ESP. The ESP is also the BIER payload, and the
> intermediate BFRs will not see it and execute it.
>

    Gyan> Agreed per RFC 8200 Sec 4

> 2. We know there are many IPv6 extension headers, the EHs encapsulation
> way may be different according to vendor's implementation and operator's
> deployment.
>

    Gyan> Agreed.  See RFC 7045 that detailed EH processing and fast path
and slow path processing.

Also see this draft on EH processing

https://tools.ietf.org/html/draft-gont-v6ops-ipv6-ehs-in-real-world-00

There has been improvements with router vendors across the board in being
able to process EH headers in the forwarding plane fast path.  As each

>
> And further, there are many options defined in HBH and DOH. In this
> situation, if BIER header is encoded in any of them, how to locate the BIER
> header and guarantee the fast forwarding?
>

Per RFC 8200 section 4 all extension headers except the HBH must not be
processed inserted or deleted by any node in the path.  In our case we have
an exception as we are the 3rd highest order option type bit set for
en-route processing.

Extension headers (except for the Hop-by-Hop Options header) are not
   processed, inserted, or deleted by any node along a packet's delivery
   path, until the packet reaches the node (or each of the set of nodes,
   in the case of multicast) identified in the Destination Address field
   of the IPv6 header.

If two or more extension header existed, how do we know there is a BIER
> header existed which must be used for forwarding?
>

Answer given above.  Per RFC 8200, extended headers processing.  Please
note below excerpt from section 4.1.

A full implementation of IPv6 includes implementation of the
   following extension headers:

      Hop-by-Hop Options
      Fragment
      Destination Options
      Routing
      Authentication
      Encapsulating Security Payload


IPv6 nodes must accept and attempt to process extension headers in
   any order and occurring any number of times in the same packet,
   except for the Hop-by-Hop Options header, which is restricted to
   appear immediately after an IPv6 header only.  Nonetheless, it is
   strongly advised that sources of IPv6 packets adhere to the above
   recommended order until and unless subsequent specifications revise
   that recommendation.


If fragment EH is also carried in the packet, how do we know it need or
> needn't to be executed?
>

   Fragmentation header is processed by the final destination just as is
all other headers except for the HBH.  So the middle router BFRs will not
process any of the other EH types and will only process the DOH per flag
set.

>
> Further, please find my comments inline below by Sandy>.
>
>
> Thanks,
>
> Sandy
>
>
> <http://www.zte.com.cn/>
> 原始邮件
> *发件人:*GyanMishra <hayabusagsm@gmail.com>
> *收件人:*Gengxuesong (Geng Xuesong) <gengxuesong@huawei.com>;Michael McBride
> <michael.mcbride@futurewei.com>;Xiejingrong <xiejingrong@huawei.com>;
> *抄送人:*bier@ietf.org <bier@ietf.org>;6man WG <ipv6@ietf.org>;
> *日 期 :*2020年07月30日 09:29
> *主 题 :**Re: [Bier] BIERv6 Encapsulation Presentation in BIER*
> _______________________________________________
> BIER mailing list
> BIER@ietf.org
> https://www.ietf.org/mailman/listinfo/bier
>
>
> Hi 6MAN
>
> As Xuesong mentioned please review the BIER IPv6 requirements draft and in
> particular the BIERv6 native option defined in BIERv6 native draft below:
>
> https://datatracker.ietf.org/doc/html/draft-ietf-bier-ipv6-requirements-06
>
> BIERv6 Native
>
> https://datatracker.ietf.org/doc/html/draft-xie-bier-ipv6-encapsulation-08
>
>
> BIERv6 leverages the IPV6 DOH to encode the BIER header for hop by hop
> native BFR process using RFC 8200 DOH EH 3rd highest order bit in the
> options type set to 1 for en route hop by hop bier header processing.
>
> Please review in the context of the “Death by Extension headers” thread in
> recent as well as RFC 7045 and slow and fast processing  related  to DOH
> extension header with the encoded BIER header processing hop by hop with
> the BIERv6 proposal.
>
> Also please comment on caveats related to fragmentation and AH and ESP EH
> headers processing as that may exist in the multicast payload and needs to
> be accounted for.
>
> The concern is that in a Normal state Green Field where all routers in the
> BIER sub domain are BFR capable that we would be performing hop by hop
> processing of the DOH options BIER header and want to ensure that the DOH
> BIER header processing happens in the data plane forwarding plane in
> hardware fast path.
>
> Sandy> We all know in order to achieving multicast forwarding, BIER header
> must be executed in every BFR. If other options or EHs can be carried also
> in the IPv6 header? When there are two or more options existed, how to
> guarantee the hardware fast path through varible variable length
> recognization?
>
> Gyan> Answered above
>
> =======================================================================
>
> In Brown field deployments there maybe cases where segments of the domain
> have Non BFR capable routers, and in those cases the End.Bier destination
> propagated in the IGP extension would may have multi hop destination so
> that we IPV6 tunnel around the non BFR routers, and in those cases the Non
> BFR routers would be unicast forwarding the tunneled payload so no DOH
> processing in this case.  So we are good here as no EH processing.
>
> Sandy> At first, accroding to RFC8200, DOH is processed when reaches DA or
> final DA. If the packet travels across the node which address is not the
> DA, the DOH is not processed naturally.
>
    Gyan> Normally that is true but we have the option type en-route flag
set to 1 for hop by hop processing

> Second, why a special IPv6 address is needed for BIER? Do you mean if we
> have not the special address, BIER encoding can not be processed correctly?
> I think it's wrong. BIER need not any special requirement of IPv6 address.
>
> Gyan>  My verbiage may have been confusing.  Their is no special IPV6
> address.  The BFR hop by hop processing happens automatically based on
> known list of BFRs propagated by the BIER IGP extension.  So tunneling
> happens automatically in cases where Non BFRs exist along the path.
>
> =======================================================================
>
> Excerpt from RFC 8200 DOH options type 3rd highest order bit being set to
> 1 for en route hop by hop processing of the BIER header.
>
> Sandy> To achieveing multicast forwarding, the BitString in BIER must be
> changed on every branch node. If you want to encode BIER header in any
> options, this bit must be set. But I am confused, why other EHs are not
> mentioned here? Do you mean any other EHs can not be carried here? If the
> other EHs can be carried here, what is the process order?
>

    Gyan> See comments in above email regarding processing order as all
extension headers except hbh are processed by  final end destination.  Any
and all EHs can be carried, it’s just that they are only processed by the
final destination.  So the BFRs along the path are only processing this DOH
with flag bit set for en-route processing.

>
> 4.1 <https://tools.ietf.org/html/rfc8200#section-4.1>.  Extension Header Order
>
>    When more than one extension header is used in the same packet, it is
>    recommended that those headers appear in the following order:
>
>       IPv6 header
>       Hop-by-Hop Options header
>       Destination Options header (note 1)
>
>
> The third-highest-order bit of the Option Type specifies whether or
>    not the Option Data of that option can change en route to the
>    packet's final destination.  When an Authentication header is present
>
>
> in the packet, for any option whose data may change en route, its
>    entire Option Data field must be treated as zero-valued octets when
>    computing or verifying the packet's authenticating value.
>
>        0 - Option Data does not change en route
>
>        1 - Option Data may change en route
>
>
> Kind Regards
>
> Gyan
>
>
> On Wed, Jul 29, 2020 at 7:02 AM Gengxuesong (Geng Xuesong) <
> gengxuesong@huawei.com> wrote:
>
>> Hi 6man,
>>
>>
>>
>> There will be a presentation for BIERv6 encapsulation draft in BIER WG in
>> the upcoming session 1 (
>> https://www.ietf.org/proceedings/108/agenda/agenda-108-bier-03). BIERv6
>> uses IPv6 extension header to enable BIER forwarding, which also has some
>> good discussions in 6MAN ML before. Welcome to come and give comments!
>>
>>
>>
>> Best Regards
>>
>> Xuesong
>> --------------------------------------------------------------------
>> IETF IPv6 working group mailing list
>> ipv6@ietf.org
>> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
>> --------------------------------------------------------------------
>>
> --
>
> <http://www.verizon.com/>
>
> *Gyan Mishra*
>
> *Network Solutions A**rchitect *
>
>
>
> *M 301 502-134713101 Columbia Pike
> <https://www.google.com/maps/search/13101+Columbia+Pike+Silver+Spring,+MD?entry=gmail&source=g> *Silver
> Spring, MD
> <https://www.google.com/maps/search/13101+Columbia+Pike+Silver+Spring,+MD?entry=gmail&source=g>
>
>
> --

<http://www.verizon.com/>

*Gyan Mishra*

*Network Solutions A**rchitect *



*M 301 502-134713101 Columbia Pike *Silver Spring, MD