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

"Saikat Ray (sairay)" <sairay@cisco.com> Tue, 25 November 2014 00:21 UTC

Return-Path: <sairay@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 754231A6F5A for <idr@ietfa.amsl.com>; Mon, 24 Nov 2014 16:21:27 -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 qQ9RrwqMavdE for <idr@ietfa.amsl.com>; Mon, 24 Nov 2014 16:21:25 -0800 (PST)
Received: from alln-iport-3.cisco.com (alln-iport-3.cisco.com [173.37.142.90]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E5BEA1A6F49 for <idr@ietf.org>; Mon, 24 Nov 2014 16:21:24 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=1462; q=dns/txt; s=iport; t=1416874884; x=1418084484; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=8Esb/LW0N7QycvmUozbx6irMIqGEM0rzu4KiXiyXx4A=; b=Qapu7nXFRT0BoCIySj0UuGloLPqdPfnO0t80FdB58a2SQzxYAL1HwJtv /PVwzJypiml3fFj5h6qyXzpNFBKKz2zxGAKrDCn+abXNoTk/m77CrvrSP AsiEIfcYClPp5kQ0hXwR9K3yiq5kbhNIBblMXkFion7leq8rDu1IGVJQf M=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AjcFAIvKc1StJA2N/2dsb2JhbABbgw5VWQTLEgqGagKBDxYBAQEBAX2EAgEBAQQBAQE3NAsMBAIBCBUBAh4JBycLFBECBAENBYhBDdBVAQEBAQEBAQEBAQEBAQEBAQEBAQEBEwSRCweETgEEkmiMGZcag314gUiBAwEBAQ
X-IronPort-AV: E=Sophos;i="5.07,451,1413244800"; d="scan'208";a="99736887"
Received: from alln-core-8.cisco.com ([173.36.13.141]) by alln-iport-3.cisco.com with ESMTP; 25 Nov 2014 00:21:24 +0000
Received: from xhc-aln-x07.cisco.com (xhc-aln-x07.cisco.com [173.36.12.81]) by alln-core-8.cisco.com (8.14.5/8.14.5) with ESMTP id sAP0LOtL008792 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Tue, 25 Nov 2014 00:21:24 GMT
Received: from xmb-rcd-x13.cisco.com ([169.254.3.193]) by xhc-aln-x07.cisco.com ([173.36.12.81]) with mapi id 14.03.0195.001; Mon, 24 Nov 2014 18:21:23 -0600
From: "Saikat Ray (sairay)" <sairay@cisco.com>
To: "Jakob Heitz (jheitz)" <jheitz@cisco.com>, Eric C Rosen <erosen@juniper.net>, "idr@ietf.org" <idr@ietf.org>
Thread-Topic: [Idr] draft-keyupate-idr-bgp-prefix-sid-00
Thread-Index: AQHP/9vmRq0AzkPp0EOBA2uEewseHJxgmtqAgAy7LFCAA2RZgP//n5qAgAAQQwA=
Date: Tue, 25 Nov 2014 00:21:23 +0000
Message-ID: <D0990ABA.24B75%sairay@cisco.com>
References: <CA+b+ER=Ja5B7qMU7MDVDZPjbyxmMP+CuS9Gh4T5L=7OdfniO8g@mail.gmail.com> <546617D1.2070606@juniper.net> <075DE01702BBC249BE1357EFD20DCFE5141A9FBB@xmb-aln-x02.cisco.com> <54739E3B.2050307@juniper.net> <075DE01702BBC249BE1357EFD20DCFE5141ADB69@xmb-aln-x02.cisco.com>
In-Reply-To: <075DE01702BBC249BE1357EFD20DCFE5141ADB69@xmb-aln-x02.cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.4.6.141106
x-originating-ip: [128.107.166.53]
Content-Type: text/plain; charset="us-ascii"
Content-ID: <8E80F0AF4B81BC4793884295B82732E2@emea.cisco.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/idr/xrF6qr24HQaHd3SdToe6oFWVkwk
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: Tue, 25 Nov 2014 00:21:27 -0000

Also the neighbor might not support SR. I.e., if there is a topology
A--B--C, where A and C support SR, but B doesn't. The attribute is needed
for C to know what label-index A is using (for A's loopback interface).

On 11/24/14, 1:25 PM, "Jakob Heitz (jheitz)" <jheitz@cisco.com> wrote:

>> -----Original Message-----
>> From: Eric C Rosen [mailto:erosen@juniper.net]
>> Sent: Monday, November 24, 2014 1:08 PM
>> 
>> 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?
>
>Because a neighbor may advertise 3 (implicit null)
>
>--Jakob
>
>
>_______________________________________________
>Idr mailing list
>Idr@ietf.org
>https://www.ietf.org/mailman/listinfo/idr