Re: [Idr] [spring] Comments on draft-ietf-idr-bgp-prefix-sid-01

"Acee Lindem (acee)" <acee@cisco.com> Tue, 10 November 2015 20:00 UTC

Return-Path: <acee@cisco.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 510B21B3E6E; Tue, 10 Nov 2015 12:00:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.511
X-Spam-Level:
X-Spam-Status: No, score=-14.511 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham
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 uR_Fhiwfcgj6; Tue, 10 Nov 2015 12:00:22 -0800 (PST)
Received: from rcdn-iport-3.cisco.com (rcdn-iport-3.cisco.com [173.37.86.74]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 60C5A1B3E56; Tue, 10 Nov 2015 12:00:21 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=4086; q=dns/txt; s=iport; t=1447185621; x=1448395221; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=ZcPcolIP3pFzMrEep7w2ffXy8yXTqjZUu0wR8gqftRs=; b=d+pSGAQUs2+kUWRYy94WKR4L1uhvkQOstPWeHpoJcOjneAQ8L9kJ5mSU 3YgqKa9d75VGxofWvqIuPkA+KSFZSjfLc0DYDEy7dFd5O5pKM9c5N+wmn +tTsc5JCKfLEi/0F286cKiLMoOT7qTe7898ty+tk7SAlgPxsNhllV5VtR U=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0APAgCgS0JW/5pdJa1egztTbwa+RAENgWUXCoUlSgIcgS84FAEBAQEBAQGBCoQ1AQEDAQEBASAROgsQAgEIGgImAgICJQsVEAIEAQ0FiCYIDbJ/kF0BAQEBAQEBAQEBAQEBAQEBAQEBAQEUBIEBilGEWYMcgUQBBJZIAY0lnEQBHwEBQoIRHYFWcoQngQcBAQE
X-IronPort-AV: E=Sophos;i="5.20,271,1444694400"; d="scan'208";a="49137607"
Received: from rcdn-core-3.cisco.com ([173.37.93.154]) by rcdn-iport-3.cisco.com with ESMTP; 10 Nov 2015 20:00:20 +0000
Received: from XCH-RTP-006.cisco.com (xch-rtp-006.cisco.com [64.101.220.146]) by rcdn-core-3.cisco.com (8.14.5/8.14.5) with ESMTP id tAAK0K7i004885 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Tue, 10 Nov 2015 20:00:20 GMT
Received: from xch-rtp-015.cisco.com (64.101.220.155) by XCH-RTP-006.cisco.com (64.101.220.146) with Microsoft SMTP Server (TLS) id 15.0.1104.5; Tue, 10 Nov 2015 15:00:19 -0500
Received: from xch-rtp-015.cisco.com ([64.101.220.155]) by XCH-RTP-015.cisco.com ([64.101.220.155]) with mapi id 15.00.1104.000; Tue, 10 Nov 2015 15:00:19 -0500
From: "Acee Lindem (acee)" <acee@cisco.com>
To: Eric C Rosen <erosen@juniper.net>, "Stefano Previdi (sprevidi)" <sprevidi@cisco.com>
Thread-Topic: [spring] [Idr] Comments on draft-ietf-idr-bgp-prefix-sid-01
Thread-Index: AQHRGwJy6pvfTXZ/qE2W4H0FcAVzPZ6VrscA
Date: Tue, 10 Nov 2015 20:00:19 +0000
Message-ID: <D267B645.3D1FF%acee@cisco.com>
References: <56294416.8030807@juniper.net> <5104A350-EA8D-4824-A396-1DC46140BA5D@cisco.com> <5640BA18.7060807@juniper.net>
In-Reply-To: <5640BA18.7060807@juniper.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.116.152.203]
Content-Type: text/plain; charset="utf-8"
Content-ID: <B654BB6315F55A4580F432FAB359EB10@emea.cisco.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/idr/-Vy0i1nAaF6NZ5X_CaGfAMQBldM>
Cc: idr wg <idr@ietf.org>, SPRING WG <spring@ietf.org>
Subject: Re: [Idr] [spring] Comments on draft-ietf-idr-bgp-prefix-sid-01
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: <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, 10 Nov 2015 20:00:24 -0000

Hi Eric, 

On 11/9/15, 10:22 AM, "spring on behalf of Eric C Rosen"
<spring-bounces@ietf.org on behalf of erosen@juniper.net> wrote:

>Hi Stefano,
>
>>>    If a BGP route is received that contains a Prefix-SID attribute
>>>with an
>>>    Originator SRGB TLV, but the prefix field of the NLRI does not
>>>contain a
>>>    host address, the attribute SHOULD be regarded as malformed. If a
>>>    Prefix-SID attribute contains more than one SRGB TLV, it SHOULD be
>>>    regarded as malformed.  See section 7 for the treatment of a
>>>malformed
>>>    Prefix-SID attribute.
>>>
>>>    When a route carrying the Prefix-SID attribute is propagated, the
>>>    Originator SRGB TLV (if present) MUST NOT be changed.
>
>> why would you need such limitation ? A prefix may have a shorter mask
>> than 32 (or 128) and still be ok for the Originator SRGB to be there.
>
>The SRGB is a property of a node, not a property of a prefix.  To make
>use of the "Originator SRGB", you have to know the node whose property
>it is.  And you have to be able to tunnel packets to that node.  In the
>text I wrote above, the prefix field in the NLRI identifies the node to
>which the "Originator SRGB" belongs, and the prefix-SID field
>essentially gives you a node-SID that you can use to tunnel to the node
>in question.

I agree the predominant use case will be advertisement of a loopback.
However, independent of whether or not the Originator-SRGB TLV is
included, I see no reason why a BGP Speaker could not associate a
label-index with a locally attached subnet.

Thanks,
Acee 




>
>> The Originator-SRGB may only be inserted by the originator of the
>> prefix, maybe we should emphasize that, but the masklength is mostly
>> irrelevant here.
>
>I don't see that the Originator-SRGB TLV is useful without an explicit
>identification of the node whose SRGB it describes.  Certainly if you
>are trying to set up an explicitly routed path (perhaps as a loose
>source route) what you need are the node-SIDs are of the hops you want
>to specify, and the SRGB of each hop.
>
>When you talk about "the originator of the prefix", I think what you
>really mean is "the last node of the BGP prefix segment".  But I don't
>think that that term necessarily denotes a unique node, as there might
>be multiple ECMP paths to the prefix, and the prefix-SID does not
>distinguish among them.  E.g., the prefix itself might be multi-homed,
>or there might be multiple exit points from the SR domain, all of which
>are equidistant from the prefix.  In cases like that, you have no way of
>knowing whether a label computed from the Originator-SRGB is actually
>going to be correctly interpreted, because you don't really know the
>path a packet will take when it is labeled with the prefix-SID.
>
>Eric
>
>
>
>
>_______________________________________________
>spring mailing list
>spring@ietf.org
>https://www.ietf.org/mailman/listinfo/spring