Re: [mpls] Alexey Melnikov's Discuss on draft-ietf-mpls-rfc3107bis-02: (with DISCUSS and COMMENT)

"Acee Lindem (acee)" <acee@cisco.com> Thu, 17 August 2017 13:19 UTC

Return-Path: <acee@cisco.com>
X-Original-To: mpls@ietfa.amsl.com
Delivered-To: mpls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 54E04132427; Thu, 17 Aug 2017 06:19:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.52
X-Spam-Level:
X-Spam-Status: No, score=-14.52 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, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com
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 GWiVXGyy8BC0; Thu, 17 Aug 2017 06:19:29 -0700 (PDT)
Received: from alln-iport-7.cisco.com (alln-iport-7.cisco.com [173.37.142.94]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 66214132410; Thu, 17 Aug 2017 06:19:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=7558; q=dns/txt; s=iport; t=1502975969; x=1504185569; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=2eYbU23bpkB/HYNSGNrO1shDhhO8+XVY1DMHXRR84iw=; b=UPWxr9e1Ik8lcXEh+1AQUnxYEBEh+wSbCFiHc68Dbxt/6gxUBUT7JqNn cntk9byKN7O/fpvFOKYxk5ctC9GLAeqPRbc+qwPWAWRf8bTv8h7sVd7GN HBRaUTxUEJvIMvPs94TLj4qHnHRPbdpr04ZLjbqPZ4SW+8xB5dbj3Z1S0 4=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0CpAABflpVZ/4cNJK1dGQEBAQEBAQEBAQEBBwEBAQEBgy0tZIEVB44LkBKBbpYbghIshRsCGoQ9PxgBAgEBAQEBAQFrKIUZAQUjEUUQAgEIDgoCAiYCAgIwFRACBAENBYowEKl/giaLYQEBAQEBAQEBAQEBAQEBAQEBAQEBARgFgQuCHYICgy+CG4EMhE0mFyOCWYJhBYl+lksClECCEJBMiWiMNAEfOIEKdxWGFYFOdgGHY4ExgQ8BAQE
X-IronPort-AV: E=Sophos;i="5.41,387,1498521600"; d="scan'208";a="473019638"
Received: from alln-core-2.cisco.com ([173.36.13.135]) by alln-iport-7.cisco.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 17 Aug 2017 13:19:28 +0000
Received: from XCH-RTP-013.cisco.com (xch-rtp-013.cisco.com [64.101.220.153]) by alln-core-2.cisco.com (8.14.5/8.14.5) with ESMTP id v7HDJROJ001045 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Thu, 17 Aug 2017 13:19:28 GMT
Received: from xch-rtp-015.cisco.com (64.101.220.155) by XCH-RTP-013.cisco.com (64.101.220.153) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Thu, 17 Aug 2017 09:19:27 -0400
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.1210.000; Thu, 17 Aug 2017 09:19:27 -0400
From: "Acee Lindem (acee)" <acee@cisco.com>
To: Alexey Melnikov <aamelnikov@fastmail.fm>, Eric C Rosen <erosen@juniper.net>, The IESG <iesg@ietf.org>
CC: "draft-ietf-mpls-rfc3107bis@ietf.org" <draft-ietf-mpls-rfc3107bis@ietf.org>, "mpls@ietf.org" <mpls@ietf.org>, "mpls-chairs@ietf.org" <mpls-chairs@ietf.org>
Thread-Topic: [mpls] Alexey Melnikov's Discuss on draft-ietf-mpls-rfc3107bis-02: (with DISCUSS and COMMENT)
Thread-Index: AQHTCtn3Wa1or3r0L0W8URb4imAU6KJwP5OAgBiP5QD//89ygIAAQ/+A//++QoA=
Date: Thu, 17 Aug 2017 13:19:27 +0000
Message-ID: <D5BB0F32.C199C%acee@cisco.com>
References: <150160092345.9575.15101330200808959616.idtracker@ietfa.amsl.com> <0dafc151-777c-ce0c-dd40-192e88bdc915@juniper.net> <1502971504.22339.1076341056.244618C2@webmail.messagingengine.com> <D5BB0C6D.C1982%acee@cisco.com> <1502975679.35801.1076407488.40111170@webmail.messagingengine.com>
In-Reply-To: <1502975679.35801.1076407488.40111170@webmail.messagingengine.com>
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.201]
Content-Type: text/plain; charset="utf-8"
Content-ID: <02E4EC7B19382F4D82C9920CE11A2429@emea.cisco.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/mpls/D0nBv3DoJZ-SSz-5gSHj9F8aryI>
Subject: Re: [mpls] Alexey Melnikov's Discuss on draft-ietf-mpls-rfc3107bis-02: (with DISCUSS and COMMENT)
X-BeenThere: mpls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Multi-Protocol Label Switching WG <mpls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mpls>, <mailto:mpls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mpls/>
List-Post: <mailto:mpls@ietf.org>
List-Help: <mailto:mpls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mpls>, <mailto:mpls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 17 Aug 2017 13:19:31 -0000

Hi Alexey, 

On 8/17/17, 9:14 AM, "Alexey Melnikov" <aamelnikov@fastmail.fm> wrote:

>Hi Acee,
>
>On Thu, Aug 17, 2017, at 02:11 PM, Acee Lindem (acee) wrote:
>> Hi Alexey,
>> 
>> See one comment below.
>> 
>> On 8/17/17, 8:05 AM, "mpls on behalf of Alexey Melnikov"
>> <mpls-bounces@ietf.org on behalf of aamelnikov@fastmail.fm> wrote:
>> 
>> >Hi Eric,
>> >Sorry for the slow response.
>> >
>> >On Tue, Aug 1, 2017, at 09:59 PM, Eric C Rosen wrote:
>> >> 
>> >> > DISCUSS:
>> >> > 
>>----------------------------------------------------------------------
>> >> >
>> >> > I would like to discuss one issue before recommending approval of
>> >>this document:
>> >> >
>> >> > In Section 2.1:
>> >> >
>> >> >     The value field of the Multiple Labels Capability (shown in
>> >>Figure 1)
>> >> >     consists of one or more triples, where each triple consists of
>> >>four
>> >> >     octets.  The first two octets of a triple specify an AFI value,
>> >>the
>> >> >     third octet specifies a SAFI value, and the fourth specifies a
>> >>Count.
>> >> >     If one of the triples is <AFI,SAFI,Count>, the Count is the
>> >>maximum
>> >> >     number of labels that the BGP speaker sending the Capability
>>can
>> >> >     process in a received UPDATE of the specified AFI/SAFI.
>> >> >
>> >> > I think lack of recommendations on the minimal supported Count
>>value
>> >>will
>> >> > result in lack of interoperability. What are the common Count
>>values
>> >>used by
>> >> > implementations?
>> >> 
>> >> An implementation is not required to support more than one label in
>>the
>> >> NLRI.  In that case, of course the Multiple Labels Capability is not
>> >> supposed to be used.  So if the Capability is used, the minimum value
>> >>is 
>> >> 2.   It looks like the document does not state that explicitly, but
>>it
>> >> certainly should.  I will fix that.
>> >> 
>> >> Thus the literal answer to your question is that the Multiple Labels
>> >> Capability MUST NOT contain a count less than 2.
>> >> 
>> >> Typically when SAFI-4 or SAFI-128 routes are used, only one label is
>> >> included.  If an operator has a scenario in which multiple labels are
>> >> needed, it is necessary for the operator to ensure that all his
>>vendors
>> >> can support however many labels he needs.  That's not really
>>something
>> >> that the standard can address.
>> >
>> >The standard can specify minimum requirement (and this has been done in
>> >the past). For example you can say that all implementations must
>>support
>> >4 (or whatever).
>> >
>> >> If the operator needs 3 labels in the
>> >> NLRI, it won't help much if some of his boxes can only support 2.
>> >
>> >Exactly my point. Without the minimum you still need to have
>>out-of-band
>> >selection of implementations that support your minimum requirements.
>> >
>> >> ---------------------------------------------------------------------
>> >> > COMMENT:
>> >> > 
>>----------------------------------------------------------------------
>> >> >
>> >> > In Section 2.3:
>> >> >
>> >> >        0                   1                   2
>>  3
>> >> >        0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9
>>0 1
>> >> >       +-+-+-+-+-+-+-+-+
>> >> >       |    Length     |
>> >> >       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>> >> >       |                 Label                 |Rsrv |S~
>> >> >       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>> >> >       ~                 Label                 |Rsrv |S|
>> >> >       
>> >>+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>> >> >       |                          Prefix
>> >>~
>> >> >       ~    
>> >>|
>> >> >       
>> >>+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>> >> >
>> >> >                      Figure 3: NLRI With Multiple Labels
>> >> >
>> >> >     - Length:
>> >> >
>> >> >        The Length field consists of a single octet.  It specifies
>>the
>> >> >        length in bits of the remainder of the NLRI field.
>> >> >
>> >> > I would like to double check that my math is correct. With SAFI=128
>> >>and AFI=2,
>> >> > assuming the prefix length of 192 bits, this will leave space for:
>> >> >
>> >> >   (255-192)/24 = 2.625. So this configuration only allows for 2
>> >>labels to be included, right?
>> >> >
>> >> Your arithmetic is accurate ;-)
>> >> 
>> >> If you are implying that this is not necessarily the best mechanism
>>for
>> >> associating an arbitrarily long label stack with a prefix, I wouldn't
>> >> disagree.
>> >
>> >Yes, I was just surprised that this has such a small limit. I wanted to
>> >make sure that this is by design.
>> 
>> Note that there are more complex BGP encodings in IDR WG documents that
>> support larger label stacks.
>> 
>> https://www.ietf.org/id/draft-ietf-idr-segment-routing-te-policy-00.txt
>> https://www.ietf.org/id/draft-ietf-idr-tunnel-encaps-07.txt
>> 
>> This much-needed document simply clears up the ambiguities of
>>advertising
>> multiple labels with the RFC 3107 NLRI encodings.
>
>So just to double check: you are saying that this is cleaning up a
>legacy specification and there are better/more modern specifications
>that can do the same thing?

It is more complicated than that. There are other considerations with
using tunnel attributes and still others with SR policies. RFC 3107 NIS is
needed. 

Thanks,
Acee 
>