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

Mark Smith <markzzzsmith@gmail.com> Thu, 04 July 2019 01:07 UTC

Return-Path: <markzzzsmith@gmail.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 3835C12010F; Wed, 3 Jul 2019 18:07:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.497
X-Spam-Level:
X-Spam-Status: No, score=-0.497 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, FROM_LOCAL_NOVOWEL=0.5, HK_RANDOM_ENVFROM=0.001, HK_RANDOM_FROM=0.999, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 QMG6M8u-zSfk; Wed, 3 Jul 2019 18:07:42 -0700 (PDT)
Received: from mail-oi1-x22c.google.com (mail-oi1-x22c.google.com [IPv6:2607:f8b0:4864:20::22c]) (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 C8A751200D7; Wed, 3 Jul 2019 18:07:42 -0700 (PDT)
Received: by mail-oi1-x22c.google.com with SMTP id w196so3625360oie.7; Wed, 03 Jul 2019 18:07:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=XuCSZjDZkHZck6lTSRZgxr1RIvm3h7y00QznZts1SDg=; b=TCKCVnAbjAUM/yPN7ifg3XzJKeNORvzYvESUnBW44YH2pxIMCdeJo2XojLBhoe9xx0 pJwZSAKBrUpOgSWr/19t45Iyf6SAMpwfhRK/dajmaVIUx8GNDLT2y/UuVoR5VfAi1Zsx TMclgkqXTjOzqIOkVPa4w4mIG5WoZW+kkVBajNfZrpk+Yjj/GUG+AXw73moSERcc280P h4vd3ZjYGoYVgyFSar5vuEXmN3IBHSKHsIQd9y04WiqrV2oYgKsKkMiZeiw8gjvI8FCW to9MTRzlIm5pBbEZcO9kTV/F1ek0xRM+turIJQ9rjZonbpMANNkW3oYGdyoNTVTc/HHu hilw==
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; bh=XuCSZjDZkHZck6lTSRZgxr1RIvm3h7y00QznZts1SDg=; b=N60sJWHfsZpzaMiKDzMD4hCD1wDQPVW5QCwk/vEphC7FxQ9DzcYI/fd0mPD/lmfhvy G5IpdZR5XMz8TtnzPlpy1d32Nyh5/8pt6ncTVhZIK9EurJNalU++cj5f0t5NdlK5EQrD nFEpxEibEuQTNY148EriAvnOySMldBQfL2Cq8e7hLNGugUDvXNtrVKgLmi9KHQUzmKiK x7OT0BIctpNS6WXpnqUxEAUh9GmPpqI+d5V6f8gLCtkYY6TT5IA4y+HsGTWkQISEizBD 8a/XGrAMCjYp9NKBue3FfV5dxrvVhNau7Fb7NqhLwslplUnM0sZJjZM+TvHpnAG7TUGR 995A==
X-Gm-Message-State: APjAAAWMNj+4mekMUPHp7LPqHhnwKouSd7fdeBofONcPRoQ2wzRYtrpm Mtdo+P4FTsm3QpoRD9LsF5puu3Yda3KneT3rmvA=
X-Google-Smtp-Source: APXvYqwYbfKgbuZZ1YRjsf4kMWOSE1DmXZGx0uPFp8evdrX17IvirjckFDZJzKFi7eMnxwbEe7PEXyFfMr8vIpr7y08=
X-Received: by 2002:aca:c584:: with SMTP id v126mr330212oif.60.1562202462018; Wed, 03 Jul 2019 18:07:42 -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> <CALx6S36GWLTyuXiaBUWCA8ypxv68v7voq_wJUqY8zdr5XrqWaA@mail.gmail.com>
In-Reply-To: <CALx6S36GWLTyuXiaBUWCA8ypxv68v7voq_wJUqY8zdr5XrqWaA@mail.gmail.com>
From: Mark Smith <markzzzsmith@gmail.com>
Date: Thu, 04 Jul 2019 11:07:30 +1000
Message-ID: <CAO42Z2zHMowTsgjxf-5fz8_DJD3b2mVs6YQCdvP7oG8w1jvB0A@mail.gmail.com>
Subject: Re: Comments on draft-bonica-spring-srv6-plus
To: Tom Herbert <tom@herbertland.com>
Cc: Ron Bonica <rbonica@juniper.net>, SPRING WG <spring@ietf.org>, 6man WG <ipv6@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000d0e81b058cd09adf"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/z78lsHW0yll8XqiKQHdEyPOpCAg>
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: Thu, 04 Jul 2019 01:07:45 -0000

On Thu., 4 Jul. 2019, 06:06 Tom Herbert, <tom@herbertland.com> wrote:

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

One single size is much better.

I think most people will pick the larger size, regardless of their
functional SID space need, to avoid the possibility of getting it wrong and
then having to do a lot of after hours and possibly service impacting work
in the future to expand from the smaller to larger size.

Implementations would also be simpler, so less opportunities for
implementation bugs.

It also means no possibility of configuration errors because the size is a
constant rather than a settable parameter.

A lot of the principles in RFC 5505 - "Principles of Internet Host
Configuration" - seem to me to be equally applicable to network interior
protocols.

For example, I think the whole of "2.1. Minimize Configuration" fully
applies here.

Regards,
Mark.




> 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
>
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------
>