Re: Comments on draft-bonica-spring-srv6-plus

Tom Herbert <tom@herbertland.com> Wed, 03 July 2019 20:06 UTC

Return-Path: <tom@herbertland.com>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E83321204D5 for <ipv6@ietfa.amsl.com>; Wed, 3 Jul 2019 13:06:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=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=herbertland-com.20150623.gappssmtp.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 eWFr96tTf89H for <ipv6@ietfa.amsl.com>; Wed, 3 Jul 2019 13:06:23 -0700 (PDT)
Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 33DBD1205E9 for <ipv6@ietf.org>; Wed, 3 Jul 2019 13:06:23 -0700 (PDT)
Received: by mail-ed1-x52b.google.com with SMTP id a14so3242389edv.12 for <ipv6@ietf.org>; Wed, 03 Jul 2019 13:06:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=herbertland-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=aZoBGGkWMCbcd6uVFGID432E5yxmLlWnrdHNfV9TVKA=; b=LBCXF9wUec9YtVg0ETnGQqH9pil7H4E9zJtfBimWNlzZ3JpdGtivLYee8VeZBj35kH wXtjTmRK9JGWZidNLIZqNw+1Uxtz9fwz9005ABcqxL9F0PIyC2NhL6BEuUXGJgl/QCSo G9fia3XEQ6ZaVWan3n9O/paavK026qQI+xt1yCIfKEAjAxiTgm1eUBw2kZRyvFOq6qWq 8qdnoOp4f5nSdAUl4SBcE5taimjTPFuhfQJG68+n+5gJfdvByunnZSvx5xd1bebvk5Eh ZtZZDN/HJ9pXKKWzT7nZvzaPDCWkc4KbH2Ru02xklCIjQ/JtcT3kiyJwZMipS0Zp/FuU 9h7Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=aZoBGGkWMCbcd6uVFGID432E5yxmLlWnrdHNfV9TVKA=; b=ieG7fOg+UThzzbhtnlnpW6POSXF6K81yH25flmEquaFbKEO/m1+9UBlGVJHwNjVkV1 X3Dv9xAyoNz1ARTMcNykWqkTWGwPrcEZaAzyXRNbLiy5XV881fMyJ8ab8gFT0UpBq+02 loEwk3RGyT3YPYXOVnmZ3o0Qw4TwbEJzBfwyEn79DY5Am4pMRt6mHv+HOqhKKjd+cbey 0OyS1bqsNyHyXLfTucSXjpN4FMYPcmqjLuvHsMw8PkqYfgGtlNs0QLpp68PKJtPcGjnD kLZCzBbInRCIH78zQfPmCb+rCJ4XdlSbT5iPb6Wvgn8LNF6GUKBXKkEFHhWd3sJlwg64 Zq8g==
X-Gm-Message-State: APjAAAUoUd/C4RVDcA1eHNbQUNd991XTw9wDWiZrhgOfK71w+YgQSngi eLrbFTOPcIhB1ywvvCMlX+CvULVYgkI/pW4bvfQM0A==
X-Google-Smtp-Source: APXvYqz7LvrUH3l7ZjfPYzjjosRe6W/kZd6wulM0BAuY37zAzGqpzT4EkCFIDB2E1xWD16EImG9UBOPjJzcvKqG5yxk=
X-Received: by 2002:a50:b0e3:: with SMTP id j90mr44591023edd.26.1562184381667; Wed, 03 Jul 2019 13:06:21 -0700 (PDT)
MIME-Version: 1.0
References: <156203443756.5663.9945449277625935606.idtracker@ietfa.amsl.com> <BYAPR05MB42456FC99AE1C49B65A17FF6AEF80@BYAPR05MB4245.namprd05.prod.outlook.com> <CALx6S34Qe1Fqagrv+pv0HG=JO3BWe0vfKmvLNaPhhmYW-aUa+g@mail.gmail.com> <BYAPR05MB4245E320947B75009E90A02FAEFB0@BYAPR05MB4245.namprd05.prod.outlook.com>
In-Reply-To: <BYAPR05MB4245E320947B75009E90A02FAEFB0@BYAPR05MB4245.namprd05.prod.outlook.com>
From: Tom Herbert <tom@herbertland.com>
Date: Wed, 03 Jul 2019 13:06:10 -0700
Message-ID: <CALx6S36GWLTyuXiaBUWCA8ypxv68v7voq_wJUqY8zdr5XrqWaA@mail.gmail.com>
Subject: Re: Comments on draft-bonica-spring-srv6-plus
To: Ron Bonica <rbonica@juniper.net>
Cc: SPRING WG <spring@ietf.org>, 6man WG <ipv6@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/KaIzOLZSwM8gz9QZJ_Ku_6xuQXs>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipv6/>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 Jul 2019 20:06:26 -0000

On Wed, Jul 3, 2019 at 12:44 PM Ron Bonica <rbonica@juniper.net> wrote:
>
> Hi Tom,
>
> Thanks for the review.
>
> On Friday, I will update draft-bonica-6man-comp-rtg-hdr. It will contain a section on mutability. It will say:
>
> - the Segments Left field is mutable
> - every other field in the CRH is immutable
>
> I will also update draft-bonica-6man-vpn-dest-opt and draft-bonica-6man-seg-end-opt. Both of those request an IANA option type with the CHG bit equal to 0. So they are both immutable.
>
> SID encoding isn't entirely opportunistic. Since the last IETF, we realized that it would be burdensome for every vendor  to support all three SID lengths. So, we said that implementations MUST support 32-bit encoding and MAY support 16 bit encoding. (We dropped 8-bit encoding entirely).

This sounds dicey from an interoperability and flexibility point of
view. Supposed I've deployed a network where everyone is using 16 bits
SIDs. But, then for some reason I need to switch vendors for a small
part of the network and their implementation doesn't support 16 bits.
Do I need to up the MSV and make all SIDs to be 32 bits just on the
off chance that one of the new nodes might be in some SID list?

>
> A side effect of this decision is that a node should only send CRH's with 16-bit encoding every other node in the domain supports 16-bit encoding. So, network operators will need to configure the SID length on each node, with the default being 32.

Well, in light the above problem, I have to wonder if it's better to
only support 32 bits. The leap from 128 bits to 32 bits is much more
consequential than going from 32 to 16 bits. Other than that, it
simplifies the protocol, reduces support and test matrix, ensures
interoperability, etc.

Tom

>
>                                                                              Ron
>
>
>
> Juniper Business Use Only
>
> -----Original Message-----
> From: Tom Herbert <tom@herbertland.com>
> Sent: Wednesday, July 3, 2019 2:48 PM
> To: Ron Bonica <rbonica@juniper.net>
> Cc: SPRING WG <spring@ietf.org>; 6man WG <ipv6@ietf.org>
> Subject: Comments on draft-bonica-spring-srv6-plus
>
> Hi Ron,
>
> Thanks for the draft.
>
> I think the name SRV6+ might be a little misleading in that it could be misinterpreted as SRV6+ being a superset of SRV6. Specifically,
> SRV6+ doesn't allow 128 bit SIDs which seems inherent in SRV6 and so
> the primary function (and implementation) of SRV6 isn't compatible. It doesn't seem like it would be that much effort to allow a 128 bit SID size to be compatible.
>
> I don't understand the rationale for needing a MSV to be explictly configured throughout the domain. Couldn't the appropriate SID size be chosen by the sender at run time. For instance, if all the SIDs in a list are less than 65,536 then 16 bit SIDs can be used, else 32 bit SIDs are used (I assume 16 and 32 bit SIDs are in same number space).
> Since CRH has the bits stating the SID length there is no ambiguity at the receiver. SID compression is opportunistic and it's always good practice to avoid situations that require wide scale renumbering.
>
> Please add a section on mutability requirements of protocol fields so that there is no ambiguity.
>
> Tom