Re: [Idr] RFC 4684 pedantry - routes with no Route Target

Robert Raszuk <robert@raszuk.net> Wed, 21 May 2014 16:33 UTC

Return-Path: <rraszuk@gmail.com>
X-Original-To: idr@ietfa.amsl.com
Delivered-To: idr@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7E20A1A03DD for <idr@ietfa.amsl.com>; Wed, 21 May 2014 09:33:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.278
X-Spam-Level:
X-Spam-Status: No, score=-1.278 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=no
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 qkLaluVC9MFs for <idr@ietfa.amsl.com>; Wed, 21 May 2014 09:33:26 -0700 (PDT)
Received: from mail-ig0-x22b.google.com (mail-ig0-x22b.google.com [IPv6:2607:f8b0:4001:c05::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1E7701A0346 for <idr@ietf.org>; Wed, 21 May 2014 09:33:26 -0700 (PDT)
Received: by mail-ig0-f171.google.com with SMTP id c1so6428262igq.16 for <idr@ietf.org>; Wed, 21 May 2014 09:33:25 -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:date:message-id:subject :from:to:cc:content-type; bh=4U2QvPqfin3fvRED15OKUTNJ5LL9qc5G9uoRBgLkiZs=; b=mpW6ZJaT2JeWvHO5br2nFS7Ad9Ilb1PbswrAfCWzlb3d33rRWc/XFZ6X4lxlXSCCu7 gy1Y0ETrw4DCjHVEdB0FWVwWbBRDVfJLA+6+0QNFLT+rga0ri2j4IHFZw+30NnAE3kPU UvviPtZT7xnlmChOxWkPZWrv+K/szLmvY7eUfgzProuH4UfCJH65XCaqhgXrs41E+K9a Fofpf1XUQfYnw7YvDxEnyXk3yRJlxvIrhqZbN3Xynq2fEMmeRzCCe30OmDw4z18BeDBg Y2qvA8+3jiuvdQJ6xrx+9oDvWzIBRuNXNwNgcK6rwjmNPN7lThlsGJLZXD+jtEbm8LOd enzA==
MIME-Version: 1.0
X-Received: by 10.50.43.225 with SMTP id z1mr14804397igl.29.1400690004975; Wed, 21 May 2014 09:33:24 -0700 (PDT)
Sender: rraszuk@gmail.com
Received: by 10.64.242.198 with HTTP; Wed, 21 May 2014 09:33:24 -0700 (PDT)
In-Reply-To: <CA+b+ERnwBqV8zgeSju_KiMEw_mnfOca8ZSiAuzMZt_U=Dd-r+g@mail.gmail.com>
References: <20140521124753.GC5675@pfrc> <8540.1400685704@erosen-lnx> <CA+b+ERnwBqV8zgeSju_KiMEw_mnfOca8ZSiAuzMZt_U=Dd-r+g@mail.gmail.com>
Date: Wed, 21 May 2014 18:33:24 +0200
X-Google-Sender-Auth: ibr58T_uXm0K8qhuk6agxN9OrHo
Message-ID: <CA+b+ER=Hx7qe_1QAsa_cpX_JEqPOc7bToDGTyFz+-XTP1iju4A@mail.gmail.com>
From: Robert Raszuk <robert@raszuk.net>
To: "erosen@cisco.com" <erosen@cisco.com>
Content-Type: text/plain; charset="UTF-8"
Archived-At: http://mailarchive.ietf.org/arch/msg/idr/QIjX_esrK0Thi_dCsJNsPWNyylw
Cc: idr wg <idr@ietf.org>
Subject: Re: [Idr] RFC 4684 pedantry - routes with no Route Target
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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, 21 May 2014 16:33:27 -0000

In the situations where protocol SAFI contains a mix (tagged and not
tagged NLRIs with RTs) I would rather propose to amend the rfc to
exchange default RT + specific RTs. That would potentially allow for
reception of NLRIs with no RT attached + filtering of those against
more specific RTs received which do carry RT ext community.

Thoughts ?

r.

On Wed, May 21, 2014 at 6:20 PM, Robert Raszuk <robert@raszuk.net> wrote:
> Hi Eric,
>
>> The problem arises because, on some NLRIs, the use of RTs is
>> optional.  What you're suggesting is that RT-C should never filter out
>> routes that don't have any RTs.  That does seem right.
>
> Well is it really ... ?
>
> Remember that RFC 4684 enforces for any SAFI it is enabled under no
> route exchange happens at all till intersecting RTs are received over
> RTC SAFI.
>
> That means that the spec is 180 degrees opposite to your above claim
> that routes with no RTs should be always exchanged.
>
> Cheers,
> R.
>
>
> On Wed, May 21, 2014 at 5:21 PM, Eric Rosen <erosen@cisco.com> wrote:
>> Jeff> In RFC 6037 ("draft-rosen" multicast VPNs), the MDT SAFI has the
>> Jeff> following documentation in section 4.4:
>>
>> :   When a PE distributes this NLRI via BGP, it may include a Route
>> :   Target (RT) Extended Communities attribute.  This RT must be an
>> :   "Import RT" [RFC4364] of each VRF in the MD.  The ordinary BGP
>> :   distribution procedures used by [RFC4364] will then ensure that each
>> :   PE learns the MDT-SAFI "address" of each of the other PEs in the MD,
>> :   and that the learned MDT-SAFI addresses get associated with the right
>> :   VRFs.
>>
>> The next paragraph though makes it clear (well, sort of) that the MDT-SAFI
>> routes without RTs need to be distributed to all the PEs, and filtered as
>> necessary by the PEs to which they are distributed.
>>
>> Jeff> RFC 4684's procedure says in section 6:
>> :   A VPN NLRI route should be advertised to a peer that participates in
>> :   the exchange of Route Target membership information if that peer has
>> :   advertised either the default Route Target membership NLRI or a Route
>> :   Target membership NLRI containing any of the targets contained in the
>> :   extended communities attribute of the VPN route in question.
>>
>> Jeff> Quite frankly, we have a bug in that MDT's are not getting propagated
>> Jeff> when RT-C is in use because we're treating it as a "VPN NLRI".
>>
>> Yes, one might conclude that whoever decided to omit the RTs from MDT-SAFIs
>> wasn't much concerned about the use of RT-C (or any other RT-based filtering
>> mechanisms) to constrain the distribution of routes to or from intermediate
>> nodes.
>>
>> Jeff> The broader question I'd put to the working group is whether any NLRI
>> Jeff> not  having RTs isn't really a "VPN NLRI" for purposes of RT-C
>> Jeff> filtering
>>
>> I don't think RFC4684 really intends to restrict its applicability to "VPN
>> routes".  It does say in section 1: "This mechanism is applicable to any BGP
>> NLRI that controls the distribution of routing information by using Route
>> Targets".  The problem arises because, on some NLRIs, the use of RTs is
>> optional.  What you're suggesting is that RT-C should never filter out
>> routes that don't have any RTs.  That does seem right.
>>
>> You may want to look at draft-zzhang-l3vpn-mvpn-global-table-mcast-02.txt,
>> especially section 2.2 ("Route Targets").  In that draft, there are routes
>> of the MCAST-VPN SAFI that may (optionally) carry RTs, and the intention is
>> that it be possible to use RT-C to constrain the distribution of those
>> routes, if (and only if) the routes carry RTs.  However, those routes cannot
>> really be said to be VPN routes, as they are used for controlling multicasts
>> that do not occur in a VPN context.
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Idr mailing list
>> Idr@ietf.org
>> https://www.ietf.org/mailman/listinfo/idr