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

"Jakob Heitz (jheitz)" <jheitz@cisco.com> Sat, 22 November 2014 23:52 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 BB89D1A0396 for <idr@ietfa.amsl.com>; Sat, 22 Nov 2014 15:52:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -15.095
X-Spam-Level:
X-Spam-Status: No, score=-15.095 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, RP_MATCHES_RCVD=-0.594, SPF_PASS=-0.001, 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 suBrEQQNTw93 for <idr@ietfa.amsl.com>; Sat, 22 Nov 2014 15:52:47 -0800 (PST)
Received: from alln-iport-5.cisco.com (alln-iport-5.cisco.com [173.37.142.92]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1F6471A0394 for <idr@ietf.org>; Sat, 22 Nov 2014 15:52:47 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=1886; q=dns/txt; s=iport; t=1416700367; x=1417909967; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=cMl416xLoVJzmP7RVB35QkghoF/KoySuPleom6Feu4o=; b=DwUrGt69gahj5VxexMm88dQeJNzlGoeDYfqM93q8iJUFBEp0sh9jNBzj wnVVI7JWBOIXH4mDETNm1cIPXuFJGlibZS9kTQg+u21smJlmwBtyzWTzx jroHpeheIVJv4wljmwbj1rWoSy7lnlLIKaGg8MwuNz7lKjH2eZDTxlOQu c=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AhgFAPMgcVStJV2R/2dsb2JhbABcgmsjgS4E0wcCgQAWAQEBAQF9hAIBAQEEOj8MBAIBCBUBDBQJBzIUEQIEAQ0FCIg5Ac1LAQEBAQEBAQEBAQEBAQEBAQEBAQEBF5BaMQeDL4EfAQSSaI1NjiCHRoN9eIFIgQMBAQE
X-IronPort-AV: E=Sophos;i="5.07,439,1413244800"; d="scan'208";a="99246433"
Received: from rcdn-core-9.cisco.com ([173.37.93.145]) by alln-iport-5.cisco.com with ESMTP; 22 Nov 2014 23:52:46 +0000
Received: from xhc-aln-x04.cisco.com (xhc-aln-x04.cisco.com [173.36.12.78]) by rcdn-core-9.cisco.com (8.14.5/8.14.5) with ESMTP id sAMNqkRL029168 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Sat, 22 Nov 2014 23:52:46 GMT
Received: from xmb-aln-x02.cisco.com ([fe80::8c1c:7b85:56de:ffd1]) by xhc-aln-x04.cisco.com ([173.36.12.78]) with mapi id 14.03.0195.001; Sat, 22 Nov 2014 17:52:46 -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/9vmRq0AzkPp0EOBA2uEewseHJxgmtqAgAy7LFA=
Date: Sat, 22 Nov 2014 23:52:44 +0000
Message-ID: <075DE01702BBC249BE1357EFD20DCFE5141A9FBB@xmb-aln-x02.cisco.com>
References: <CA+b+ER=Ja5B7qMU7MDVDZPjbyxmMP+CuS9Gh4T5L=7OdfniO8g@mail.gmail.com> <546617D1.2070606@juniper.net>
In-Reply-To: <546617D1.2070606@juniper.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.21.84.20]
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/1nKOFDxTIy7cmb2t0gM07JF6TbE
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: Sat, 22 Nov 2014 23:52:49 -0000

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.

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?

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