Re: [Lsr] Question about draft-ppsenak-lsr-igp-ureach-prefix-announce

Peter Psenak <ppsenak@cisco.com> Fri, 05 August 2022 13:34 UTC

Return-Path: <ppsenak@cisco.com>
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 9B7BDC1907B6 for <lsr@ietfa.amsl.com>; Fri, 5 Aug 2022 06:34:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.945
X-Spam-Level:
X-Spam-Status: No, score=-8.945 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.582, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-0.001, NORMAL_HTTP_TO_IP=0.001, NUMERIC_HTTP_ADDR=1.242, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PRZldyqnJm6b for <lsr@ietfa.amsl.com>; Fri, 5 Aug 2022 06:34:26 -0700 (PDT)
Received: from aer-iport-5.cisco.com (aer-iport-5.cisco.com [173.38.203.67]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1C1D2C1388CD for <lsr@ietf.org>; Fri, 5 Aug 2022 06:34:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=9642; q=dns/txt; s=iport; t=1659706466; x=1660916066; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=ViZUYMuVHHGgMkXpZ0T3dxCEFexWFYREheKxH14Ern4=; b=FC1AnAL1UDLpAjcvAI+E1KBI/dq0hYWuCcpSaNhd7sqsYHWJrboX7EGR ntsgIrjZau0CJbliplaMrRXzRb6agh06v8YKkxbbyJodESN++vLemUwNw yov0gnEsiQc1W8PAKjYjLWeAajbjgIlh95Cxw/SzuWEyh+VaWmsiDiuLo A=;
X-IPAS-Result: A0ABAADsG+1ilxbLJq1aGgEBAQEBAQEBAQEDAQEBARIBAQEBAgIBAQEBQIE7BQEBAQELAYMkViwSRYROiB9fh18uA4MemVyBJQNUCwEBAQ8sCwsEAQGFBwI9EgWEJSY0CQ4BAgQBAQEBAwIDAQEBAQEBAwEBBQEBAQIBBwQUAQEBAQEBAQEJGwYMBRA1hWgNhkIBAQEBAgEBASEPAQUTASILDAQJAhECAgEBAQICIwMCAiUCHwkIBg0GAgEBgnkBgn0lAxCNUpsaeoExgQGDIQGEeoFlgREsAYcPg2uEM0OBSUSBFSeDAz6CYgEBAoU0gmUEmCgmBA4DGiseQgIBC00FCAkXEhAQAgQRGgsGAxY+CQIEDgNACA0DEQQDDxgJEggQBAYDMQwlCwMUDAEGAwYFAwEDGwMUAwUkBwMcDyMNDQQYBx0DAwUlAwICGwcCAgMCBhUGAgJOOQgECAQrJA8FAgcvBQQvAh4EBQYRCAIWAgYEBAQEFgIQCAIIJxcHExgbGQEFWRAJIRwKBBoKBgUGEwMgbwUKOw8oMzU8Kx8bCoESKhsQFQMEBAMCBhMDAyICEC4xAxUGKRMSLQkqdQkCAyJpBAEDAwQoLgMJIR8HCSYsPQUFDQEbApcpgRIKawZkBDgDFwFGEQQqCwg1EQFYBpJdrn6DW4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34Gib+41GH2m09kirAkJ Zqeaq6R4YUyV8xaIM6Nb75Fi9cDn3lmrUuKHMCT50n3gNK2OS/OIZ9YYQTmUwzMxP7dyC3P7 c1lPteHoz0GFrWWjt//qtVIczjn7BETWPjLliCgXrfcf1s/Qjt7W665LHFIU9UNopm5X9zgp hmVMnK0AnKm7ZEbAW1mskxeVY4=
IronPort-HdrOrdr: A9a23:jpWWWK7RkILmNQRpVwPXwPnXdLJyesId70hD6qm+c203TiXqra GTdZMgpHnJYVcqKRYdcL+7VZVoLUmskKKdpLNhWYtKPzOLhILLFutfBOLZqlWKJ8S9zJ8+6U 4KScZD4bPLbWSSwfyU3OF9eOxQuOVuN8uT9J7j80s=
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-AV: E=Sophos;i="5.93,216,1654560000"; d="scan'208";a="733968"
Received: from aer-iport-nat.cisco.com (HELO aer-core-1.cisco.com) ([173.38.203.22]) by aer-iport-5.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 05 Aug 2022 13:34:21 +0000
Received: from [10.147.24.47] ([10.147.24.47]) by aer-core-1.cisco.com (8.15.2/8.15.2) with ESMTP id 275DYEma007023; Fri, 5 Aug 2022 13:34:15 GMT
Message-ID: <59c00b15-e00a-b6b4-64e1-8dd0209b5cd9@cisco.com>
Date: Fri, 05 Aug 2022 15:34:14 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.11.0
Content-Language: en-US
To: Robert Raszuk <robert@raszuk.net>
Cc: Peter Psenak <ppsenak=40cisco.com@dmarc.ietf.org>, Huzhibo <huzhibo@huawei.com>, "lsr@ietf.org" <lsr@ietf.org>
References: <0e6a36e81cdf48feae0c7508732f4059@huawei.com> <f25db3a5-50b9-a747-b12a-3847023e6307@cisco.com> <36e2a50061cf44b6a9478a4dde840f8f@huawei.com> <1487ecd7-9d57-82c9-1463-729e51120dcc@cisco.com> <35188c0dbb6d486787c95a1ff47b8f28@huawei.com> <172d0bca-b364-1d0c-6efc-d9bf295950af@cisco.com> <CAOj+MME+W53DTYaHxVs8A3OeNCg4JM2q=wQvRjjVdQUKrP7eVA@mail.gmail.com> <4ed49064-a094-050a-81ee-d8d273c201da@cisco.com> <CAOj+MMFKNbR0FGFr-5jPvVRnLEDg9rVGxgfodCxczj22eOuvHg@mail.gmail.com>
From: Peter Psenak <ppsenak@cisco.com>
In-Reply-To: <CAOj+MMFKNbR0FGFr-5jPvVRnLEDg9rVGxgfodCxczj22eOuvHg@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
X-Outbound-SMTP-Client: 10.147.24.47, [10.147.24.47]
X-Outbound-Node: aer-core-1.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/lsr/jGhNIK9dIYSYZ2-UuyAxSw_Zcys>
Subject: Re: [Lsr] Question about draft-ppsenak-lsr-igp-ureach-prefix-announce
X-BeenThere: lsr@ietf.org
X-Mailman-Version: 2.1.39
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: Fri, 05 Aug 2022 13:34:30 -0000

On 05/08/2022 09:24, Robert Raszuk wrote:
> 
> So how do I forward my services with SRv6 if I advertise all with single 
> BGP next hop /128 across N flex algos ?

services that want to use algo X forwarding need to be advertise with 
service SID that is part of the algo X locator.

> 
> Assume for mapping I am attaching BGP Tunnel Attribute and signal on a 
> per service route which flex-algo to use.
> 
> Moreover how do I UPA some flex-algo's becoming unreachable in the case 
> where BGP next hop is different then flex-algo destination address ?

you advertise the algo X locator as UPA.

Peter

> 
> Thx,
> R.
> 
> 
> 
> 
> 
> 
> 
> 
> On Fri, Aug 5, 2022 at 3:19 PM Peter Psenak <ppsenak@cisco.com 
> <mailto:ppsenak@cisco.com>> wrote:
> 
>     Robert,
> 
>     On 05/08/2022 09:09, Robert Raszuk wrote:
>      > Peter,
>      >
>      > Side question ...
>      >
>      > Assume PE participates in 10 end to end flex-algos.
>      >
>      > However BGP advertises 100K service routes with base 0 nh
>     1.1.1.1/32 <http://1.1.1.1/32>
>      > <http://1.1.1.1/32 <http://1.1.1.1/32>>
>      >
>      > Are you stating that BGP should advertise 100K routes 10 times with
>      > different IP address ?
> 
>     absolutely not.
> 
>      >
>      > Note that mapping to flex-algo may not be prefix based on the
>     number of
>      > forwarding paradigms. Yet UPA seems to be only prefix based.
> 
>     so far flex-algo has been documented for SR (MPLS and SRv6) and for IP
>     (v4/v6). For SR MPLS the algo forwarding is realized via unique algo
>     label, for SRv6 via unique algo locator and for IP via unique IP prefix.
>     If other "forwarding paradigms" want to use it, they would need to
>     defne
>     how.
> 
>     UPA is about prefix reachability, or more precisely about the loss
>     of it.
> 
>     thanks,
>     Peter
>      >
>      > Was this case discussed in any document/thread so far ?
>      >
>      > Thx,
>      > R.
>      > .
>      >
>      >
>      >
>      > On Fri, Aug 5, 2022 at 12:16 PM Peter Psenak
>      > <ppsenak=40cisco.com@dmarc.ietf.org
>     <mailto:40cisco.com@dmarc.ietf.org>
>     <mailto:40cisco.com@dmarc.ietf.org
>     <mailto:40cisco.com@dmarc.ietf.org>>>
>      > wrote:
>      >
>      >     Zhibo,
>      >
>      >     On 05/08/2022 05:49, Huzhibo wrote:
>      >      > Peter:
>      >      >
>      >      >> -----Original Message-----
>      >      >> From: Peter Psenak [mailto:ppsenak@cisco.com
>     <mailto:ppsenak@cisco.com>
>      >     <mailto:ppsenak@cisco.com <mailto:ppsenak@cisco.com>>]
>      >      >> Sent: Friday, August 5, 2022 1:55 PM
>      >      >> To: Huzhibo <huzhibo@huawei.com
>     <mailto:huzhibo@huawei.com> <mailto:huzhibo@huawei.com
>     <mailto:huzhibo@huawei.com>>>
>      >      >> Cc: lsr@ietf.org <mailto:lsr@ietf.org>
>     <mailto:lsr@ietf.org <mailto:lsr@ietf.org>>
>      >      >> Subject: Re: Question about
>      >     draft-ppsenak-lsr-igp-ureach-prefix-announce
>      >      >>
>      >      >> Zhibo,
>      >      >>
>      >      >> On 03/08/2022 21:09, Huzhibo wrote:
>      >      >>> Hi Peter:
>      >      >>>        Please see inline.
>      >      >>>
>      >      >>>> -----Original Message-----
>      >      >>>> From: Peter Psenak [mailto:ppsenak@cisco.com
>     <mailto:ppsenak@cisco.com>
>      >     <mailto:ppsenak@cisco.com <mailto:ppsenak@cisco.com>>]
>      >      >>>> Sent: Wednesday, August 3, 2022 11:20 PM
>      >      >>>> To: Huzhibo <huzhibo@huawei.com
>     <mailto:huzhibo@huawei.com> <mailto:huzhibo@huawei.com
>     <mailto:huzhibo@huawei.com>>>
>      >      >>>> Cc: lsr@ietf.org <mailto:lsr@ietf.org>
>     <mailto:lsr@ietf.org <mailto:lsr@ietf.org>>
>      >      >>>> Subject: Re: Question about
>      >      >>>> draft-ppsenak-lsr-igp-ureach-prefix-announce
>      >      >>>>
>      >      >>>> Hi Zhibo,
>      >      >>>>
>      >      >>>> On 29/07/2022 20:49, Huzhibo wrote:
>      >      >>>>> Hi Peter:
>      >      >>>>>
>      >      >>>>> Supplement to yesterday's online questions, If a node that
>      >     does not
>      >      >>>>> support IP Flexalgo, which has a default route, should
>     the node
>      >      >>>>> process the IP Flexalgo prefix as a UPA?
>      >      >>>>
>      >      >>>> - I assume you are talking about the algo 0 default route.
>      >     Because IP
>      >      >>>> Flex-algo default route does not make much sense really.
>      >      >>>>
>      >      >>>> - If the node does not support IP flex-algo, than it
>     would not use
>      >      >>>> any IP algo prefix as BGP service endpoint or for any other
>      >     purpose.
>      >      >>>>
>      >      >>>
>      >      >>> Which IP Algo prefix as BGP service endpoint is not
>     determined
>      >     by the ingress
>      >      >> node, Such as VXLAN and SRv6 VPN.
>      >      >>> When the ingress node receives an BGP Service cayyied a
>     IP algo
>      >     prefix
>      >      >>> as endpoint and it has a algo 0 default route, it should be
>      >     process this BGP
>      >      >> service. and this can not be affected by the IGP Flexalgo
>     prefix.
>      >      >>
>      >      >> sorry, but above is completely wrong.
>      >      >>
>      >      >> When you want to use IP flex-algo forwarding, you must
>     advertise
>      >     the prefix as
>      >      >> algo prefix, relying on the algo 0 default would not give you
>      >     algo forwarding.
>      >      >>
>      >      >> Advertising IP algo prefix at the egress and relying in
>     algo 0
>      >     default at the
>      >      >> ingress is going to cause all sorts of problems. You CAN NOT
>      >     mix/change algos
>      >      >> along the path through the network - if you do, you may
>     end up
>      >     in a permanent
>      >      >> loop.
>      >      >
>      >      >    If the ingress node does not support Flexalgo, the ingress
>      >     node does not cause a
>      >      > permanent loop because once the packet is forwarded to the
>      >     Flexalgo node, it always
>      >      > follows Flexalgo forwarding. If the packet does not reach the
>      >     Flexalgo node, it always follows
>      >      > Algo 0 forwarding.
>      >
>      >     well, flex-algo was design for end to end forwarding.
>     Switching between
>      >     algos as packet traverses the network is not guaranteed to be
>     loop
>      >     free.
>      >     If you don't trust me, I let you figure that out yourself
>     when you do
>      >     such a thing and it breaks.
>      >
>      >      >
>      >      >>
>      >      >>> Therefore,
>      >      >>> the IGP does only not generate the RIB/Fib for LSinfinity
>      >     Metric prefix, but can
>      >      >> not trigger BGP Service Down.
>      >      >>> In addition, LSinfinity Metric may be applied to other
>     scenarios in
>      >      >>> the future. We cannot guarantee that LSinfinity Metric
>     will not
>      >     conflict with
>      >      >> other purposes when being processed as a UPA.
>      >      >>
>      >      >> no, it can not, because the LSinfinity has a very strict
>      >     definition - it means
>      >      >> unreachable, which is exactly what the UPA is about.
>      >      >>
>      >      > I believe you are confusing a concept. The LSInfinity metric
>      >     defined in RFC 5308
>      >      > can be considered as zero route, but PUA/UPA actually
>     defines a
>      >     negative route.
>      >      > It's not consistent
>      >
>      >     I'm not confusing anything:
>      >
>      >     rfc2328:
>      >
>      >     LSInfinity
>      >               The metric value indicating that the destination
>     described
>      >     by an
>      >               LSA is unreachable.
>      >
>      >     regards,
>      >     Peter
>      >
>      >
>      >
>      >      >
>      >      >> Peter
>      >      >>
>      >      >>>
>      >      >>>> - If such node receives the IP algo prefix and even if it
>      >     treats it
>      >      >>>> as UPA, given that such IP algo prefix was never reachable
>      >     before on
>      >      >>>> this node, the UPA would result in no action.
>      >      >>>>
>      >      >>>> thanks,
>      >      >>>> Peter
>      >      >>>>>
>      >      >>>>> Thanks
>      >      >>>>>
>      >      >>>>> Zhibo
>      >      >>>>>
>      >      >>>>
>      >      >>>
>      >      >>>
>      >      >>
>      >      >
>      >      >
>      >
>      >     _______________________________________________
>      >     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
>     <https://www.ietf.org/mailman/listinfo/lsr>
>      >     <https://www.ietf.org/mailman/listinfo/lsr
>     <https://www.ietf.org/mailman/listinfo/lsr>>
>      >
>