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

Peter Psenak <ppsenak@cisco.com> Fri, 05 August 2022 10:16 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 BCB1CC15948E for <lsr@ietfa.amsl.com>; Fri, 5 Aug 2022 03:16:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.188
X-Spam-Level:
X-Spam-Status: No, score=-10.188 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, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=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 u1kWOhVkpKLq for <lsr@ietfa.amsl.com>; Fri, 5 Aug 2022 03:16:29 -0700 (PDT)
Received: from aer-iport-4.cisco.com (aer-iport-4.cisco.com [173.38.203.54]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6928BC159480 for <lsr@ietf.org>; Fri, 5 Aug 2022 03:16:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=3892; q=dns/txt; s=iport; t=1659694589; x=1660904189; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=70hD3m9/svyweItBjdkrnDS7xyw0StPiL2bG1SCuDAY=; b=Vao5gDWM8FmgXCKDysyb6zoxOxb7A+OwEXXWi2QprvFuOOfJBBwWGUYV BE05LmToz2pnVrVbga4+fH/qAQYY73+aQfTl1Z0DAsaQoZlSfA8a7jecI Ct9tk8j58617meDE7bZAqvLm9ieVjjlAVJ8D+3fjglZP8awkeoK3sw5Jm Q=;
X-IPAS-Result: A0ABAAAm7exilxbLJq1aGgEBAQEBAQEBAQEDAQEBARIBAQEBAgIBAQEBQIE7BQEBAQELAYN6LBJFhE6IH1+HXy4DnHqBfAsBAQEPQgQBAYUHAoR5JjQJDgECBAEBAQEDAgMBAQEBAQEDAQEFAQEBAgEHBBQBAQEBAQEBAQkbBgwFEDWFdYZCAQEBAQIBIxVBDAQLEQQBAQECAiMDAgJGCQgGDQYCAQGCeYJ+JQOoXXqBMYEBiByBZYERLAGKeoQzQ4FJRIE8gwM+iBqCZQSYHyYEDgMaKx5CAgELTQUICRcSEBACBBEaCwYDFj8JAgQOA0AIDQMRBAMPGAkSCBAEBgMxDCULAxQMAQYDBgUDAQMbAxQDBSQHAxwPIw0NBBgHHQMDBSUDAgIbBwICAwIGFQYCAk45CAQIBCsjDwUCBy8FBC8CHgQFBhEIAhYCBgQEBAQWAhAIAggnFwcTGBsZAQVZEAkhHAoEGgoGBQYTAyBvBQo7DygzNTwrHxsKgRIqGxAVAwQEAwIGEwMDIgIQLjEDFQYpExItCSp1CQIDImkEAQMDBCouAwkfHwcJJiw5GwKYMntoOAOBKAg1EQFekl2PVp8og1uEHptqBg8ELYN2jESGMpEBepFPhTGnWIFhghUzGggbFYMiURkPjjEICY4wQjE7AgYLAQEDCY8HAQE
IronPort-Data: A9a23:AW3DCalcht2MmY83TVU2Rc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qjBIMkLtp133Aq2lEZdPWaSL36qy ncppUmPHjP+VAssRAb6Le90ca7LE80maQFhLX5eI3SODUO21HFEGgB1+HfKlTbckWUygce79 YDT0EUMrPN5DZB7foSrDPWLz7lq+P3iJxBQozlvg5QcT0=
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-AV: E=Sophos;i="5.93,216,1654560000"; d="scan'208";a="3361850"
Received: from aer-iport-nat.cisco.com (HELO aer-core-4.cisco.com) ([173.38.203.22]) by aer-iport-4.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 05 Aug 2022 10:16:25 +0000
Received: from [10.147.24.47] ([10.147.24.47]) by aer-core-4.cisco.com (8.15.2/8.15.2) with ESMTP id 275AGOJf029946; Fri, 5 Aug 2022 10:16:25 GMT
Message-ID: <172d0bca-b364-1d0c-6efc-d9bf295950af@cisco.com>
Date: Fri, 05 Aug 2022 12:16:24 +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: Huzhibo <huzhibo@huawei.com>
Cc: "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>
From: Peter Psenak <ppsenak@cisco.com>
In-Reply-To: <35188c0dbb6d486787c95a1ff47b8f28@huawei.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Outbound-SMTP-Client: 10.147.24.47, [10.147.24.47]
X-Outbound-Node: aer-core-4.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/lsr/qAk0WZwdH-pAEzpcbp_UBWCfIN4>
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 10:16:33 -0000

Zhibo,

On 05/08/2022 05:49, Huzhibo wrote:
> Peter:
> 
>> -----Original Message-----
>> From: Peter Psenak [mailto:ppsenak@cisco.com]
>> Sent: Friday, August 5, 2022 1:55 PM
>> To: Huzhibo <huzhibo@huawei.com>
>> Cc: 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]
>>>> Sent: Wednesday, August 3, 2022 11:20 PM
>>>> To: Huzhibo <huzhibo@huawei.com>
>>>> Cc: 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
>>>>>
>>>>
>>>
>>>
>>
> 
>