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:11 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 4B8881323AC; Thu, 17 Aug 2017 06:11:26 -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 4kmFfnqirTYa; Thu, 17 Aug 2017 06:11:24 -0700 (PDT)
Received: from rcdn-iport-2.cisco.com (rcdn-iport-2.cisco.com [173.37.86.73]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 020F71321A5; Thu, 17 Aug 2017 06:11:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=6566; q=dns/txt; s=iport; t=1502975484; x=1504185084; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=6AjYtE/VHCGkDAwmTuh8cxcMuaEGV0AI5JE2f3J3Cw8=; b=IxdN/zT+nMHti59frJiDbUJOBomu3PreNgwnOJOtCxg1er9GSDOZ49tK jxqnbgdRAzHI2AXNQVjmCmFEuP4/42dqpIGSlnVeSEw12+FRPZxXrMzqw NEZ5Hnjez8HBYsV681cHm/tTIpdwOuSawrn2aYdOv+jVRbUlORa/3fuiM U=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0CpAADKlJVZ/5pdJa1dGQEBAQEBAQEBAQEBBwEBAQEBgy0tZIEVB44LkBKBbpYbghIhC4UbAhqEPT8YAQIBAQEBAQEBayiFGQEBAQMBASEROgsQAgEIDgoCAiYCAgIlCxUQAgQBDQWKMBCqA4Imi2EBAQEBAQEBAQEBAQEBAQEBAQEBAQEYBYELgh2CAoMvgyeETT0jglmCYQWJfo4diC4ClECCEJBMiWiMNAEfOIEKdxVJhUyBTnYBh2OBMYEPAQEB
X-IronPort-AV: E=Sophos;i="5.41,387,1498521600"; d="scan'208";a="286916896"
Received: from rcdn-core-3.cisco.com ([173.37.93.154]) by rcdn-iport-2.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Aug 2017 13:11:22 +0000
Received: from XCH-RTP-011.cisco.com (xch-rtp-011.cisco.com [64.101.220.151]) by rcdn-core-3.cisco.com (8.14.5/8.14.5) with ESMTP id v7HDBMRR031862 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Thu, 17 Aug 2017 13:11:22 GMT
Received: from xch-rtp-015.cisco.com (64.101.220.155) by XCH-RTP-011.cisco.com (64.101.220.151) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Thu, 17 Aug 2017 09:11:22 -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:11:22 -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//89ygA==
Date: Thu, 17 Aug 2017 13:11:21 +0000
Message-ID: <D5BB0C6D.C1982%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>
In-Reply-To: <1502971504.22339.1076341056.244618C2@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: <280CFDB3D9E8CA44B6BD5BAE0E02BDC7@emea.cisco.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/mpls/45aN0B-y_6Djdo0g3EDvuu2DTEo>
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:11:26 -0000

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.

Thanks,
Acee

>
>Best Regards,
>Alexey
>
>_______________________________________________
>mpls mailing list
>mpls@ietf.org
>https://www.ietf.org/mailman/listinfo/mpls