Re: [Idr] draft-keyupate-idr-bgp-prefix-sid-00

Eric C Rosen <erosen@juniper.net> Mon, 24 November 2014 21:08 UTC

Return-Path: <erosen@juniper.net>
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 0E2BA1A9125 for <idr@ietfa.amsl.com>; Mon, 24 Nov 2014 13:08:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level:
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] 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 z4dnC64TVg_Z for <idr@ietfa.amsl.com>; Mon, 24 Nov 2014 13:08:19 -0800 (PST)
Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2on0116.outbound.protection.outlook.com [207.46.100.116]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id ABB921A9127 for <idr@ietf.org>; Mon, 24 Nov 2014 13:08:19 -0800 (PST)
Received: from [172.29.32.61] (66.129.241.14) by BY1PR0501MB1093.namprd05.prod.outlook.com (25.160.103.139) with Microsoft SMTP Server (TLS) id 15.1.26.15; Mon, 24 Nov 2014 21:08:17 +0000
Message-ID: <54739E3B.2050307@juniper.net>
Date: Mon, 24 Nov 2014 16:08:11 -0500
From: Eric C Rosen <erosen@juniper.net>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
MIME-Version: 1.0
To: "Jakob Heitz (jheitz)" <jheitz@cisco.com>, "idr@ietf.org" <idr@ietf.org>
References: <CA+b+ER=Ja5B7qMU7MDVDZPjbyxmMP+CuS9Gh4T5L=7OdfniO8g@mail.gmail.com> <546617D1.2070606@juniper.net> <075DE01702BBC249BE1357EFD20DCFE5141A9FBB@xmb-aln-x02.cisco.com>
In-Reply-To: <075DE01702BBC249BE1357EFD20DCFE5141A9FBB@xmb-aln-x02.cisco.com>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Originating-IP: [66.129.241.14]
X-ClientProxiedBy: BN3PR09CA0007.namprd09.prod.outlook.com (25.160.111.145) To BY1PR0501MB1093.namprd05.prod.outlook.com (25.160.103.139)
X-Microsoft-Antispam: UriScan:;
X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:BY1PR0501MB1093;
X-Exchange-Antispam-Report-Test: UriScan:;
X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:; SRVR:BY1PR0501MB1093;
X-Forefront-PRVS: 040513D301
X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6049001)(6009001)(479174003)(189002)(13464003)(51704005)(24454002)(199003)(377454003)(59896002)(97736003)(95666004)(105586002)(107046002)(83506001)(65816999)(54356999)(87266999)(76176999)(50986999)(4396001)(92566001)(92726001)(2501002)(46102003)(77096003)(62966003)(36756003)(77156002)(40100003)(86362001)(230783001)(106356001)(21056001)(65956001)(65806001)(19580395003)(20776003)(101416001)(47776003)(19580405001)(64706001)(102836001)(33656002)(80316001)(31966008)(66066001)(87976001)(122386002)(99136001)(64126003)(99396003)(50466002)(42186005)(23746002)(120916001); DIR:OUT; SFP:1102; SCL:1; SRVR:BY1PR0501MB1093; H:[172.29.32.61]; FPR:; SPF:None; MLV:sfv; PTR:InfoNoRecords; MX:1; A:1; LANG:en;
X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:; SRVR:BY1PR0501MB1093;
X-OriginatorOrg: juniper.net
Archived-At: http://mailarchive.ietf.org/arch/msg/idr/UVwlFFjBKqUVDhOIdw3Xw0TcI_8
Cc: "Keyur Patel (keyupate)" <keyupate@cisco.com>, Robert Raszuk <robert@raszuk.net>
Subject: Re: [Idr] draft-keyupate-idr-bgp-prefix-sid-00
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: Mon, 24 Nov 2014 21:08:24 -0000

See question in-line.

On 11/22/2014 6:52 PM, Jakob Heitz (jheitz) wrote:
> If only one segment is required to forward a packet, then
> we use regular 3107 and only L1 is needed. L2 is redundant.
>
> However...
>
> when we use multiple segments, for which the whole concept of
> segment routing is useful, the ingress router must know the labels
> used by subsequent segment routers in the segment list. Those
> labels are NOT advertised by RFC3107. The label index is used to
> derive them.

If the ingress router knows the label advertised by the next hop (L1), 
and if it knows the SRGB of the next hop, then why can't it just  figure 
out the "label index" by doing a subtraction?  Why the need for a 
separate attribute that specifies the label index?

>
> L1 can be used to get to the nexthop at the end of the first
> segment, but to derive the subsequent labels in the segment list,
> the ingress router needs the label index and the SRGB of all the
> routers in the list. [Thanks to Albert Tian for pointing this
> out to me. Albert, correct me if I misinterpreted]
>
> As far as SRGB is concerned, why would a data center operator
> not configure all routers with the same SRGB?

Because the available SRGB values are platform-dependent?

>
> --Jakob
>
>
>> -----Original Message-----
>> From: Idr [mailto:idr-bounces@ietf.org] On Behalf Of Eric C Rosen
>> Sent: Friday, November 14, 2014 6:55 AM
>>
>> As Robert suggests, the draft is not very explicit about the
>> significance of the label that is encoded into the NLRI.  Suppose
>> one receives an update where the NLRI prefix is X, the label encoded
>> into the NLRI is L1, the next hop is N, and the label computed from
>> the combination of Label Index attribute and N's SRGB label base is
>> L2.  If one is sending a packet to X via N, the draft seems to leave
>> one with the option of using either L1 or L2 as the label.  This
>> means that N has to have both labels programmed for prefix X.
>>
>> Is this really the intention of the authors?  If so, then unless L1
>> is required to be the same as L2, this doubles the number of labels
>> that are needed.  On the other hand, one could require that L1 be
>> the same as L2.  But in this case, there doesn't seem to be any
>> point in having the Label Index attribute at all.
>