Re: [Idr] Regd. https://datatracker.ietf.org/doc/draft-mohanty-idr-secondary-label/

Igor Malyushkin <gmalyushkin@gmail.com> Sat, 12 August 2023 13:09 UTC

Return-Path: <gmalyushkin@gmail.com>
X-Original-To: idr@ietfa.amsl.com
Delivered-To: idr@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 50A77C151076 for <idr@ietfa.amsl.com>; Sat, 12 Aug 2023 06:09:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.103
X-Spam-Level:
X-Spam-Status: No, score=-2.103 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-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] 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 ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NK96PDN5Fc76 for <idr@ietfa.amsl.com>; Sat, 12 Aug 2023 06:09:50 -0700 (PDT)
Received: from mail-pg1-x52f.google.com (mail-pg1-x52f.google.com [IPv6:2607:f8b0:4864:20::52f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 68085C151071 for <idr@ietf.org>; Sat, 12 Aug 2023 06:09:50 -0700 (PDT)
Received: by mail-pg1-x52f.google.com with SMTP id 41be03b00d2f7-53fa455cd94so1762681a12.2 for <idr@ietf.org>; Sat, 12 Aug 2023 06:09:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691845790; x=1692450590; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=iniF11gmnmqIBeUpm5Ef8tu1piaxb6a+hmLzhsDHOvc=; b=Nz0wP9liJUvwb9kIYqyfRhKH25TfFPBxRDA0hhIs6dJBrJiucib/RBo3wbx1lvjQlR lRcA3pLfG1keJBzbYn2lP6yflGwSd5+wzYerOVaAuHKk58xL1s+Buj7cW8+AR6v3YQpE jyrrVAeTd0+OdbHh+2RIU+vbCv0PdGk0Z0wIGOzcRdDrC+CqiCqN4quo38OxSE3PueTa /Nwo90nkNKd9EtZqr7XBMSeP3yB14fPpSO+YK/ZFBRcATtavyuOSrPg24aje+/AKa2zr wfq4AEgmvqiSHheSK+HD9FK01qqgB3oKVmy7M3FQgzmrWTWHSEHYY9eymXVPiQCWXVNF kJvQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691845790; x=1692450590; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=iniF11gmnmqIBeUpm5Ef8tu1piaxb6a+hmLzhsDHOvc=; b=bYDC3d6YyOj/a3d2OkQJ8xBbyLVWLB8lO2qHZH38+qPWULJu/SKZ4nrtA5jairu2PV IovdtGR+iUmp6I5i/r8m5q1ch04dGKBmW898kPXmsSmacBhvCMntkhvrA3PRsLZKmJuq AiUTZsg35nyQPjNc+Z0wFfqTy/hP4h70JjGueE7jA7HY3Wp4ohZa0Sj0iGPjxeOvmP58 d+muldUEUOJ0aPCdUN3r70l0yDEtPfCF1BTbJBj/6HEYO4sArFTjTjhgfVJInod04aqR /Myl39KMFF22YA/CD+6Odix/+pkuwwztY8VBYhcXLMnHDTdI52wBfeuZgD3cJ0ruBx1b R00w==
X-Gm-Message-State: AOJu0Yy40shW2del7W8tYhwyMPlL5kAncNB9SSKzbqKPoblNNaJwbxc4 X3p6KHuHNGFPhWKzFh0ILgHdkGwUvn2AyLLKJIE=
X-Google-Smtp-Source: AGHT+IEy+kYR/doR8gJBHJgmcm5uEaWxCsj1fyVcQdGGOnlJ0TuMzWauLe2h5Gg1A+t7n1cRFG80eGvDQ4GBjNPYbRM=
X-Received: by 2002:a17:90a:a016:b0:261:688:fd91 with SMTP id q22-20020a17090aa01600b002610688fd91mr2754484pjp.8.1691845789621; Sat, 12 Aug 2023 06:09:49 -0700 (PDT)
MIME-Version: 1.0
References: <40ad79902852443d8783a322dffbab8a@huawei.com> <CH2PR11MB4312EC318A3E8C1667C784ADD431A@CH2PR11MB4312.namprd11.prod.outlook.com> <BY5PR11MB43055C64B2497F586ACB64BED401A@BY5PR11MB4305.namprd11.prod.outlook.com> <CAOj+MMFP+u6UGpTAyvn7KhRww00mmd-iGmHxBnFg9OeGNF-X7Q@mail.gmail.com> <CAEfhRrx5oNeW2z4V9pDqs9nSgFzFH6oiK1CCEOf+FQj_DuimsQ@mail.gmail.com> <CAOj+MMEiVMxR3JKwXdT7=6ozmmZYJR95iQfqGOHU1Vm5XzXi7w@mail.gmail.com>
In-Reply-To: <CAOj+MMEiVMxR3JKwXdT7=6ozmmZYJR95iQfqGOHU1Vm5XzXi7w@mail.gmail.com>
From: Igor Malyushkin <gmalyushkin@gmail.com>
Date: Sat, 12 Aug 2023 17:09:38 +0400
Message-ID: <CAEfhRrxKfN+8bZnxSND4zo=8h_Y=q+rWsM6BEZf9FC3BcJe2Xw@mail.gmail.com>
To: Robert Raszuk <robert@raszuk.net>
Cc: "Satya Mohanty (satyamoh)" <satyamoh=40cisco.com@dmarc.ietf.org>, "idr@ietf.org" <idr@ietf.org>, "RAMADENU, PRAVEEN" <pr9637@att.com>
Content-Type: multipart/alternative; boundary="0000000000004e218d0602b98be1"
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/WMujUthE5TLIpwRop1G2_pEtKwU>
Subject: Re: [Idr] Regd. https://datatracker.ietf.org/doc/draft-mohanty-idr-secondary-label/
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Inter-Domain Routing <idr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/idr>, <mailto:idr-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/idr/>
List-Post: <mailto:idr@ietf.org>
List-Help: <mailto:idr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/idr>, <mailto:idr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 12 Aug 2023 13:09:54 -0000

Hi Robert,

Well, maybe RFC4456 indeed requires some clarification. From my experience,
inline RRs are not the same as regular ones. Yes, they use the same
mechanics but solve other tasks, and because they are LSRs for BGP LSPs or
VPN LSPs some tricks with CLUSTER_IDs, peering, and label allocation modes
are required here.

I agree that the solution from PD#1 is a bad idea to solve the scaling
issue. I don't think that there should be a new solution with the next
layer of labels and a new path attribute whenever BGP LU is here for ages
and solves this problem better.

With Option B I would like to see which of the approaches is better (this
one or B/C).



сб, 12 авг. 2023 г. в 16:54, Robert Raszuk <robert@raszuk.net>:

> Hi Igor,
>
> > Using different CLUSTER_IDs for inline RRs at the same hierarchy level
> is common
>
> Even if you do setup different CLUSTER_IDs it should be fine ... as the
> other RR should not accept an UPDATE MSG when he seems his own CLUSTER_ID
> in the incoming update.
>
> Remember CLUSTER_ID should get prepended upon reflection not overwritten.
>
> Label allocation has nothing to do with loop. It is broken reflection
> configuration which causes described loops.
>
> Yes between clusters you can setup non client IBGP to fully mesh clusters,
> but within cluster it is rather a poor idea to make RRs clients of each
> other.
>
> So PD#1 is simply a misconfiguration IMHO.
>
> If you think otherwise please update RFC4456 first. Only then we could
> consider solutions to the problem caused by such update.
>
> Regards,
> Robert
>
>
> On Sat, Aug 12, 2023 at 2:39 PM Igor Malyushkin <gmalyushkin@gmail.com>
> wrote:
>
>> Hello, Robert, Satya,
>>
>> Using different CLUSTER_IDs for inline RRs at the same hierarchy level is
>> common. Especially when there is a labeled unicast underneath. Although, I
>> don't understand why two RRs should be clients to each other instead of
>> regular non-client peers.
>>
>> For PD#1, it is possible to signal LU addresses of PE1, PE2, and both RRs
>> and use them as NHs for VPN prefixes. In this case for labeled unicast
>> prefixes a per-prefix label allocation mode completely solves the problem.
>> For VPN sessions RRs do not apply next-hop-self but act as classical RRs
>> (or even can be unaware of any VPN sessions at all). Classical seamless
>> MPLS approach. With the different CLUSTER_IDs, PIC between the RRs can be
>> maintained also.
>>
>> If we talk about Option B, the solution with LU does not obviously work,
>> but there are several approaches to cope with scaling problems, Option A/B,
>> and Option B/C (draft-zzhang-bess-vpn-option-bc-00). The latest is the new
>> draft that combines a two-labeled approach but does not require new path
>> attributes.
>>
>> For PD#2, here I agree with Robert that it is strange to use internal BGP
>> paths instead of external ones for PIC in that case. What if the ISP1 box
>> goes down? All the traffic will go to the ISP2 box from both PEs anyway.
>> Isn't it wise not to use internal BGP paths for a link failure? Actually,
>> we don't even differentiate a link down even from a node failure. But we
>> are trying to apply different FFR technics there.
>>
>> Also, for a possible loop, does not NFRR from the MNA framework solve
>> this issue at the transport level?
>>
>> My 2 cents.
>>
>>
>> сб, 12 авг. 2023 г. в 15:45, Robert Raszuk <robert@raszuk.net>:
>>
>>> Satya,
>>>
>>> *Reg PD#1: *
>>>
>>> Problem described as PD#1 arises by violation of RFC4456 rules. When
>>> your RRs are part of the same cluster (and here they clearly are) it is
>>> mandatory to use the same CLUSTER_ID on both route reflectors. That will
>>> prevent any reflected routes to get accepted by the other RR client.
>>>
>>>    Both these RRs are also clients of each other and advertise VPN routes to each other with the
>>>    next-hop set to the peering address.
>>>
>>>
>>> Please do not invent a bandage to heal wounds which should not be self
>>> made in the first place. PD#1 as described is a misconfiguration.
>>>
>>> *Reg PD#2:*
>>>
>>> You say:
>>>
>>> >  Failure scenario 2 (FS#2) The links from ISP1 to PE1 and PE2 are down
>>> >  at the same time;
>>>
>>> If those two links go down in the same time both PEs should notice it
>>> (optics or BFD) and apply PIC accordingly. PIC on PE1 should result in
>>> shifting traffic to ISP2. So should PIC action on PE2.
>>>
>>> As with PIC the FIB rewrite is prefix independent so no loop
>>> should form.
>>>
>>> As you said both ISPs advertise identical set of routes: "Both ISPs
>>> advertise the same 700k prefixes/"
>>>
>>> Only in a situation when you would apply eiBGP multipath there could be
>>> some micr-loop.
>>>
>>> PIC should be smart and ignore IBGP paths (if their local pref is
>>> preferred in steady state) if local EBGP paths exist to heal data plane
>>> during the fast repair. Tnen BGP will converge to the policy
>>> aligned selection of exist.
>>>
>>> Kind regards,
>>> Robert
>>>
>>>
>>> On Thu, Jul 27, 2023 at 9:36 AM Satya Mohanty (satyamoh) <satyamoh=
>>> 40cisco.com@dmarc.ietf.org> wrote:
>>>
>>>> Hi Keyur and the chairs,
>>>>
>>>>
>>>>
>>>> Towards the end of my IETF presentation, the audio was coming garbled
>>>> at my end and not at all coherent.
>>>>
>>>> I went over the recording today. I am replying to the two
>>>> questions/observations.
>>>>
>>>>
>>>>
>>>> 1)  Suggestion was given to use another label mode i.e., per-prefix
>>>> (per-vrf does not apply here).  However, using per-prefix label allocation
>>>> would result in the inline RRs/ASBRs exhausting their label threshold
>>>> (platform dependent  very quickly as the route scale increases (platform
>>>> dependent upper-limit). Therefore, using per-prefix label allocation was
>>>> ruled out in this deployment after being given due consideration.
>>>>
>>>>
>>>>
>>>> Cisco IOS-XR supports the per-nexthop-recvd-label mode for some-time
>>>> now in Option-B ASBR and RR with nh-self use-cases, precisely for this
>>>> reason.  I believe other vendors has an equivalent mode. Idea is to take
>>>> advantage of the optimal label allocation by this mode and simultaneously
>>>> ensure fast convergence via BGP PIC.
>>>>
>>>>
>>>>
>>>> 2) Regarding the suggestion of not using the proposed attribute, the
>>>> original thought was to use tunnel-encaps attribute. The problem that I saw
>>>> is that the tunnel-encaps can have many sub-tlvs for different purposes,
>>>> and if we wanted to restrict the advertisement of the secondary label to
>>>> routers that do not need it, it will not be that easy as those same routers
>>>> may need some other TLVs present in that same tunnel-encaps attribute. But,
>>>> we do look forward to getting your inputs/suggestions on this as you
>>>> indicated.
>>>>
>>>>
>>>>
>>>> Thanks.
>>>>
>>>>
>>>>
>>>> Best Regards,
>>>>
>>>> --Satya
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> *From: *Idr <idr-bounces@ietf.org> on behalf of Satya Mohanty
>>>> (satyamoh) <satyamoh=40cisco.com@dmarc.ietf.org>
>>>> *Date: *Tuesday, July 11, 2023 at 9:44 PM
>>>> *To: *Dongjie (Jimmy) <jie.dong=40huawei.com@dmarc.ietf.org>,
>>>> idr@ietf.org <idr@ietf.org>, MEANS, ISRAEL L <im8327@att.com>,
>>>> RAMADENU, PRAVEEN <pr9637@att.com>
>>>> *Cc: *idr-chairs@ietf.org <idr-chairs@ietf.org>
>>>> *Subject: *Re: [Idr] Call for IETF 117 IDR agenda items
>>>>
>>>> Hi Jie,
>>>>
>>>>
>>>>
>>>> We would like to request a slot of 10 minutes to present the following
>>>> draft. Tuesday slot is preferable.
>>>>
>>>> https://datatracker.ietf.org/doc/draft-mohanty-idr-secondary-label/
>>>>
>>>>
>>>>
>>>> Thanks,
>>>>
>>>> --Satya
>>>>
>>>>
>>>>
>>>> *From: *Idr <idr-bounces@ietf.org> on behalf of Dongjie (Jimmy)
>>>> <jie.dong=40huawei.com@dmarc.ietf.org>
>>>> *Date: *Tuesday, June 27, 2023 at 3:57 PM
>>>> *To: *idr@ietf.org <idr@ietf.org>
>>>> *Cc: *idr-chairs@ietf.org <idr-chairs@ietf.org>
>>>> *Subject: *[Idr] Call for IETF 117 IDR agenda items
>>>>
>>>> Dear all,
>>>>
>>>>
>>>>
>>>> The draft agenda of IETF 117 is available at
>>>> https://datatracker.ietf.org/meeting/117/agenda. The IDR sessions are
>>>> scheduled as below:
>>>>
>>>>
>>>>
>>>> - Monday Session II  13:00 - 15:00 (local time)  Plaza B
>>>>
>>>>
>>>>
>>>> - Thursday Session IV 17:00 – 18:00 (local time)  Continental 4
>>>>
>>>>
>>>>
>>>> Please start to send any IDR agenda item request to me and CC the
>>>> chairs (idr-chairs@ietf.org). Please include the name of the person
>>>> who will be presenting, and the estimate time you'll need (including Q/A).
>>>>
>>>>
>>>>
>>>> If you plan to make a presentation, please keep in mind the IDR
>>>> tradition, "no Internet Draft - no time slot". You should also plan to send
>>>> your slides to me and CC the chairs no later than 24 hours prior to the IDR
>>>> session, though earlier is better. Please number your slides for the
>>>> benefit of remote attendees. By default your slides will be converted to
>>>> PDF and presented from the PDF.
>>>>
>>>>
>>>>
>>>> Potential presenters may want to take a look at the checklist for
>>>> presenting at IDR:
>>>>
>>>>
>>>>
>>>>
>>>> https://trac.tools.ietf.org/wg/idr/trac/wiki/Checklist%20for%20presenting%20at%20an%20IDR%20meeting
>>>>
>>>>
>>>>
>>>> Best regards,
>>>>
>>>> Jie
>>>> _______________________________________________
>>>> Idr mailing list
>>>> Idr@ietf.org
>>>> https://www.ietf.org/mailman/listinfo/idr
>>>>
>>> _______________________________________________
>>> Idr mailing list
>>> Idr@ietf.org
>>> https://www.ietf.org/mailman/listinfo/idr
>>>
>>