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

Robert Raszuk <robert@raszuk.net> Wed, 21 May 2014 16:21 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 7FEBC1A032F for <idr@ietfa.amsl.com>; Wed, 21 May 2014 09:21:06 -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 VHwL4Ev-oyym for <idr@ietfa.amsl.com>; Wed, 21 May 2014 09:21:03 -0700 (PDT)
Received: from mail-ig0-x22c.google.com (mail-ig0-x22c.google.com [IPv6:2607:f8b0:4001:c05::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5EFD21A0723 for <idr@ietf.org>; Wed, 21 May 2014 09:20:59 -0700 (PDT)
Received: by mail-ig0-f172.google.com with SMTP id uy17so6428409igb.5 for <idr@ietf.org>; Wed, 21 May 2014 09:20:58 -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=V6q/zyIxTqC1zQfVtfm33vCjyJaW0ekiJglODz9IRrk=; b=E4ncFAIfxq6Xqi8tU4omR1yaZkqFdQ6SKFpDvN9CjMjL62/FWT3FeZTlqnVaHFLYjs L3hOMVgU6e0Suq/fJhi0UbwBiUWosbDcvL6kqpe5mXaHnMjzrcss2NfQnieBMToihPcD omcQRBvxIkzgRa/BFzpw2Ai/txR5+7yx3YvH2gozfd9TedUnn2veCjUyKJ5vSLYPQJHA mZ6GH4rNbtTe7ckDe5TExPmKf6hQ3/MEe5EIFhCsWboAZgdsvVwTQreCJpmnneNnZkOS ww884TwZN6mYVwrzCdKcIfQN7moiJhubUTBqS9dr4z8oBLuJujB6fHrLGm6gcxDqcTI1 iAuA==
MIME-Version: 1.0
X-Received: by 10.50.13.67 with SMTP id f3mr15148105igc.9.1400689258199; Wed, 21 May 2014 09:20:58 -0700 (PDT)
Sender: rraszuk@gmail.com
Received: by 10.64.242.198 with HTTP; Wed, 21 May 2014 09:20:58 -0700 (PDT)
In-Reply-To: <8540.1400685704@erosen-lnx>
References: <20140521124753.GC5675@pfrc> <8540.1400685704@erosen-lnx>
Date: Wed, 21 May 2014 18:20:58 +0200
X-Google-Sender-Auth: Z5jgThZCb-wtMp5WrdE-VlmhTU8
Message-ID: <CA+b+ERnwBqV8zgeSju_KiMEw_mnfOca8ZSiAuzMZt_U=Dd-r+g@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/uw1aq8-Au1mU0kuoVZhaHWglvKw
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:21:06 -0000

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