Re: [Idr] draft-litkowski-idr-flowspec-interfaceset => NLRI vs EXTCT (part 2)

"Jakob Heitz (jheitz)" <jheitz@cisco.com> Thu, 27 July 2017 00:19 UTC

Return-Path: <jheitz@cisco.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 E6934131F06 for <idr@ietfa.amsl.com>; Wed, 26 Jul 2017 17:19:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.521
X-Spam-Level:
X-Spam-Status: No, score=-14.521 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 jDPhhlCnvwKt for <idr@ietfa.amsl.com>; Wed, 26 Jul 2017 17:19:36 -0700 (PDT)
Received: from alln-iport-4.cisco.com (alln-iport-4.cisco.com [173.37.142.91]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D5B96131EFC for <idr@ietf.org>; Wed, 26 Jul 2017 17:19:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=20776; q=dns/txt; s=iport; t=1501114775; x=1502324375; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=eNmJc96QJ2pboH7oPZ8Lz2DA1Dnodukpy4isT7kHHMI=; b=aNVTrJi7aCT1EJ7svdFfNzLpScZLHPBC8faZvKnfTebpnQ+4TICMC5Q7 S3mVshuZXDR+3tDUzA4YofxLE17UGlRDNIzfMJ5EhBe/yEnSszgjf4Ypt xiy/36+Eo4ewaXMQlyazOj59ZvC3nMGruA3PfyAOIm60yMZiM3Kb9RtLP A=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0CfAAAuMXlZ/5NdJa1cGQEBAQEBAQEBAQEBBwEBAQEBgm8+LWSBFAeOBpFjdI9nhS6CEiEBCoUbAhqDNT8YAQIBAQEBAQEBayiFGAEBAQEDAQEhCjoHCxACAQgRBAEBKAMCAgIlCxQJCAIEAQ0FCAwHiTBkELBygiaLQwEBAQEBAQEBAQEBAQEBAQEBAQEBARgFgyiDTYFhgnA0hQofgl2CYQWXWIgDAosYiH+CFZAuiVOMHAEfOD9LdxVJhxl2hnUHgSuBDgEBAQ
X-IronPort-AV: E=Sophos;i="5.40,417,1496102400"; d="scan'208,217";a="459808117"
Received: from rcdn-core-11.cisco.com ([173.37.93.147]) by alln-iport-4.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Jul 2017 00:19:34 +0000
Received: from XCH-RCD-006.cisco.com (xch-rcd-006.cisco.com [173.37.102.16]) by rcdn-core-11.cisco.com (8.14.5/8.14.5) with ESMTP id v6R0JYQT007910 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Thu, 27 Jul 2017 00:19:34 GMT
Received: from xch-aln-014.cisco.com (173.36.7.24) by XCH-RCD-006.cisco.com (173.37.102.16) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Wed, 26 Jul 2017 19:19:34 -0500
Received: from xch-aln-014.cisco.com ([173.36.7.24]) by XCH-ALN-014.cisco.com ([173.36.7.24]) with mapi id 15.00.1210.000; Wed, 26 Jul 2017 19:19:34 -0500
From: "Jakob Heitz (jheitz)" <jheitz@cisco.com>
To: Robert Raszuk <robert@raszuk.net>, "Juan Alcaide (jalcaide)" <jalcaide@cisco.com>
CC: idr wg <idr@ietf.org>
Thread-Topic: [Idr] draft-litkowski-idr-flowspec-interfaceset => NLRI vs EXTCT (part 2)
Thread-Index: AQHTBmMsA+kuai771EGHOw9ST46Op6JnF2sA//+2lRA=
Date: Thu, 27 Jul 2017 00:19:33 +0000
Message-ID: <8dd3e766b58944a3b176fc743e478137@XCH-ALN-014.cisco.com>
References: <9fa67eb0-8f99-a46f-aff1-d42a279ab833@cisco.com> <CA+b+ERmaARaPLQv-g58WGNJCDcKN3gdf-F9wnCwusw+jwX7paw@mail.gmail.com>
In-Reply-To: <CA+b+ERmaARaPLQv-g58WGNJCDcKN3gdf-F9wnCwusw+jwX7paw@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.154.161.244]
Content-Type: multipart/alternative; boundary="_000_8dd3e766b58944a3b176fc743e478137XCHALN014ciscocom_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/vpl2cIPAy9kihot_0xL6Q47duqs>
Subject: Re: [Idr] draft-litkowski-idr-flowspec-interfaceset => NLRI vs EXTCT (part 2)
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.22
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, 27 Jul 2017 00:19:38 -0000

Two flowspec routes with the same NLRI may be originated by different speakers.
The first route will have one group-id. The second route will have another group-id.

Thanks,
Jakob.

From: Idr [mailto:idr-bounces@ietf.org] On Behalf Of Robert Raszuk
Sent: Wednesday, July 26, 2017 4:38 PM
To: Juan Alcaide (jalcaide) <jalcaide@cisco.com>
Cc: idr wg <idr@ietf.org>
Subject: Re: [Idr] draft-litkowski-idr-flowspec-interfaceset => NLRI vs EXTCT (part 2)

Hi Juan,

>  (we assume controller(s) may not want to send multiple ext-communities with same NLRI).

If I recall group-ids are carried in new RT format:

"This new BGP Route Target extended community is encoded as follows :

       0                   1                   2                   3
       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |  Type (TBD)   |      0x02     |    Autonomous System Number   :
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      :     AS Number (cont.)         |O|I|      Group Identifier     |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
"

So just like an UPDATE message of SAFI 128 may contain many RTs why would you see any
issue to carry multiple ext communities of the above format here ?

Best,
R.

On Thu, Jul 27, 2017 at 1:01 AM, Juan Alcaide (jalcaide) <jalcaide@cisco.com<mailto:jalcaide@cisco.com>> wrote:

Hi,

From a previous thread, I see from the that using EXTCOMM to carry group-id information the choice. Reason was that every AS could use their own the group-id (perhaps different than another AS). With this choice, ADD-PATHS must be mandatory in order to support multiple group-ids for the same flowspec rule  (we assume controller(s) may not want to send multiple ext-communities with same NLRI).

But the draft really does not describe how to use ADD-PATHS, and it does not discuss its problems:

- Usually, ADD-PATHS is used for path diversity, and implementations typically don't advertise 2 paths with the same next-hop (otherwise, we could have path explosion across multiple levels of RRs)

- If ADD-PATHS has to advertise the same NLRI with different ext-communities, one solution would be for ADD-PAHTS not advertise the same set of ext-communities. Unless, I guess, next-hops are different. Otherwise, we would have path explosion.

- Assuming the above, we should define a particular set of ADD-PATHS rules for flowspec AF. And, of course, leave the door open for future specific ADD-PATHs rules for other AFs (it would not be about path diversity anymore, but about propagating different information for forwarding purposes -imagine what we could have done with an IPv4 prefix: send the same net part as a NLRI and multiple ext-communities representing different prefix-lengths -).

- Since paths in a net are typically implemented as a list, there could be scalability problems if we ever want to support many group-ids.

My solution to simplify all these problems would be to add a discriminator on the NLRI (by defining a new dummy type for flowspec). We could still use ext-communities to actually match the NLRIs to interfaces. Similar to RD and RT usage.

Thoughts?

-J

_______________________________________________
Idr mailing list
Idr@ietf.org<mailto:Idr@ietf.org>
https://www.ietf.org/mailman/listinfo/idr