Re: [Idr] I-D Action: draft-ietf-idr-rpd-05.txt

Robert Raszuk <robert@raszuk.net> Tue, 07 July 2020 09:32 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 777653A08DB for <idr@ietfa.amsl.com>; Tue, 7 Jul 2020 02:32:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=raszuk.net
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 XdX9OCmcM-4o for <idr@ietfa.amsl.com>; Tue, 7 Jul 2020 02:32:54 -0700 (PDT)
Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) (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 3C6FF3A08CD for <idr@ietf.org>; Tue, 7 Jul 2020 02:32:54 -0700 (PDT)
Received: by mail-ej1-x634.google.com with SMTP id dr13so45897826ejc.3 for <idr@ietf.org>; Tue, 07 Jul 2020 02:32:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raszuk.net; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=oL+nZCA3BQMMv1u+645cjbrYIijDBaPXgYzzxJt8Al4=; b=HZ1iUBjTnlPhk96XXSw6rXrIrHku9B4aIC8AHoLGAah5PCCBgvOlQHz/yNS+MK9Tww c1VJzFXCR80N5GffRD3zTi676iFMR+mbNpQEhe+4ZU3+Oc6gu/WfzhoxL3hix0RJK06e Y0Ga+/fVLV6/Y++ic+cBeUehG3tVeJbCP25lkZgRL2SpkqqQ0ZdUbsizG/ZiAyJrRvmr 8tH1wWk9bvEKpLFyFqCUcp/Vi7jTS+NlZni05rCXCRDbSQ3UMYQyqjrjPjGpjDL3IXfx qK32rYFRa3pstpgsdf/8gLSaMTChEKP0QkestsT2UgrAo2zQxU2j2Qb1lrplvyYqNkTH 8H9g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=oL+nZCA3BQMMv1u+645cjbrYIijDBaPXgYzzxJt8Al4=; b=brDH0DoHBcP+w1tp+4/8vALnlUJVG5l8GfmGJvwjAUerD33dGejPOVr4fN5VGiS018 JsuAYMejBwv8sKl7tsQG21AhwFOvFyNigV09/3/5gkLB+oc44wcTUbhhg+h9Rltruh7s +1z5uZvSvSbb8wmfkckEA+rR/WAbO01cl5X+GGGCFJSnnD0DAHbP2wCWc8tOlamV/d6S Hzkgy47jTuDChrlo+ckJz1NqaFScZNWxdaYHYcDmaVbzpeLu+h+m3kEQhj6T0lcrg3Dm XJLUA6Bp06+y3GnghjBtTXIxc8GRUrWJglWXdljQba6TywTHOnTJWJp7RZdJpa3e2vT7 azEg==
X-Gm-Message-State: AOAM532n/Orpn/50e2PP8uDrHrFwttrIV7W5A2Q3Ha332cSzjWdvFH2R Cb+lU3wd6z1DVZnOzfAqLpucMxf89Kz84kmIMvBeBOjQ
X-Google-Smtp-Source: ABdhPJzW6OYFrNHMlxsQ3hJet7ZDYcOYHQAicukkuqLBOJE81eX7O/6Im3S9euDp1fmmwHoyBOR0Piri8EnVUAn3gRE=
X-Received: by 2002:a17:906:414c:: with SMTP id l12mr26888939ejk.417.1594114372628; Tue, 07 Jul 2020 02:32:52 -0700 (PDT)
MIME-Version: 1.0
References: <159174295808.20598.10881535719552756514@ietfa.amsl.com> <CABNhwV0BzBWXmcn+ge9AXBZ69bg_3ht74YoFW8rRLi5A5pjdsw@mail.gmail.com> <CABNhwV2FDXpR3dOZwnJTp_P_iC+Hi8W2NtRXjLcNJJo6M4bXxg@mail.gmail.com> <MN2PR13MB3117DD76779455FEEC34968CF2940@MN2PR13MB3117.namprd13.prod.outlook.com> <MN2PR13MB31177858AB89433F8086D46AF26E0@MN2PR13MB3117.namprd13.prod.outlook.com> <4d4f462181b247f8ae657767a5a8f25a@huawei.com> <MN2PR13MB31178D45D9B276C509891DB5F26F0@MN2PR13MB3117.namprd13.prod.outlook.com> <BY5PR13MB3110FE2D86251F504C0067C2F26C0@BY5PR13MB3110.namprd13.prod.outlook.com> <CAOj+MMFLyxfuxyz8RLhk7JhH0k_V-ttM=U2nYwxZ6sQOpH_rpQ@mail.gmail.com> <MN2PR13MB3117E2AB96EB471E6993AB27F26B0@MN2PR13MB3117.namprd13.prod.outlook.com> <CAOj+MMHX_F8B2j1GXPSee4xHk1biSO_N=vgdw=FStNaBMRF5wA@mail.gmail.com> <MN2PR13MB31173AA964EBEF19B9BF53A8F2660@MN2PR13MB3117.namprd13.prod.outlook.com>
In-Reply-To: <MN2PR13MB31173AA964EBEF19B9BF53A8F2660@MN2PR13MB3117.namprd13.prod.outlook.com>
From: Robert Raszuk <robert@raszuk.net>
Date: Tue, 07 Jul 2020 11:32:42 +0200
Message-ID: <CAOj+MMEJJdJmPv3s05kOVnqVxS1M-00RffeoUcaTEoKPK_28sg@mail.gmail.com>
To: Huaimo Chen <huaimo.chen@futurewei.com>
Cc: "idr@ietf.org" <idr@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000e98ca005a9d6acfd"
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/evmYjI_k4XWypBsda0Q-jV35Lok>
Subject: Re: [Idr] I-D Action: draft-ietf-idr-rpd-05.txt
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.29
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: Tue, 07 Jul 2020 09:32:57 -0000

Huaimo,

In BGP (across all known AFI/SAFIs) NLRI field is a key to all other
information contained in the attached attributes.

It is never a filter to whom BGP UPDATE MSG applies.

Just think about withdraw ... Imagine you have 1000 BGP speakers. 800 of
them have eBGP sessions. If you have policy which needs to be applied to
your speakers which terminate eBGP sessions then you need to send 800 times
the new UPDATE msg instead of just 1 !

You are breaking most useful remains of BGP fundamental scaling properties
pretty badly here.

Besides those target peers can be already grouped and placed in the wide
community anyway so any filtering at NLRI level is pointless.

Kind regards,
R.





On Tue, Jul 7, 2020 at 2:33 AM Huaimo Chen <huaimo.chen@futurewei.com>
wrote:

> Hi Robert,
>
>     Thank you very much for your comments.
>
>     Our answer/explanation is inline below with prefix [HC].
>
> Best Regards,
> Huaimo on behalf of authors
>
> ------------------------------
> *From:* Robert Raszuk <robert@raszuk.net>
> *Sent:* Saturday, July 4, 2020 6:18 AM
> *To:* Huaimo Chen <huaimo.chen@futurewei.com>
> *Cc:* idr@ietf.org <idr@ietf.org>
> *Subject:* Re: [Idr] I-D Action: draft-ietf-idr-rpd-05.txt
>
> Hi Huaimo,
>
> If I am reading your response correctly regarding point #1 then you are
> really turning BGP into p2p configuration push. That is not what BGP is
> for. I recommend we do not do that.
>
> That BGP update will be sent to *every* BGP speaker in the domain talking
> your new SAFI unless you go to next level and use prefix ORF to push all of
> your peers IP address to say RR. This is getting very very ugly.
>
> Note pls that you already can share policy among many peers by either
> listing peers explicitely in the wide community or include there their
> ASN(s). The peer IP address as key in the NLRI will break all of this
> completely.
>
> I recommend you reconsider.
>
> [HC]:  The value 0 in the peer IP address field means that the BGP update
> is sent to every BGP speaker, which is the default. We will add some text
> into the document to state that this field is set to 0 for now normally.
>
> Thx,
> R.
>
>
>
>
>
>
>
>
>
> On Sat, Jul 4, 2020 at 4:37 AM Huaimo Chen <huaimo.chen@futurewei.com>
> wrote:
>
> Hi Robert,
>
>     Thank you very much for your comments.
>
>     Our answers/explanations are inline below with prefix [HC].
>
> Best Regards,
> Huaimo on behalf of authors
> ------------------------------
> *From:* Robert Raszuk <robert@raszuk.net>
> *Sent:* Wednesday, July 1, 2020 5:21 AM
> *To:* Huaimo Chen <huaimo.chen@futurewei.com>
> *Cc:* idr@ietf.org <idr@ietf.org>
> *Subject:* Re: [Idr] I-D Action: draft-ietf-idr-rpd-05.txt
>
> Hi,
>
> I have two small suggestions about this document.
>
> 1.
>
> I think current suggestion of NLRI content to include peer IP address is
> very unfortunate. I would recommend to replace it with either sender IP
> address or policy group ID.
>
> Why ? As the target of the policy will be already included in the wide
> communities and may conflict or extend the currently defined NLRI value.
>
> For example if you ask to apply policy X to ASN 100 it does not matter
> what peer address is.
>
> If you need policy to be applicable to a specific peering point just also
> encode it consistently within the wide community itself.
>
> [HC]: When a router A receives a policy X (say from a controller), router
> A may have a few other peers. The peer IP address indicates a specific peer
> (of router A) among these few peers to which the policy applies if the
> address is not 0. If the address is 0, the policy applies to all these
> peers. Using the peer IP address to indicate a specific peer for the policy
> can eliminate the unnecessary work that the others do to process and filter
> the policy. This may improve the efficiency.
>
> 2.
>
> While the text is clear that such policy would apply to inbound and
> outbound peers I think it would be good to state that this is about
> external policy propagation.
>
> Unless you also intend to push internal policies which would be a
> completely different game.
>
> [HC]: We will state something like it is about external policy propagation
> in general.
>
> Many thx,
> R.
>
>