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

Alexey Melnikov <aamelnikov@fastmail.fm> Thu, 17 August 2017 13:14 UTC

Return-Path: <aamelnikov@fastmail.fm>
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 0E671132410; Thu, 17 Aug 2017 06:14:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.719
X-Spam-Level:
X-Spam-Status: No, score=-2.719 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=fastmail.fm header.b=MM2IvfNo; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=m6sh27rE
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 lq4vjzInPSyd; Thu, 17 Aug 2017 06:14:40 -0700 (PDT)
Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E015F132402; Thu, 17 Aug 2017 06:14:39 -0700 (PDT)
Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 52EE520C35; Thu, 17 Aug 2017 09:14:39 -0400 (EDT)
Received: from web5 ([10.202.2.215]) by compute7.internal (MEProxy); Thu, 17 Aug 2017 09:14:39 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=lkkFvKPPCCvkVoso0oyWbn5yuwC38 5Zvyg6k/gN8aA8=; b=MM2IvfNo2+K3phLXkKRf+lVcgUKOUXE7yZrIb3VKspNp8 G9DftwaBKak7J6oO9CHkyU63nhLoNpgKMDjuUIqZ8+q4AQZl50tEjy3VweQESw3Z HxUVbzhUb7OfunekQXjBrJYd5RJfSCnAfi2oR11V3Gr1bDOZrxZyHWHHHWGOfVqe LezoW46hX4vcUcGAe3HWgN7jxJ0j2yRc9LbpjoQ6zRIqc+iOMr162R2LtTobaHXE 8Vr/Ai6SRSQCeMzSgzmkv04UUdvD/WVXrftGj/N9wGu4v+D56RtmUXvZNZ4n8h8V mKEfsKtUJbjorykoAplb4amQhhPEx8UWt//TGEb/A==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=lkkFvK PPCCvkVoso0oyWbn5yuwC385Zvyg6k/gN8aA8=; b=m6sh27rEEmYRMlzxwmbur1 aKcu+ncYj4AvkA5+WHdVtJpeapOap3N9VVogYEnyo1JopOJ3JIGphKwKqvsRfG1i 8Y2xO3kX39B8rs7CwjamzYJBRdj40284nZ4bdJ9qw+DycwhGr6+EJnNLmFwS3QMj bpfA+m2jVTa5CgGEkkXChX4eMDEiEz8/A98ZP8RmVOAHhWXneDpxpHACkih1GN2n 5xWmP4qr1ngQZ/KSZH3I1oAGiXmr4McUtMQzhWZyzXw98XQuhdnpgKiVMoRWaJY4 qJhEgcPstsuMyXsOnkHNljP0Dlbiwzd8oogXp3/CeA8jD6BtkHMDaQM9XVJ0Xxuw ==
X-ME-Sender: <xms:v5aVWfg6kCTCaHm3z7sna6e6k2V56lXs6boE4Hb-urCJFCOHoZFRow>
Received: by mailuser.nyi.internal (Postfix, from userid 99) id 32A119E30E; Thu, 17 Aug 2017 09:14:39 -0400 (EDT)
Message-Id: <1502975679.35801.1076407488.40111170@webmail.messagingengine.com>
From: Alexey Melnikov <aamelnikov@fastmail.fm>
To: "Acee Lindem (acee)" <acee@cisco.com>, Eric C Rosen <erosen@juniper.net>, The IESG <iesg@ietf.org>
Cc: draft-ietf-mpls-rfc3107bis@ietf.org, mpls@ietf.org, mpls-chairs@ietf.org
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="utf-8"
X-Mailer: MessagingEngine.com Webmail Interface - ajax-21c69044
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>
In-Reply-To: <D5BB0C6D.C1982%acee@cisco.com>
Date: Thu, 17 Aug 2017 14:14:39 +0100
Archived-At: <https://mailarchive.ietf.org/arch/msg/mpls/DMuqiXsy86H3Jf9VyWvaknEgwG4>
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:14:49 -0000

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?