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

"Jakob Heitz (jheitz)" <jheitz@cisco.com> Mon, 24 November 2014 21:25 UTC

Return-Path: <jheitz@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 4BA5F1A916F for <idr@ietfa.amsl.com>; Mon, 24 Nov 2014 13:25:16 -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 oZcPHHCYzQrj for <idr@ietfa.amsl.com>; Mon, 24 Nov 2014 13:25:15 -0800 (PST)
Received: from rcdn-iport-6.cisco.com (rcdn-iport-6.cisco.com [173.37.86.77]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 203DC1A8AF0 for <idr@ietf.org>; Mon, 24 Nov 2014 13:25:15 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=1007; q=dns/txt; s=iport; t=1416864315; x=1418073915; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=OGoRufbOpCAAnJEIidmsLh74HS238ZNqklXDy4e9Huc=; b=S3tfGHNev2XYfHoESY2XC+e2sVsn0QtqapATzp1+BWlERPhwQbg9yzmN 5qxcYgtV4T2OUaCQ9t+LQfmfnnpwYPVVREwdMbmLwVt71f9KKcNMvT18X pQ50+mOqW4Ej1puKCqJIgGGhJPLJ1iSOebxB9dn7VT9DXUxMOQbHZHOAF E=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AjQFAIuhc1StJV2R/2dsb2JhbABbgmsjgS4E0gcCgSIWAQEBAQF9hAIBAQEEOj8MBAIBCBUBAgoUCQcyFBECBAENBQiIOQHQXAEBAQEBAQEBAQEBAQEBAQEBAQEBAReQWjEHgy+BHwEEkmijM4N9eIFIgQMBAQE
X-IronPort-AV: E=Sophos;i="5.07,451,1413244800"; d="scan'208";a="374936587"
Received: from rcdn-core-9.cisco.com ([173.37.93.145]) by rcdn-iport-6.cisco.com with ESMTP; 24 Nov 2014 21:25:14 +0000
Received: from xhc-rcd-x07.cisco.com (xhc-rcd-x07.cisco.com [173.37.183.81]) by rcdn-core-9.cisco.com (8.14.5/8.14.5) with ESMTP id sAOLPDAj024360 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Mon, 24 Nov 2014 21:25:13 GMT
Received: from xmb-aln-x02.cisco.com ([fe80::8c1c:7b85:56de:ffd1]) by xhc-rcd-x07.cisco.com ([173.37.183.81]) with mapi id 14.03.0195.001; Mon, 24 Nov 2014 15:25:13 -0600
From: "Jakob Heitz (jheitz)" <jheitz@cisco.com>
To: 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//n5qA
Date: Mon, 24 Nov 2014 21:25:12 +0000
Message-ID: <075DE01702BBC249BE1357EFD20DCFE5141ADB69@xmb-aln-x02.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>
In-Reply-To: <54739E3B.2050307@juniper.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [128.107.166.49]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/idr/k7hZODmJN4f4WhxgR89ddcLQ6yo
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:25:16 -0000

> -----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