Re: [Idr] Review Request for draft BGP Overload

Robert Raszuk <robert@raszuk.net> Wed, 06 July 2016 17:41 UTC

Return-Path: <rraszuk@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 DCC2612D094 for <idr@ietfa.amsl.com>; Wed, 6 Jul 2016 10:41:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.4
X-Spam-Level:
X-Spam-Status: No, score=-2.4 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.198, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=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 aG5EYOTMObua for <idr@ietfa.amsl.com>; Wed, 6 Jul 2016 10:41:24 -0700 (PDT)
Received: from mail-lf0-x22f.google.com (mail-lf0-x22f.google.com [IPv6:2a00:1450:4010:c07::22f]) (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 13147126B6D for <idr@ietf.org>; Wed, 6 Jul 2016 10:41:24 -0700 (PDT)
Received: by mail-lf0-x22f.google.com with SMTP id l188so159310474lfe.2 for <idr@ietf.org>; Wed, 06 Jul 2016 10:41:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=uk5QG+TUmYwHGn2871iO5hSm7/JNLVFhfoc+PY32sHQ=; b=xaM0SdPQXUJSGUMA9LlswdGatoM/RbFt7TwIHeIarRVILPYBHIRbwuCWJXjxciqmbF vaOPX4s3MEqbtnnreTKQ1xTEWmXoFOoAdrDQcC2YksmBqrwY+5ujmZgneAdk9WUz5VxY wYQ5QH31NKGEj6CJMFtEs/MA7pTXg4zYHSg9Ip1LgMBmsNFTiR2kArW5pvfNvI7Yhl3X UdENcA3HRcNht0bmtry7lKjCKxYkHd1bfR6bJf5QjlzJi8hTdnVjahvFEwvD6O82Y0ad jn2OXkIHApDBftUeXcZO8ZHpjrJzWZBu9Ksk0E5oHoE3vMEysrQqZOSklhcuY83LeBUk /jNQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=uk5QG+TUmYwHGn2871iO5hSm7/JNLVFhfoc+PY32sHQ=; b=k1nL4HxD90B2ADiK2gGNEfSYlZjOqeKd2jhmCGV1qr8EnIcBPoU/h8bh6/+e/CkfHo nkKcIa5n9cuK0XOp2tip1VvC5IdoGOh05OXipkZMO7d9Kdyy1IwNQOcXhzSO50YZm97M tz5XegH0n18Fb/sqlgB3H1SRlz5IcqFGl73xsDNg+g+zFwzK8ujatOZgFML9/HX+u+hS aIw64YK6SuDw66Ug6Ycge9ol3PcRMYc4zEyuxRgREmebhUXiWgSxs2zC888Cp7i0kdMU StAmEIChgDjMatKxDFjdJ4DBj5211AZR8ZAgiJnXDIF/5Fmb1iOM8chxIUbvw/teOa2a ntmA==
X-Gm-Message-State: ALyK8tJudR1B3ooplfdDgMnPNQGUgMCEQnr241pL2SWxrA7AzPfsYwTKbbEUtPUrYa6yenEKkIpHuuyDjW68Ew==
X-Received: by 10.25.84.65 with SMTP id i62mr7127356lfb.88.1467826882161; Wed, 06 Jul 2016 10:41:22 -0700 (PDT)
MIME-Version: 1.0
Sender: rraszuk@gmail.com
Received: by 10.25.21.30 with HTTP; Wed, 6 Jul 2016 10:41:21 -0700 (PDT)
In-Reply-To: <CADJmATH0jD0eiNewvFsGhpHGJ=LRfi=hAN-9f17TXBoLVCB1nw@mail.gmail.com>
References: <CADJmATHTYEW3_S+8=wLmjYL35oPF24J+Tu9O+m7w_7uLUMghjQ@mail.gmail.com> <CA+b+ERnOgiq3g+oCp-3vx1Ncq8QSrf-32Go_RWDeO+P7VHUNRA@mail.gmail.com> <CADJmATGndK0s-8Pao3cp7DfubsBFc1FG+LgMh-5NUJ32HAsvFg@mail.gmail.com> <CA+b+ER=-_omoqvM_=nqhzm_D1HB8-Wp+0ixadwaRa-7URKbHWQ@mail.gmail.com> <CADJmATFqusgXiMAzQrCqMczkcGkNaLiKcOMu3k7-N_pMjoOMGg@mail.gmail.com> <CA+b+ERnyNk1ZSA_mu+VnRTthpCibzGGN8SCeEaSoPZq1wHNzYA@mail.gmail.com> <CADJmATH0jD0eiNewvFsGhpHGJ=LRfi=hAN-9f17TXBoLVCB1nw@mail.gmail.com>
From: Robert Raszuk <robert@raszuk.net>
Date: Wed, 06 Jul 2016 19:41:21 +0200
X-Google-Sender-Auth: f2r1FZw3BsPrdO9aplMPh77t69U
Message-ID: <CA+b+ERnZkCiNOFBgy3boZuURWGkPHrXN_2cYsSWdFSHNctFxRQ@mail.gmail.com>
To: amit bhagat <scet.amit@gmail.com>
Content-Type: multipart/alternative; boundary="001a11411f28e730fd0536fb13fe"
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/UGUJqxOwkI4AfeGSaxmvPso9wJc>
Cc: idr wg <idr@ietf.org>
Subject: Re: [Idr] Review Request for draft BGP Overload
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.17
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: Wed, 06 Jul 2016 17:41:27 -0000

Hi Amit,

BGP Capability is completely orthogonal. It only indicates who support this
new SAFI. I am talking about the case where  as this new SAFI which is
needed only between *directly connected* peers will use generic BGP
mechanism and will propage NLRIs across entire DC. It would be completely
unnecessary yet your draft does not discuss this point. This is what I call
"leaking".

As far as signalling number of active peers to a peer I do not see how you
encode this in the currently posted proposal nor it is clear what action
such router should automatically do with that information. Honestly I would
rather see the operator action here.

Thx,
R.



On Wed, Jul 6, 2016 at 7:34 PM, amit bhagat <scet.amit@gmail.com> wrote:

> Hi Robert,
>
> There is no risk of leaking as the Capability will be exchanged with peers
> upon session establishment.
>
> What this feature also gives is monitoring Established neighbor-count.
> Consider a router connected to 10 peers and all 10 peers advertise exactly
> same prefixes in a CLOS fabric. Now, if 5 peer sessions go down, the
> capacity is effectively reduced to 50% while this router is still in the
> transit. This can cause congestion. Instead, the router can declare itself
> overloaded and the downstream routers then rely on other paths. The update
> advertisement delay can be an implementation detail.
>
> Thanks.
> Amit
>
> On Wed, Jul 6, 2016 at 12:34 AM, Robert Raszuk <robert@raszuk.net> wrote:
>
>> Hi Amit,
>>
>> I agree that recently BGP is being stretched towards DC-fabric side to
>>> encompass various use cases.
>>>
>>> However, the way I see this draft, it can be useful for both, Internet
>>> and DC-fabrics. The main reason is to keep traffic drain procedure BGP
>>> topology agnostic, exactly same as ISIS Overload-bit. Agree, BGP has a
>>> bigger blast radius in Internet compared to ISIS but appropriate
>>> implementation of the feature can provide good benefits.
>>>
>>
>>
>> ​I don't think ​this is about "blast radius". ISIS or OSPF are link state
>> protocols and each node in the given flooding scope computes its
>> independent SPF hence flooding such information is a necessity for
>> consistent forwarding.
>>
>> Contrary to the above BGP is path/distance-vector where each BGP speaker
>> recomputes its bRIB and re-advertises it. Therefor for the use case you
>> have in mind all what is required is to signal in some way to a bgp peer(s)
>> that you may not want or want again to be in forwarding for a given SAFI.
>>
>> You defined a new SAFI as well as new NLRI format to use for point to
>> point signalling .. I am not convinced this is the right level of
>> signalling choice for this purpose. How do you stop propagation of such
>> NLRIs around ? It would be pretty harmful if one router in Clos fabric will
>> leak it and it breaks entire fabric - wouldn't you agree ? You at very min
>> MUST enforce the NO-EXPORT/NO-ADVERTISE semantics for such SAFI which
>> currently your draft seems to be missing.
>>
>> There are couple of alternatives to accomplish the same though:
>>
>> - using flag in dynamic capabilities
>> - local poisoning of next hops
>> - use of local pref/med (same as OSPF max metric:)
>> - use of G-shut community
>>
>> or simply shutting the SAFIs. When you shut SAFI in one shot all paths
>> learned are removed and best path (or multipath) recomputed. The potential
>> "hit" would be on re-enabling it such that you need readvertise your
>> underlay again.
>>
>> It is gracefull (no packet drops) as local forwarding can continue till
>> everyone around stops sending you packets in a given table_id
>> (corresponding to SAFI which has been shut down).
>>
>> Many thx,
>> R.
>>
>>
>