Re: I-D Action: draft-filsfils-6man-structured-flow-label-00.txt

Gyan Mishra <hayabusagsm@gmail.com> Sat, 10 April 2021 05:09 UTC

Return-Path: <hayabusagsm@gmail.com>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0B04F3A229E; Fri, 9 Apr 2021 22:09:31 -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=unavailable 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 jwB87QtfHIf2; Fri, 9 Apr 2021 22:09:26 -0700 (PDT)
Received: from mail-pg1-x52f.google.com (mail-pg1-x52f.google.com [IPv6:2607:f8b0:4864:20::52f]) (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 4DA623A229F; Fri, 9 Apr 2021 22:09:26 -0700 (PDT)
Received: by mail-pg1-x52f.google.com with SMTP id f29so5390831pgm.8; Fri, 09 Apr 2021 22:09:26 -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=EdUYOZBSs5p4nbVrT6OEAedCbHqb7ni1WbZBlBgWLdY=; b=PyyRmslGoGmg7+eWJoIaM68Pfw1B2D2Q4F77222fVG3/0z7qunD3gnC3+/+AOOfk7V M0iUfYizDNehM6h0XGGddYlSNoWeqZixzB2Ll0QnaR6+xEuPycURBjdIEuEOrl8Nml5Y zVEBLNfBEtAmbg/5tTFKpC2ZeH84lY32iVqE+5fsomcaIswp0M2nguyqqrrR46W0J5gz pc1rmJyK01KY6K9TRG/fZVhYmOO3TjVgDhWeAM+5J1Cy6I/fTOMxKYfWyiUBCicbT0FZ IXwP5BkYhj4YnPmpgOKTkSJzblzB7rv3YoyzfpqCNlgPJzq8a6LR3+uoa4TM0tiBUtP9 Ec3w==
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=EdUYOZBSs5p4nbVrT6OEAedCbHqb7ni1WbZBlBgWLdY=; b=S2MPxHU1LW82TXw+7m2GuVKnbmbpxZnihyKjGrABQyV3AbPlqBH/XpyhFtX3bSzsDQ r1ve2Zy98AahWoMJRxaiLFM3pec3g/XBM8NTRV8tRYX6X65eicFGHCBxe37GKp3fcASy 37F4ZS9PNaP8Ggk+fJm2trVRp4cm7dC8t4iSnfm6oZBI6CgtuOH+8XW/tlon9fpIPo9L w7HZTDarMU/jkffiTI73npRS7n4K/kcoA1MFrXn7uMyGXV6d81KBO1Uq1z1UHGIvfV7m TEXexAUJNmj3xfPOWusKqPeiNTfiZDfWqADWg75oSnLRWhq8k9UYbtu1sldJL97EbT1e lEeg==
X-Gm-Message-State: AOAM533pR6UmTsWy+tpmqZgjvhP0a7PX/sLlOyZ0G0ocdD7uPxTvbazn y1iK8tb7oPHw+5lPsRs9KyoG2Mty9njkNzgsAMU=
X-Google-Smtp-Source: ABdhPJzCQ15Mdwe+HoiNei708C9rvV+MpAs0STFQvtD2gB042qAsGuPc1Aqr7ZobfqQwXutLUCmrxxs3l3VmABziuDg=
X-Received: by 2002:a63:2ec7:: with SMTP id u190mr16580774pgu.18.1618031364344; Fri, 09 Apr 2021 22:09:24 -0700 (PDT)
MIME-Version: 1.0
References: <161591339002.5771.1047511172491571607@ietfa.amsl.com> <b9ac5db9-58ab-5e23-d00e-886e9e72595e@gmail.com> <BL0PR05MB53165598411E9CF7B34E89D4AE749@BL0PR05MB5316.namprd05.prod.outlook.com> <CABNhwV07kQsFv8MHrK60uUeqsTWTdXX9EKJmizvtw_oURqtK9Q@mail.gmail.com> <CABNhwV23wiQevvHsj53uyxQJ7ww4aEb2RPaz-xCOpBEF9pMj-Q@mail.gmail.com>
In-Reply-To: <CABNhwV23wiQevvHsj53uyxQJ7ww4aEb2RPaz-xCOpBEF9pMj-Q@mail.gmail.com>
From: Gyan Mishra <hayabusagsm@gmail.com>
Date: Sat, 10 Apr 2021 01:09:13 -0400
Message-ID: <CABNhwV0kT1WcdkeWYUmDkRMGnox09QJjci-0JSvveXT5ugdyCw@mail.gmail.com>
Subject: Re: I-D Action: draft-filsfils-6man-structured-flow-label-00.txt
To: Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org>
Cc: "6man@ietf.org" <6man@ietf.org>, "draft-filsfils-6man-structured-flow-label@ietf.org" <draft-filsfils-6man-structured-flow-label@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000b5123f05bf97482a"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/l3DfLIQwbdZUdBpBq-Fl21BxWBc>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipv6/>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 10 Apr 2021 05:09:31 -0000

With the APN WG we are investigating a  similar stateful use of flow label
for APP ID signaling but then the problem exists with either  breaking
local ECMP hash or the APN ID field being reset by local stateless hash
function.

Let’s say all routers vendors are using the flow label for local stateless
ECMP hash, how does an app or Edge node connected to the application set
the APP ID as as soon as it hits a router doing local stateless the APP ID
set by application or by ingress leaf or TOR or CE would get reset by the
first node performing local stateless load balancing.

So the way RFC 6437 stands today the use of the flow label for stateful for
PM telemetry signaling or for APN ID or any other use case really would not
work.

Kind Regards

Gyan

On Sat, Apr 10, 2021 at 12:56 AM Gyan Mishra <hayabusagsm@gmail.com> wrote:

>
> RFC 6437 does talk about both stateless 5 tuple hash for uniform load
> balancing as well as stateless flow label for signaling.  The RFC says both
> can be used simultaneously but I don’t see how that’s possible.
>
> In theory if that were possible the flow label could be used for PM
> telemetry but that is not possible as the 20 bits have to be used for
> stateless or stateful but not both simultaneously.
>
> I believe this draft is an attempt to allow the flow label to serve two
> functions simultaneously both stateless ECMP load balancing FLE 16 bits and
> stateful 4 bits for PM signaling and monitoring.
>
> I understand the restructuring of the 20 bits but the major issue is
> backwards compatibility.
>
>
> Kind Regards
>
> Gyan
>
> On Sat, Apr 10, 2021 at 12:46 AM Gyan Mishra <hayabusagsm@gmail.com>
> wrote:
>
>>
>> +1 to Ron’s comment on backwards compatibility as the primary goal and
>> benefit of RFC 6437 is stateless locally significant uniform load balancing
>> with 5-tuple hash to generate the 20 bit flow label input key to a hash
>> function  and as Ron pointed out all 20 bits in the flow label are used for
>> the load balancing hash.
>>
>> RFC 6437 uniform per flow load balancing is one of the many benefits of
>> migration to IPv6 data plane IPv6 only - SRv6 or SR-MPLSv6 core for
>> operators.
>>
>>
>> Kind Regards
>>
>> Gyan
>>
>> On Thu, Apr 8, 2021 at 6:13 PM Ron Bonica <rbonica=
>> 40juniper.net@dmarc.ietf.org> wrote:
>>
>>> Clarence,
>>>
>>> Draft-filsfils-6man-structured-flow-label addresses a real problem.
>>> However, it may have issues with regard to backwards compatibility and IPv6
>>> extensibility. Each is addressed below.
>>>
>>> Backwards Compatibility
>>> ====================
>>> In the draft, you divide the flow label into 4 FLC bits and 16 FLE bits.
>>> The 4 FLC bits carry per-packet control information and are not used for
>>> ECMP load-balancing. The 16 FLE bits are as defined in RFC 6437.
>>>
>>> This raises the issue of backwards compatibility. Many legacy devices
>>> IPv6 devices use all 20 bits of the flow label as defined in RFC 6437. As
>>> you say in  Section 4, this could cause packets belonging to a single flow
>>> to be distributed among multiple paths. So, the degree of packet reordering
>>> at the ultimate destination node will increase to an unacceptable level.
>>>
>>> IPv6 Extensibility
>>> ==============
>>>
>>> Over the past decade, there have been several proposals that take the
>>> following form:
>>>
>>> - An IPv6 source node needs to convey some piece of information to every
>>> node along the packet's delivery path
>>> - Field X in the IPv6 header is longer than it needs to be
>>> - So, we can borrow a few bits from Field X to convey this information.
>>>
>>> This approach is flawed for the following reasons:
>>>
>>> - It can cause backwards compatibility issues, as described above
>>> - It only works a few times, until there are no more bits to be borrowed
>>> in the base IPv6 header
>>>
>>> IPv6 includes a Hop-by-hop Options header. It's purpose is to convey
>>> information from the source node to every node along the packet's delivery
>>> path. Sadly, it was implemented badly so that it can be used as a DoS
>>> vector. Therefore, network operators generally filter it.
>>>
>>> A better approach would be:
>>>
>>> - to avoid borrowing bits from the IPv6 header
>>> - to use the HBH Option for its intended purpose
>>>
>>> This will require rehabilitation of the HBH option. Bob Hinden and Gorry
>>> Fairhurst have made a good start towards this goal in
>>> draft-hinden-6man-hbh-processing. We vendors will also need to get behind
>>> the rehabilitation effort, revising our implementations so that it can no
>>> longer be used as a DoS vector. In turn, network operators will also need
>>> to get behind the rehabilitation effort.
>>>
>>> While this may not be the path of least resistance, it will contribute
>>> to the future extensibility of IPv6. Let's do the right thing.
>>>
>>>
>>>                            Ron
>>>
>>>
>>>
>>>
>>>
>>> On 17-Mar-21 05:49, internet-drafts@ietf.org wrote:
>>> >
>>> > A New Internet-Draft is available from the on-line Internet-Drafts
>>> directories.
>>> >
>>> >
>>> >         Title           : Structured Flow Label
>>> >         Authors         : Clarence Filsfils
>>> >                           Ahmed Abdelsalam
>>> >                           Shay Zadok
>>> >                           Xiaohu Xu
>>> >                           Weiqiang Cheng
>>> >                           Daniel Voyer
>>> >                           Pablo Camarillo Garvia
>>> >       Filename        :
>>> draft-filsfils-6man-structured-flow-label-00.txt
>>> >       Pages           : 12
>>> >       Date            : 2021-03-16
>>> >
>>>
>>>
>>> Juniper Business Use Only
>>>
>>> --------------------------------------------------------------------
>>> 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 *
>>
>> *Email gyan.s.mishra@verizon.com <gyan.s.mishra@verizon.com>*
>>
>>
>>
>> *M 301 502-1347*
>>
>> --
>
> <http://www.verizon.com/>
>
> *Gyan Mishra*
>
> *Network Solutions A**rchitect *
>
> *Email gyan.s.mishra@verizon.com <gyan.s.mishra@verizon.com>*
>
>
>
> *M 301 502-1347*
>
> --

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

*Gyan Mishra*

*Network Solutions A**rchitect *

*Email gyan.s.mishra@verizon.com <gyan.s.mishra@verizon.com>*



*M 301 502-1347*