Re: [Lsr] Link Data value for Multi-area links

Peter Psenak <ppsenak@cisco.com> Mon, 30 November 2020 09:56 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 AD84A3A1195 for <lsr@ietfa.amsl.com>; Mon, 30 Nov 2020 01:56:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.602
X-Spam-Level:
X-Spam-Status: No, score=-9.602 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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, SPF_PASS=-0.001, URIBL_BLOCKED=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 ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZDbhdILiHEEn for <lsr@ietfa.amsl.com>; Mon, 30 Nov 2020 01:56:29 -0800 (PST)
Received: from aer-iport-2.cisco.com (aer-iport-2.cisco.com [173.38.203.52]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 933F93A1196 for <lsr@ietf.org>; Mon, 30 Nov 2020 01:56:28 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=3339; q=dns/txt; s=iport; t=1606730188; x=1607939788; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=48qcHSuBhCJ1C37O/WYDptKr3jooRFwS6F1QhSCVXyg=; b=CkHehEJ0x1Gj7OqdaxJann6/jFxREqsCkmjdb2Oepc+RdXQLzcVwvxzH E/grUmFrv6BGf0DI5UaRlSc8rkYq62/Q7npOzw7W2NdQ+oVNvZNiDG2hd xPKJL9IXR+B7TeB8JGxwhf+1yLyAbAHsQKdx9sppsolo4VeE47QeV9Unf I=;
X-IPAS-Result: A0CDCABQwcRf/xbLJq1iHgEBCxIMQIRuVgEgEi6EPYkFh3EIJ5pIgWgLAQEBDxgLDAQBAYRKAoIqJjgTAgMBAQEDAgMBAQEBBQEBAQIBBgRxhWEMhXIBAQEDAQEBIQ8BBTYLEAkCGAICJgICJzAGDQYCAQGDIgGCZiAPkDCbEnaBMoVXgymBPAaBDiqNW4FBP4EQAScMgjcuPoJdAQGBRYMxgl8EpwaQVYEPgnqDHYxjiyAFBwMfkmCDOot6HbRfgW0jgVczGggbFTuCaVAZDZcmhUVAAzA3AgYBCQEBAwmNMAeCPwEB
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-AV: E=Sophos;i="5.78,381,1599523200"; d="scan'208";a="31509198"
Received: from aer-iport-nat.cisco.com (HELO aer-core-3.cisco.com) ([173.38.203.22]) by aer-iport-2.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 30 Nov 2020 09:56:24 +0000
Received: from [10.60.140.52] (ams-ppsenak-nitro3.cisco.com [10.60.140.52]) by aer-core-3.cisco.com (8.15.2/8.15.2) with ESMTP id 0AU9uOTY003733; Mon, 30 Nov 2020 09:56:24 GMT
To: Alexander Okonnikov <alexander.okonnikov@gmail.com>
Cc: lsr@ietf.org
References: <61201EB5-3F36-401A-9D39-FB0C577C7966@gmail.com> <3d3d863b-3e1f-ea87-0c45-09e119aa7c8f@cisco.com> <3FE4F6F8-6819-425E-852F-6B5B968ECAF5@gmail.com>
From: Peter Psenak <ppsenak@cisco.com>
Message-ID: <57b88873-b0e9-c2d3-2732-7f2629eebf27@cisco.com>
Date: Mon, 30 Nov 2020 10:56:23 +0100
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.7.0
MIME-Version: 1.0
In-Reply-To: <3FE4F6F8-6819-425E-852F-6B5B968ECAF5@gmail.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 8bit
X-Outbound-SMTP-Client: 10.60.140.52, ams-ppsenak-nitro3.cisco.com
X-Outbound-Node: aer-core-3.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/lsr/B5_6lDvz2S6lkZqvETyt1ZsawaI>
Subject: Re: [Lsr] Link Data value for Multi-area links
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: Mon, 30 Nov 2020 09:56:31 -0000

Hi Alex,

On 27/11/2020 13:49, Alexander Okonnikov wrote:
> Hi Peter,
> 
> Which kind of ambiguity is meant? In case of numbered point-to-point each link has its own unique IP address, so there is no ambiguity.
> 
> Per my understanding this problem has appeared due to follow reasons:
> 
> 1) In old versions of the draft (up to -05) it was proposed that multi-area links are treated as unnumbered. ifIndex to be encoded in Link Data field, irrespectively whether interface has its own IP address (numbered) or borrow it (unnumbered);
> 
> 2) From -06 to -08 multi-area links are still treated as unnumbered, but if interface is numbered, then IP address of the neighbor (rather than local one) to be encoded into Link Data, in order to make the link look like unnumbered;
> 
> 3) In version -09 of the draft and in RFC 5185 itself there is no more mentions that multi-area link to be treated as unnumbered. Rather, another approach is used - if router's interface is numbered, then link is also numbered; if router's interface is unnumbered, then link is unnumbered. The rule that specifies omitting corresponding type 3 link is added. Mention of 'unnumbered' link is also removed from section 3 in RFC 5185. >
> Hence, in version -09 with removing unnumbered nature of multi-area links Link Data for numbered links had to be changed from Neighbor's IP address to own IP address, as it is specified in RFC 2328. From perspective of other routers this link can be treated as numbered or unnumbered, depending on configuration of neighbor's corresponding interface.

you are free to advertise the link as unnumbered. RFC5185 is not 
mandating to send IP address really.

> 
> One question - how neighboring router will perform next-hop calculation (in case it needs to do so)? If neighbor is configured with numbered interface, it will treat Link Data as IP next hop, which will be its own IP interface address.
> 
> Another question - how router will be able to match Link TLV (RFC 3630) to corresponding Link in Router LSA? For example, we want to calculate RSVP-TE LSP based on IGP metric (RFC 3785) and thus router needs to match IGP link to TE link.

I don't believe you are going to do any traffic engineering over a 
multi-area adjacency. MADJ is there to address the OSPF route preference 
rules that may lead to sub-optimal routing. MADJ link is not advertised 
for TE purposes.

thanks,
Peter

> 
> Thank you.
> 
>> 27 нояб. 2020 г., в 14:50, Peter Psenak <ppsenak@cisco.com> написал(а):
>>
>> Alexander,
>>
>> On 26/11/2020 17:58, Alexander Okonnikov wrote:
>>> Hi WG,
>>> RFC 5185 says that Neighbor's IP address to be encoded into Link Data field. Per RFC 2328 router's own IP address to be encoded into Link Data. What is the reason to advertise neighbor's IP address for multi-area links and not local IP address? It seems like bug. Could someone comment on this?
>>
>> Advertising a neighbor address/ifindex helps to eliminate ambiguity in case of parallel point-to-point adjacencies. It's not perfect, but that's how it was specified. So it's not a bug.
>>
>> thanks,
>> Peter
>>
>>> Thanks in advance.
>>> _______________________________________________
>>> Lsr mailing list
>>> Lsr@ietf.org
>>> https://www.ietf.org/mailman/listinfo/lsr
>>
> 
> 
>