Re: [Idr] draft-dong-idr-node-target-ext-comm-05.txt - WG Adoption and IPR call (9/27 to 10/11/2022)

Robert Raszuk <robert@raszuk.net> Thu, 20 October 2022 20:52 UTC

Return-Path: <robert@raszuk.net>
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 5B933C1522B9 for <idr@ietfa.amsl.com>; Thu, 20 Oct 2022 13:52:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.106
X-Spam-Level:
X-Spam-Status: No, score=-2.106 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=raszuk.net
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 12rxD3ZIyZgd for <idr@ietfa.amsl.com>; Thu, 20 Oct 2022 13:52:19 -0700 (PDT)
Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) (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 C4039C1522BB for <idr@ietf.org>; Thu, 20 Oct 2022 13:52:19 -0700 (PDT)
Received: by mail-ej1-x62d.google.com with SMTP id w18so2392060ejq.11 for <idr@ietf.org>; Thu, 20 Oct 2022 13:52:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raszuk.net; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=RsmfIS0FxAZKf6hA9gyRSAT/Rg9At66fPmZFJMdbmsg=; b=S4Z/0r5BvlIWJx9S/pYbWYjP0zcC/ko2QXMrjXQX4ARPvFDvFm4ZlKgd9ywelsKa69 7Jcp1Up3xoWmQLWg06DK0Iysggyrvw0toYxz2ZXzARiy3Io3+tbunbdObeuEbdzrGLgS rBzCySTtr4QFQG90n5fVvUbLBeFrotc4DLitnUvApnITIOgDryjxHtMIwzYtU0hK4JIj eH4ZXFaezmVe6b3Gp9DiDcTJDzAR1JUxgeVX1Gv9fBO0Lw5eLzDbGF0c36bGa0QRnon4 2ubA6fIWKnA3y/e8H1VvI7KWvsBMxS7gMpm7XUSzXU528R5Cfc4ccC+4fngy1C7ETJZU HOdw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=RsmfIS0FxAZKf6hA9gyRSAT/Rg9At66fPmZFJMdbmsg=; b=Irki1d2JZ+UhwWGouSsSjTWqwZCszPg/2sdSd0lgni+82hxR4iOcCDM1A/YEFKn6kA 8QVinfsx3v9Mub2i3lhsDhR8w54aL6p7V5xcx4/Hrmvg405D4RU90HgkFozm/gWzNxeP M7Wt6pGAMphZCHi78gOU1z2H/0LsZ+r30BIvsHjWBR5JIji1EpgOFd2m+oZRX3YZH8eq 5TFTlzJGtqCaU/XMfJM+BkgY+pWPFwuXBDtGUSPTVuN/wASQ4VzsxuHbGTPp1r+WGJjg ovrvmTLfsZjXrUIpNExqRRKkibOWJlu+B3zCPrm5fFK7W/Lp/e3VCzTyz62FSNBPS4bo ksQA==
X-Gm-Message-State: ACrzQf0ZcQwVCBMgXqm6z/4fvnRV3NUy3h/GLOpUUB3/5uTWa/WT42ih pFqKEL6kPfDN65sYvlR5U9LriAltmu3q0lQrVu8fCw==
X-Google-Smtp-Source: AMsMyM4CYDRz7CeL2XDKP3oqFBPSD9jSt5Iti0o2Iv3A0fji7Sv2WR1ApWyEESKYJntUnoJuC2+Vo+PJpl/1ZSBxyVs=
X-Received: by 2002:a17:906:fe45:b0:788:15a5:7495 with SMTP id wz5-20020a170906fe4500b0078815a57495mr12719036ejb.633.1666299137900; Thu, 20 Oct 2022 13:52:17 -0700 (PDT)
MIME-Version: 1.0
References: <39a075e7afd04d94b324075a5c696b84@huawei.com> <028ECC42-2021-4D00-9B31-B323F2480DAA@gmail.com> <Y0mJ2CJQbUbf6pzO@Space.Net> <20221014182353.GF2066@pfrc.org> <CAOj+MMGr3X58yCoR9uLXmoNUtk4b+=00o2JB9tEKpENTU6M6Yw@mail.gmail.com> <20221019214126.GB10497@pfrc.org> <CAOj+MMHafWNKaDBfcvdVKz7RoX4eFxkk2KjVvqN9vS=2+vNeGw@mail.gmail.com> <20221019222746.GD10497@pfrc.org> <CAOj+MMEstWKm+xoWBRFJjJW-vhX_4BKerWCt94GiQT+W5tELPA@mail.gmail.com> <20221020204232.GD19035@pfrc.org>
In-Reply-To: <20221020204232.GD19035@pfrc.org>
From: Robert Raszuk <robert@raszuk.net>
Date: Thu, 20 Oct 2022 22:53:11 +0200
Message-ID: <CAOj+MMFAkrq4bTyx-Gf4ivfBetnaH0bSJo34wmyXwXL5nQEWxg@mail.gmail.com>
To: Jeffrey Haas <jhaas@pfrc.org>
Cc: Gert Doering <gert@space.net>, idr@ietf.org, Susan Hares <shares@ndzh.com>, "Dongjie (Jimmy)" <jie.dong=40huawei.com@dmarc.ietf.org>, "Van De Velde, Gunter \\(Nokia - BE/Antwerp\\)" <gunter.van_de_velde@nokia.com>
Content-Type: multipart/alternative; boundary="0000000000003461a805eb7d8047"
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/DB-6uVHAVA26DMObYiso6RDkteI>
Subject: Re: [Idr] draft-dong-idr-node-target-ext-comm-05.txt - WG Adoption and IPR call (9/27 to 10/11/2022)
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: Thu, 20 Oct 2022 20:52:24 -0000

Jeff,

> P1 then is placed in 1.1.1.1's Adj-Rib-Out, but not 2.2.2.2's Adj-Rib-Out.
> Advertisement happens based on that state.

That is one way it can be implemented.

RTC has been implemented as filter post update generation in some operating
systems. In such cases your example does not apply.

>From sender POV it has been sent to all. Filtering at replication mimics
filtering at the receiver. Works for RT may break for NT.

And as mentioned the crux here is in the MP_REACH structure. If we force
NLRIs to be uniquely different RD per path it all works smoothly. If you
try to make it work with NLRIs which can have different paths and still
filter at replication I am afraid it will not work.

Many thx,
R.

Ps. This is just for the archives. If someone complains down the road at
least we can point them to the list that it has been brought up.


On Thu, Oct 20, 2022 at 10:42 PM Jeffrey Haas <jhaas@pfrc.org> wrote:

> Robert,
>
> On Thu, Oct 20, 2022 at 12:50:20AM +0200, Robert Raszuk wrote:
> > > Implementations simply default to the PE's BGP Identifier.  But
> similarly,
> > > it's a feature of some implementations to permit this to be configured
> > > distinct from the PE's BGP Identifier.
> > >
> >
> > The use case why this was introduced was to enable VRF to VRF eBGP
> session
> > via firewalls (other types of chaining). Without running into BGP session
> > BGP_ID checks (not that many implementations actually check it :).
>
> Cute. :-)
>
> Enough implementations check the session collisions that such a feature is
> appropriate.
>
> If you have any passion toward such a thing, I'd suggest review of the BGP
> YANG module to see how you think it should be managed in the IETF model...
> or not at all as a vendor-specific item.
>
> > > > To your point of withdrawal, I see that the extended community is
> linked
> > > > with MP_REACH. If MP_UNREACH is in the same UPDATE the nodes which
> should
> > > > get the MP_UNREACH may not even get the withdrawal.
> > >
> >
> > > I'm unable to parse your English here.  Please provide an explicit
> example.
> > >
> >
> >
> > Deepest apologies. Maybe indeed my example was unclear. Let me try much
> > cleaner one:
> >
> > net_X has two paths P1 and P2. P1 had NT 1.1.1.1 and was best. Was sent
> as
> > such to 1.1.1.1
> >
> > Now for whatever reason P2 got selected as best but it's NT is 2.2.2.2
> >
> > When we build UPDATE we just include net-X + P2. Business as usual.
> >
> > Well don't you think node 1.1.1.1 will remain stuck with net_X forever ?
>
> I don't.
>
> In RFC 4271 abstracts:
> P1 is selected as the active path in LocRib
> P1 then is placed in 1.1.1.1's Adj-Rib-Out, but not 2.2.2.2's Adj-Rib-Out.
> Advertisement happens based on that state.
> P2 is then selected in LocRib
> P1 is removed from 1.1.1.1's Adj-Rib-Out because it's not eligible.
> P2 is installed in 2.2.2.2's Adj-Rib-Out.
>
> Specifically from RFC 4271, §9.1.3:
> :   All routes in the Loc-RIB are processed into Adj-RIBs-Out according
> :   to configured policy.  This policy MAY exclude a route in the Loc-RIB
> :   from being installed in a particular Adj-RIB-Out.
>
> This just happens to be another flavor of policy, much like RT-Constrain.
>
> If it makes you feel happier, you already know this case for proxy route
> advertisement suppression that many implementations do at ASBRs when there
> would be an AS-Loop, or from route reflectors when advertisement would
> result in a cluster loop.
>
> -- Jeff
>