Re: [Lsr] advertising tunnels in IGP

Alexander Okonnikov <alexander.okonnikov@gmail.com> Fri, 02 March 2018 07:58 UTC

Return-Path: <alexander.okonnikov@gmail.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 1A458120713 for <lsr@ietfa.amsl.com>; Thu, 1 Mar 2018 23:58:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham 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 I3B15s3skdXS for <lsr@ietfa.amsl.com>; Thu, 1 Mar 2018 23:58:19 -0800 (PST)
Received: from mail-lf0-x22d.google.com (mail-lf0-x22d.google.com [IPv6:2a00:1450:4010:c07::22d]) (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 9301F12706D for <lsr@ietf.org>; Thu, 1 Mar 2018 23:58:12 -0800 (PST)
Received: by mail-lf0-x22d.google.com with SMTP id f75so12117614lfg.6 for <lsr@ietf.org>; Thu, 01 Mar 2018 23:58:12 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=rsWkXdDj1vvx7o0Qa+FxuFGr9/2cp6Xq4LLq8sD9Sxw=; b=jlC1ONm+FjiIZWuZbBwTSRV5Xgm09NkwFHe/qego97eMxPUcudYm1w/QO1Cfyf4K08 qo/ItfyZaCnq998hY15zB76zkCGR9cOOTFEmFXEOBH8iJVtBOndOO7ZdlfHrSiOZQvb6 pE9bbbs1km3yjvWdKcm7ibK8tKXehGlTQnZhSEDQ4FEZ5U7CvHRQYlJMxLzS2HOUmP6g TWwNpeUpteF/eF9c+zFq5F/m4BwCVxaaDwSUkpc23L1kUj0VsLC0WjPaKTsIq7cATWVJ ChO6ZwqxEsrKJUkoIvrI1jLu2ncj6Nay2Xa2n1iUC/YpBfxJvt/AJz7EicEBJVav5Iw+ lEiA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=rsWkXdDj1vvx7o0Qa+FxuFGr9/2cp6Xq4LLq8sD9Sxw=; b=lSRRpiHJBUz1U8ZWFr8QwpGPccj4syp6xD8f+9I4DTltn7KmhTPBZHjM36VYhCrsUf oUOANe58NBUmLI5H1YdwgDVGiY3Ne6uX8GBfRvnFWS563ktX5e98XESzPvRvuupNIcR6 yFJ+71z+ZJhVfsvzd2MqytA4Xa2Y4FG8roz4fl0U59GmV9bkM+WJfDJE2wnGnyOxvAUt ifVBV04vGIHQ+gIPDBhsEZUX/0s9xC2qIbpXELwSFQhWKhpqAwMSMfu7R69wDtpvcWHw 3TNnyYargLhP2Q56HiCNTls8Y6CjO/1WC5i9AhtnDFu5RLDI5FOfu98PNuEw/PitJuWy x7Aw==
X-Gm-Message-State: APf1xPDRN3A8AjNLl9k5LWT+G6hRFiQ+aGBzKTl7pZKsA9upqQFd28vl R1DuzGFVuh6N1DZRxu4jGOIGng==
X-Google-Smtp-Source: AG47ELuv65qfu5kIthVqLVzAtRKslNIimV7pzvpEmaawlsJh7SbUFfXAQ8/5UHCIinm7ylaPREnryg==
X-Received: by 10.46.84.5 with SMTP id i5mr3195061ljb.83.1519977490574; Thu, 01 Mar 2018 23:58:10 -0800 (PST)
Received: from [217.195.72.188] (secretmaker-188.ip.PeterStar.net. [217.195.72.188]) by smtp.gmail.com with ESMTPSA id o28sm1240514lfc.63.2018.03.01.23.58.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Mar 2018 23:58:09 -0800 (PST)
To: Peter Psenak <ppsenak@cisco.com>, Dirk Goethals <dirk.goethals@nokia.com>, "Acee Lindem (acee)" <acee@cisco.com>, "lsr@ietf.org" <lsr@ietf.org>
References: <292c4d7f-157b-6920-917a-5157fb2890aa@nokia.com> <2D3557F2-53EA-4C4B-9B00-474C5FF4EBAF@cisco.com> <26b261b4-00b1-4e01-ab4c-ede98883b155@Spark> <8D23AE85-3408-457E-A1CC-4B78157A11BE@cisco.com> <b9f19b6e-2771-9ab9-383e-ffacb788e010@gmail.com> <d7399742-cf5e-2f48-9737-d9ad69683b06@gmail.com> <VI1PR07MB3293D02CFBA76D6FBCBBB645E2C60@VI1PR07MB3293.eurprd07.prod.outlook.com> <5A98EA35.1050704@cisco.com> <33a9ec0b-f6f6-4ae6-851c-afbea9faf182@Spark> <66ed0fee-8ec8-db14-a1bb-8a11ecf18e67@nokia.com> <5A98FEA8.20003@cisco.com>
From: Alexander Okonnikov <alexander.okonnikov@gmail.com>
Message-ID: <33cfc1b0-897d-ecbb-f539-e653805d3ea0@gmail.com>
Date: Fri, 02 Mar 2018 10:58:08 +0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0
MIME-Version: 1.0
In-Reply-To: <5A98FEA8.20003@cisco.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/lsr/4LNFVY0XBYDdfZ9H9VRVsXKT-rg>
Subject: Re: [Lsr] advertising tunnels in IGP
X-BeenThere: lsr@ietf.org
X-Mailman-Version: 2.1.22
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, 02 Mar 2018 07:58:22 -0000

My concern is about management aspect - how two or more interfaces with 
the same ID will be treated by management system?


02.03.2018 10:35, Peter Psenak пишет:
> On 02/03/18 08:25 , Dirk Goethals wrote:
>> Hi Alexander,
>> You don't need a nhop for tunnels, so why would you need
>> to distinguish the interfaces?
>
> right. No need to, given that you relaxed the 2WC by using zeros for 
> interface IDs? ECMP on the tunnel-head is a local matter.
>
> thanks,
> Peter
>> Dirk
>>
>> Op 2/03/2018 om 7:26 schreef Alexander Okonnikov:
>>> Hi Peter,
>>>
>>> How then several interfaces could be distinguished?
>>>
>>> Thank you.
>>>
>>> Best regards,
>>> Alexander Okonnikov
>>>
>>> 2 марта 2018 г., 9:07 +0300, Peter Psenak <ppsenak@cisco.com>, писал:
>>>> Hi Dirk,
>>>>
>>>> you can set the Local/Remote ID for any FA tunnel to 0 and all would
>>>> just work fine. There are implementations doing that :)
>>>>
>>>> thanks,
>>>> Peter
>>>>
>>>>
>>>> On 01/03/18 21:06 , Goethals, Dirk (Nokia - BE/Antwerp) wrote:
>>>>> Hi Alexander, Acee, Peter,
>>>>> Thanks for your prompt suggestions.
>>>>>
>>>>> Alexander,
>>>>> I’m also in favor of having something as simple as in OSPFV2.
>>>>> So, I’m somewere on the same track as you, i.e.
>>>>> 1) a flexible bidirectional check when nbrid=0, similar as unnumbered
>>>>> p2p in OSPFv2
>>>>> 2) during next hop resolution, when nbrid=0, pick up the local
>>>>> tunnelinfo iso neigbors
>>>>> ip address.
>>>>>
>>>>> Thanks,
>>>>> Dirk
>>>>>
>>>>> _____________________________
>>>>> From: Alexander Okonnikov <alexander.okonnikov@gmail.com
>>>>> Sent: donderdag, maart 1, 2018 6:54 PM
>>>>> Subject: Re: [Lsr] advertising tunnels in IGP
>>>>> To: Acee Lindem (acee) <acee@cisco.com>, Goethals, Dirk (Nokia -
>>>>> BE/Antwerp) <dirk.goethals@nokia.com>, <lsr@ietf.org
>>>>>
>>>>>
>>>>> Hi,
>>>>>
>>>>> I cannot find in RFC 5340 where pair of Interface ID/Neighbor 
>>>>> Interface
>>>>> ID are used for two-way check for P2P link. RFC 5340 reuses SPF
>>>>> algorithm from RFC 2328. RFC 2328 says that W should have link 
>>>>> back to
>>>>> V, but it also says (in footnote 23) that link from W to V does not
>>>>> necessarily matches to link from V to W. I.e. presence of two
>>>>> unidirectional links is enough for two-way check to be passed. Is it
>>>>> correct?
>>>>>
>>>>> If yes then, what if OSPFv3 router will set Neighbor Interface ID 
>>>>> to 0
>>>>> for P2P link and the neighbor will do the same? How it will be 
>>>>> treated
>>>>> by other routers while calculate SPF?
>>>>>
>>>>> Also, Neighbor Interface ID is used as reference for corresponding 
>>>>> Link
>>>>> LSA while calculating next-hop. Per my understanding neighbor's IPv6
>>>>> link-local address is not needed (as well as neighbor's Link LSA),
>>>>> because LSP will be next-hop in this case.
>>>>>
>>>>> Thanks.
>>>>>
>>>>>
>>>>> 01.03.2018 20:08, Alexander Okonnikov пишет:
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> Need for advertising of FA by both sides is dictated by OSPFv2 and
>>>>>> IS-IS, because they 1) check presence of adjacency in two directions
>>>>>> and 2) cannot distinguish FA from regular P2P link. If latter was
>>>>>> possible, then it would not be needed to perform two-way check 
>>>>>> for FA
>>>>>> (presence of FA just in forward direction means that ingress 
>>>>>> "link" on
>>>>>> remote neighbor is working; otherwise LSP in forward direction would
>>>>>> be broken). It can be generalized to all three protocols: if we can
>>>>>> somehow identify link type as FA, we don't need two-way check for 
>>>>>> FA.
>>>>>> We also don't need Neighbor Interface ID for FA in OSPFv3 in this 
>>>>>> case.
>>>>>>
>>>>>> Thank you.
>>>>>>
>>>>>>
>>>>>> 01.03.2018 19:56, Acee Lindem (acee) пишет:
>>>>>>>
>>>>>>> Hi Alexander,
>>>>>>>
>>>>>>> *From:*Alexander Okonnikov <alexander.okonnikov@gmail.com
>>>>>>> *Date: *Thursday, March 1, 2018 at 11:40 AM
>>>>>>> *To: *"Goethals, Dirk (Nokia - BE/Antwerp)"
>>>>>>> <dirk.goethals@nokia.com>, "lsr@ietf.org" <lsr@ietf.org>, Acee
>>>>>>> Lindem<acee@cisco.com
>>>>>>> *Subject: *Re: [Lsr] advertising tunnels in IGP
>>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> I think that problem here is that two LSPs are two independent
>>>>>>> unidirectional links, rather than one bidirectional. Moreover, LSPs
>>>>>>> in two directions are not pairs (some two LSPs are not 
>>>>>>> associated to
>>>>>>> each other), and amount of LSPs in each direction is not necessary
>>>>>>> the same. I could assume that some router uses Interface IDs for
>>>>>>> two-way check, but it is not so straightforward when we have deal
>>>>>>> with FAs.
>>>>>>>
>>>>>>> Acee, two-way check could be disabled on the router that is 
>>>>>>> owner of
>>>>>>> FA, but how other routers will distinguish regular P2P from FA?
>>>>>>>
>>>>>>> Good point – all the transit routers need to agree on the
>>>>>>> interface IDs.
>>>>>>>
>>>>>>> Thanks,
>>>>>>>
>>>>>>> Acee
>>>>>>>
>>>>>>>
>>>>>>> Thank you.
>>>>>>>
>>>>>>> Best regards,
>>>>>>>
>>>>>>> Alexander Okonnikov
>>>>>>>
>>>>>>>
>>>>>>> 1 марта 2018 г., 19:37 +0300, Acee Lindem (acee) <acee@cisco.com>,
>>>>>>> писал:
>>>>>>>
>>>>>>> Hi Dirk,
>>>>>>>
>>>>>>> My memory has faded somewhat on Forwarding Adjacency (FA)
>>>>>>> implementation. However, since basic MPLS LSPs are
>>>>>>> unidirectional, doesn’t the SPF two-way check have to be disabled
>>>>>>> anyway? If so, the Remote Interface ID doesn’t matter.
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Acee
>>>>>>>
>>>>>>> *From:*Lsr <lsr-bounces@ietf.org> on behalf of "Goethals, Dirk
>>>>>>> (Nokia - BE/Antwerp)" <dirk.goethals@nokia.com
>>>>>>> *Date:* Thursday, March 1, 2018 at 11:06 AM
>>>>>>> *To:* "lsr@ietf.org"<lsr@ietf.org
>>>>>>> *Subject:* [Lsr] advertising tunnels in IGP
>>>>>>>
>>>>>>> Hi,
>>>>>>> In OSPFv2 (and ISIS), we can add (RSVP) tunnels to the topology
>>>>>>> by adding them as a unnumbered link in the router lsa.
>>>>>>> In OSPFv3, we can only add a link to the router-lsa if the neighbor
>>>>>>> interface ID is known.
>>>>>>> So it looks like we can only add a tunnel to the OSPFv3 topology,
>>>>>>> if we first exchanging hello packets over the tunnel.
>>>>>>> Is that correct?
>>>>>>> As this is not needed in the other IGPs, do
>>>>>>> we have other possibilities?
>>>>>>> Thx,
>>>>>>> Dirk
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Lsr mailing list
>>>>>>> Lsr@ietf.org
>>>>>>> https://www.ietf.org/mailman/listinfo/lsr
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Lsr mailing list
>>>>> Lsr@ietf.org
>>>>> https://www.ietf.org/mailman/listinfo/lsr
>>>>>
>>>>
>>
>> .
>