Re: [Lsr] New Version Notification for draft-bonica-lsr-ip-flexalgo-00.txt

Robert Raszuk <robert@raszuk.net> Wed, 30 September 2020 17:31 UTC

Return-Path: <robert@raszuk.net>
X-Original-To: lsr@ietfa.amsl.com
Delivered-To: lsr@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 995DD3A0A43 for <lsr@ietfa.amsl.com>; Wed, 30 Sep 2020 10:31:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 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, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=raszuk.net
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 hHmgxXY-A2NK for <lsr@ietfa.amsl.com>; Wed, 30 Sep 2020 10:31:02 -0700 (PDT)
Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) (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 D66553A0A38 for <lsr@ietf.org>; Wed, 30 Sep 2020 10:31:01 -0700 (PDT)
Received: by mail-ed1-x530.google.com with SMTP id g4so2771059edk.0 for <lsr@ietf.org>; Wed, 30 Sep 2020 10:31:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raszuk.net; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=TFRYmaR8RNY8TjDW6yLMpGSwuo3oUuf4vGjNgU8mPFs=; b=Cbslfsctv/w83JdngGDUSKVNJ6CxVmGh+H3m5tWJk0jMbpDIA0IW6xN97bDxnTaykT TLHxgDE9FNNVLSp8YTS30ogj91/L1pkYyozOazRHAkHDSvLLcJ5jCu0SpxEZMNoj7AR/ g93oJPUyO5wbt26FLFced6Wi3BpY0YftCyAetFI6HJzTcAZPEeMq+SlUJR01XhgkAO20 Eu76zFcVR1YslURldsnIz6k3K8CXh68lvvB8QAFP0xyY086Ly4948TeeMiAUdwxg4uP1 TsPi94Wr9Ywqn/w3PqYJY7Sqam197nmufote5XB/TV0EFsH85KaAGBL296l966T9gXHN Mj9w==
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=TFRYmaR8RNY8TjDW6yLMpGSwuo3oUuf4vGjNgU8mPFs=; b=ZovUJGvHJ3MBMUVRljOX/kKqUjo4859xDQvMND1J4YiqsJ/3Chbl3hiIO+Tcp2tnhe z3QEjHsSrtzwF/dd1w+b5JFVGdwAWovj5GL4x0q28kuv633by1zOyFVedVaWJVpZR5dl NhDV3ym1mNrXsPR9UTHp0TyjSyNOtKBthj+TQZIxoVOVhUA/q04JelgwZjFocYh9ak0r n2gmoVO0jldQiCIiQgNj+RksMYAVBoLdILHaO7Cl/7woYDESV1nzwcEC8Ce2YXZhanhD KdXCSbUiMVPDx0F377l4pXi0ZSrInG2jJ5E/K+0DQlAOAy3rnb5q4dkwwy2fFNkHeSqm xtzw==
X-Gm-Message-State: AOAM530R1egmyuvUASToBVlo1UeKFaCsEPpgN5iHHLa78LKZt54i8LoH +ff6XkYkvrgly2P0AyOCs8OtVq1SY0qTlAqKX5GIzg==
X-Google-Smtp-Source: ABdhPJxB336zRV3PdshIbly6aSrbf5ZI9/gv1dRLz7v5+lqbIBW0yvwyQ8bZnzxPfs1kL+wZxHCrjH7H/bOiVs6zZWw=
X-Received: by 2002:a05:6402:3c8:: with SMTP id t8mr3826681edw.266.1601487059944; Wed, 30 Sep 2020 10:30:59 -0700 (PDT)
MIME-Version: 1.0
References: <160138654056.12980.329207214151594381@ietfa.amsl.com> <DM6PR05MB63482DBC001DD56BEF6F7311AE320@DM6PR05MB6348.namprd05.prod.outlook.com> <D57939B9-8409-47E1-A2F7-DBD12ED61413@tony.li> <04d09cb0fe8341d184683ca01d5b6ae3@huawei.com> <93b3a490-d76d-8db4-5083-238120c0edda@joelhalpern.com> <080f7dacdcfd403b9f640aad565ca350@huawei.com> <CAOj+MMHeS6fBF3vKj_FguyS53B6K6UiFKctMpof3PF-4u9BOZA@mail.gmail.com> <a823a8f9-cf3d-a1e0-ac19-2b091ba644b7@cisco.com> <CAOj+MMGLrxw3-cgEekuFKT9p9kpBgXxoW8Jg_p0VNEw8k4Znig@mail.gmail.com> <51f3f15f-5b13-0840-7357-a4297af65287@cisco.com>
In-Reply-To: <51f3f15f-5b13-0840-7357-a4297af65287@cisco.com>
From: Robert Raszuk <robert@raszuk.net>
Date: Wed, 30 Sep 2020 19:30:40 +0200
Message-ID: <CAOj+MMG2wzSoi3MahV+Sfyhmzpn1KL04s7eojo17kfzAk5R0dg@mail.gmail.com>
To: Peter Psenak <ppsenak@cisco.com>
Cc: "lsr@ietf.org" <lsr@ietf.org>, Huzhibo <huzhibo@huawei.com>, "Joel M. Halpern" <jmh@joelhalpern.com>
Content-Type: multipart/alternative; boundary="0000000000005225c105b08b4325"
Archived-At: <https://mailarchive.ietf.org/arch/msg/lsr/-xJ8kXoBH8h_kaUKzoQ5i513B2M>
Subject: Re: [Lsr] New Version Notification for draft-bonica-lsr-ip-flexalgo-00.txt
X-BeenThere: lsr@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Link State Routing Working Group <lsr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lsr>, <mailto:lsr-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/lsr/>
List-Post: <mailto:lsr@ietf.org>
List-Help: <mailto:lsr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lsr>, <mailto:lsr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 30 Sep 2020 17:31:07 -0000

Peter,

Granted - you can do this with MPLS encapsulation.

But if you are doing native IP forwarding or SRv6 I am still unclear.

Imagine you get allocated by RIR say IPv4 /16 or IPv6  /32.

So you take some part of that block and use it for flex algo next hops ..
flood it via IGP and have flex algo F1 running/enabled on some nodes. So
far so good.

But what prevents the non enabled nodes to still use for those next hops
less specific say /8 from someone else in the Internet ?

Sure in some implementations (we both are a bit familiar with) we have a
way to track that next hop is declared unreachable if it was learned from
prefix shorter then /X. But this constrain seems to be not documented
anywhere in respect to flex algo. At min I think IP flex algo use should
make it clear and make it also a MUST.

So my point is that for SRv6 or Ron's proposal next hop MUST be only
learned via local IGP or be of no less then /X to be used for BGP next hop
resolution.

Many thx,
R,







On Wed, Sep 30, 2020 at 5:18 PM Peter Psenak <ppsenak@cisco.com> wrote:

> Robert,
>
> On 30/09/2020 16:28, Robert Raszuk wrote:
> > Peter,
> >
> > Let's see if we are talking about the same thing ...
> >
> > Take SRv6 as example ... You can run flex algorithm only on selected
> > segment endpoints as you do encap and dst rewrite. So rest of the
> > network (P/transit routers) do not need to have a clue about any
> > flex-algo other then plain old SPF.
>
> if all transit nodes do not participate/understand flex-algo, you will
> not be able to route the traffic between the segment endpoints based on
> the flex-algo, in other words algo specific locators will not be reachable.
>
> >
> > Now in Ron's case where there is no encap and you are applying flex-algo
> > to naked packets don't you think there is a difference and a bit of
> > deployment difficulty to make it work ?
>
> it is the same as with SRv6 locator - prefix associated with algorithm,
> with some additional SRv6 data. From the flex-algo calculation and
> forwarding perspective there is no difference.
>
> >
> > So assume one P node will not support it. This is native IP switching so
> > BGP advertises routes with new flex-algo next hop. If that next hop is
> > unreachable as signalling to that flex algo loopback was not understood
> > by P (new signalling extension) packets will be dropped.
>
> such P node would never ever be in the flex-algo forwarding path for
> prefix associated with flex-algo. We are talking underlay here, not BGP.
> BGP service allocates the SRV6 SID from the algo specific locator in
> case of SRv6. It can pick the NH as algo specific prefix I assume and
> the rest is the same.
>
> >
> > But what if that next hop would happen to be covered by some aggregate
> > route not subject perhaps to intended IP TE ?
>
> aggregation needs to be algo aware for it to work.
>
> thanks,
> Peter
>
>
> >
> > Cheers,
> > R.
> >
> >
> >
> > On Wed, Sep 30, 2020 at 2:11 PM Peter Psenak <ppsenak@cisco.com
> > <mailto:ppsenak@cisco.com>> wrote:
> >
> >     Hi Robert,
> >
> >     On 30/09/2020 09:28, Robert Raszuk wrote:
> >      > Hi,
> >      >
> >      >  > It uses the HBH option
> >      >
> >      > Currently Ron's proposal seems to work well for both IPv4 and IPv6
> >      > addresses. I hope this discussion will not try to derail it to
> >     IPv6 only
> >      > track.
> >      >
> >      > I see no issue with loopback to flexible algorithm mapping in 1:1
> >     fashion.
> >      >
> >      > I do however see some issues in deploying such technology as it
> will
> >      > only work well if *all* nodes in the network support this new
> >      > functionality. In contrast in SR world or control plane based TE I
> >      > proposed or any encapsulation based proposal only anchor nodes
> >     need to
> >      > support the new functionality while rest of the network does not
> >     need to
> >      > be even aware about it.
> >
> >     above is not really true.
> >
> >     Algo participation needs to be signaled, one way or the other. It's
> >     done
> >     for SR as well. There is no need for all routers to understand
> >     flex-algo, as only those that participate (and as a result also
> >     understand it) will be used during the flex-algo path computation and
> >     consequently flex-algo specific forwarding. This applies to
> >     flex-algo in
> >     general, regardless of the data plane being used.
> >
> >     thanks,
> >     Peter
> >
> >
> >      >
> >      > Many thx,
> >      > R.
> >      >
> >      >
> >      > On Wed, Sep 30, 2020 at 6:10 AM Huzhibo <huzhibo@huawei.com
> >     <mailto:huzhibo@huawei.com>
> >      > <mailto:huzhibo@huawei.com <mailto:huzhibo@huawei.com>>> wrote:
> >      >
> >      >     Hi Joel:
> >      >
> >      >          For details about the method defined in RFC 6550. It
> >     uses the
> >      >     HBH option to carry the RPLInstaceID. The RPLInstaceID and
> >      >     FlexAlgoID are similar.
> >      >
> >      >     Thanks
> >      >
> >      >     Zhibo
> >      >
> >      >     -----Original Message-----
> >      >     From: Lsr [mailto:lsr-bounces@ietf.org
> >     <mailto:lsr-bounces@ietf.org>
> >      >     <mailto:lsr-bounces@ietf.org <mailto:lsr-bounces@ietf.org>>]
> >     On Behalf Of Joel M. Halpern
> >      >     Sent: Wednesday, September 30, 2020 12:05 PM
> >      >     Cc: lsr@ietf.org <mailto:lsr@ietf.org> <mailto:lsr@ietf.org
> >     <mailto:lsr@ietf.org>>
> >      >     Subject: Re: [Lsr] New Version Notification for
> >      >     draft-bonica-lsr-ip-flexalgo-00.txt
> >      >
> >      >     I am missing something in this discussion of multiple
> algorithms.
> >      >
> >      >     My understanding of flex-algo whether for MPLS, SRv6, SRH, or
> >     IPv6,
> >      >     is that you need to associated a forwarding label (e.g. MPLS
> >     label
> >      >     or IPv6
> >      >     address) with a specific algorithm so that you can compute
> >     the next
> >      >     hope for the forwarding label using the proper algorithm.
> >     Then when
> >      >     a packet arrives, it is simply forwarded according to the
> >     forwarding
> >      >     table (e.g.
> >      >     FIB, LIB, ..)
> >      >
> >      >     If that is so, then I do not understand how a given prefix
> can be
> >      >     safely associated with more than one algorithm.  I could
> imagine
> >      >     doing several calculations according to different
> >     algorithms.  But
> >      >     how do you decide which one applies to the packet?  As far as
> I
> >      >     know, flex-algo does not look at the QoS/CoS/ToS bits.
> >      >
> >      >     Yours,
> >      >     Joel
> >      >
> >      >     PS: I will admit that it took until  an operator described
> some
> >      >     "interesting" constraints before I understood why one would
> >     even do
> >      >     this.
> >      >
> >      >     On 9/29/2020 11:50 PM, Huzhibo wrote:
> >      >      > Hi.
> >      >      >
> >      >      > Associating multiple algorithms with a given prefix is an
> >      >     interesting topic, and I think this can simplify the
> >     complexity of
> >      >     FlexAlgo. I wonder if the author would consider using cases
> with
> >      >     multiple algorithms with a given prefix.
> >      >      >
> >      >      > Thanks
> >      >      >
> >      >      > ZHibo
> >      >      >
> >      >      > -----Original Message-----
> >      >      > From: Lsr [mailto:lsr-bounces@ietf.org
> >     <mailto:lsr-bounces@ietf.org>
> >      >     <mailto:lsr-bounces@ietf.org <mailto:lsr-bounces@ietf.org>>]
> >     On Behalf Of tony.li@tony.li <mailto:tony.li@tony.li>
> >      >     <mailto:tony.li@tony.li <mailto:tony.li@tony.li>>
> >      >      > Sent: Tuesday, September 29, 2020 10:05 PM
> >      >      > To: Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org
> >     <mailto:40juniper.net@dmarc.ietf.org>
> >      >     <mailto:40juniper.net@dmarc.ietf.org
> >     <mailto:40juniper.net@dmarc.ietf.org>>>
> >      >      > Cc: lsr@ietf.org <mailto:lsr@ietf.org>
> >     <mailto:lsr@ietf.org <mailto:lsr@ietf.org>>
> >      >      > Subject: Re: [Lsr] New Version Notification for
> >      >      > draft-bonica-lsr-ip-flexalgo-00.txt
> >      >      >
> >      >      >
> >      >      > Ron,
> >      >      >
> >      >      > This is nice. It makes it clear that constraint based path
> >      >     computation need not have MPLS overhead for those that don’t
> >     want it.
> >      >      >
> >      >      > One thing that you don’t talk about is how this gets used,
> tho
> >      >     that may be blindingly obvious: you’ll need all nodes placing
> >     their
> >      >     prefixes in the RIB/FIB, where it will need to be selected
> over
> >      >     other path computation for the same prefixes.  This somewhat
> >      >     precludes the possibility of a given prefix being useful in
> >     multiple
> >      >     flex-algos.
> >      >      >
> >      >      > More text on application would be most welcome, just to
> ensure
> >      >     that we’re on the same page.
> >      >      >
> >      >      > Tony
> >      >      >
> >      >      >
> >      >      >> On Sep 29, 2020, at 6:37 AM, Ron Bonica
> >      >     <rbonica=40juniper.net@dmarc.ietf.org
> >     <mailto:40juniper.net@dmarc.ietf.org>
> >      >     <mailto:40juniper.net@dmarc.ietf.org
> >     <mailto:40juniper.net@dmarc.ietf.org>>> wrote:
> >      >      >>
> >      >      >>
> >      >      >> Please review and comment
> >      >      >>
> >      >      >>                                        Ron
> >      >      >>
> >      >      >>
> >      >      >>
> >      >      >> Juniper Business Use Only
> >      >      >>
> >      >      >>> -----Original Message-----
> >      >      >>> From: internet-drafts@ietf.org
> >     <mailto:internet-drafts@ietf.org>
> >      >     <mailto:internet-drafts@ietf.org
> >     <mailto:internet-drafts@ietf.org>> <internet-drafts@ietf.org
> >     <mailto:internet-drafts@ietf.org>
> >      >     <mailto:internet-drafts@ietf.org
> >     <mailto:internet-drafts@ietf.org>>>
> >      >      >>> Sent: Tuesday, September 29, 2020 9:36 AM
> >      >      >>> To: Parag Kaneriya <pkaneria@juniper.net
> >     <mailto:pkaneria@juniper.net>
> >      >     <mailto:pkaneria@juniper.net <mailto:pkaneria@juniper.net>>>;
> >     Shraddha Hegde
> >      >      >>> <shraddha@juniper.net <mailto:shraddha@juniper.net>
> >     <mailto:shraddha@juniper.net <mailto:shraddha@juniper.net>>>; Ron
> >      >     Bonica <rbonica@juniper.net <mailto:rbonica@juniper.net>
> >     <mailto:rbonica@juniper.net <mailto:rbonica@juniper.net>>>; Rajesh M
> >      >      >>> <mrajesh@juniper.net <mailto:mrajesh@juniper.net>
> >     <mailto:mrajesh@juniper.net <mailto:mrajesh@juniper.net>>>; William
> >      >     Britto A J <bwilliam@juniper.net
> >     <mailto:bwilliam@juniper.net> <mailto:bwilliam@juniper.net
> >     <mailto:bwilliam@juniper.net>>>
> >      >      >>> Subject: New Version Notification for
> >      >      >>> draft-bonica-lsr-ip-flexalgo-00.txt
> >      >      >>>
> >      >      >>> [External Email. Be cautious of content]
> >      >      >>>
> >      >      >>>
> >      >      >>> A new version of I-D, draft-bonica-lsr-ip-flexalgo-00.txt
> >      >      >>> has been successfully submitted by Ron Bonica and posted
> >     to the
> >      >     IETF
> >      >      >>> repository.
> >      >      >>>
> >      >      >>> Name:           draft-bonica-lsr-ip-flexalgo
> >      >      >>> Revision:       00
> >      >      >>> Title:          IGP Flexible Algorithms (Flexalgo) In IP
> >     Networks
> >      >      >>> Document date:  2020-09-29
> >      >      >>> Group:          Individual Submission
> >      >      >>> Pages:          14
> >      >      >>> URL:
> >      > https://urldefense.com/v3/__https://www.ietf.org/id/draft-bonica-
> >      >      >>> lsr-ip-flexalgo-00.txt__;!!NEt6yMaO-gk!X7PVDP-
> >      >      >>>
> FnUA0oCcZMw3Qde6in0C72hu_9hOZ53kPspIarR8fNDyU9Vck80Zbjoij$
> >      >      >>> Status:
> >      >      >>>
> >      >
> https://urldefense.com/v3/__https://datatracker.ietf.org/doc/draft-b
> >      >      >>> o
> >      >      >>> nica-lsr-
> >      >      >>> ip-flexalgo/__;!!NEt6yMaO-gk!X7PVDP-
> >      >      >>>
> FnUA0oCcZMw3Qde6in0C72hu_9hOZ53kPspIarR8fNDyU9Vck8x7e5ZqI$
> >      >      >>> Htmlized:
> >      >      >>>
> >      >
> https://urldefense.com/v3/__https://datatracker.ietf.org/doc/html/dr
> >      >      >>> a
> >      >      >>> ft-
> >      >      >>> bonica-lsr-ip-flexalgo__;!!NEt6yMaO-gk!X7PVDP-
> >      >      >>>
> FnUA0oCcZMw3Qde6in0C72hu_9hOZ53kPspIarR8fNDyU9Vck82w_6CyU$
> >      >      >>> Htmlized:
> >      > https://urldefense.com/v3/__https://tools.ietf.org/html/draft-
> >      >      >>> bonica-lsr-ip-flexalgo-00__;!!NEt6yMaO-gk!X7PVDP-
> >      >      >>>
> FnUA0oCcZMw3Qde6in0C72hu_9hOZ53kPspIarR8fNDyU9Vck81_QrJ_p$
> >      >      >>>
> >      >      >>>
> >      >      >>> Abstract:
> >      >      >>>    An IGP Flexible Algorithm computes a constraint-based
> >     path
> >      >     and maps
> >      >      >>>    that path to an identifier.  As currently defined,
> >     Flexalgo
> >      >     can only
> >      >      >>>    map the paths that it computes to Segment Routing (SR)
> >      >     identifiers.
> >      >      >>>    Therefore, Flexalgo cannot be deployed in the absence
> >     of SR.
> >      >      >>>
> >      >      >>>    This document extends Flexalgo, so that it can map
> >     the paths
> >      >     that it
> >      >      >>>    computes to IP addresses.  This allows Flexalgo to be
> >      >     deployed in any
> >      >      >>>    IP network, even in the absence of SR.
> >      >      >>>
> >      >      >>>
> >      >      >>>
> >      >      >>>
> >      >      >>> Please note that it may take a couple of minutes from
> >     the time of
> >      >      >>> submission until the htmlized version and diff are
> >     available at
> >      > tools.ietf.org <http://tools.ietf.org> <http://tools.ietf.org>.
> >      >      >>>
> >      >      >>> The IETF Secretariat
> >      >      >>>
> >      >      >> _______________________________________________
> >      >      >> Lsr mailing list
> >      >      >> Lsr@ietf.org <mailto:Lsr@ietf.org> <mailto:Lsr@ietf.org
> >     <mailto:Lsr@ietf.org>>
> >      >      >> https://www.ietf.org/mailman/listinfo/lsr
> >      >      >
> >      >      > _______________________________________________
> >      >      > Lsr mailing list
> >      >      > Lsr@ietf.org <mailto:Lsr@ietf.org> <mailto:Lsr@ietf.org
> >     <mailto:Lsr@ietf.org>>
> >      >      > https://www.ietf.org/mailman/listinfo/lsr
> >      >      > _______________________________________________
> >      >      > Lsr mailing list
> >      >      > Lsr@ietf.org <mailto:Lsr@ietf.org> <mailto:Lsr@ietf.org
> >     <mailto:Lsr@ietf.org>>
> >      >      > https://www.ietf.org/mailman/listinfo/lsr
> >      >      >
> >      >
> >      >     _______________________________________________
> >      >     Lsr mailing list
> >      > Lsr@ietf.org <mailto:Lsr@ietf.org> <mailto:Lsr@ietf.org
> >     <mailto:Lsr@ietf.org>>
> >      > https://www.ietf.org/mailman/listinfo/lsr
> >      >     _______________________________________________
> >      >     Lsr mailing list
> >      > Lsr@ietf.org <mailto:Lsr@ietf.org> <mailto:Lsr@ietf.org
> >     <mailto:Lsr@ietf.org>>
> >      > https://www.ietf.org/mailman/listinfo/lsr
> >      >
> >
>
>