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

Bob Hinden <bob.hinden@gmail.com> Sat, 06 July 2019 21:41 UTC

Return-Path: <bob.hinden@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 10C591200EF; Sat, 6 Jul 2019 14:41:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 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_NONE=-0.0001, SPF_HELO_NONE=0.001, 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=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 KddnPhP7IBct; Sat, 6 Jul 2019 14:41:48 -0700 (PDT)
Received: from mail-pf1-x436.google.com (mail-pf1-x436.google.com [IPv6:2607:f8b0:4864:20::436]) (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 2AEAF120045; Sat, 6 Jul 2019 14:41:48 -0700 (PDT)
Received: by mail-pf1-x436.google.com with SMTP id c73so1082370pfb.13; Sat, 06 Jul 2019 14:41:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=xEYAYwJfhVw4nmCYRqS2PaUdDzFUTQ73Bs4Su2PSfug=; b=TDfgv2z5J/YswRsOzRpScY+J1lZjuG5YUTgicaoJa2AdFcPJ1u22ghjcWN1gM8/FQm w+hZJeMfIcI+4BvYnvEh+APdkIE7T3sQ9qvq4PoyXNLvuyuMfHCCCpSQeAPXK826q318 FB7cnO/Lmv/Eli09DiD8Vp38o1hAOUCP4jcjayGB6igy2C8HRLeLhWu3lZtKTqKZnTKo 5mhglq3wAUynfuWxE5ZwU8agEKrX9Cs1iQBV6N45M3gIbVHG83+eAo5yvkoUeMpNwkWh jqZ6FhHB+Zn8wrQikDXE7+t9LDY/CivLVAZNJMrogoqKZG9Xl6l4PBwBMpiffhhgx0PH Mt6g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=xEYAYwJfhVw4nmCYRqS2PaUdDzFUTQ73Bs4Su2PSfug=; b=hwLQE5vQaNRPLM2KsqMwut8tPWkqrbsjicSxUZoOG5EG2QA1nPqTsxaRviD8ptrYs9 yR+ir5yzKD7O3DMxnA5zfLwuGkIA6/R2tacXQZ4RFr2zp3XlMVXkcrF1HNmT4mXgzEzW Yup26Ztn5MASxx26AoxOeZV+XKz7EXW8EG1Kfmht6CAxf3z15ef/IrUFUhBq4S/N1qvM etjI5KhONKXwGorWB4w01gSCSCMVChErMmxeOdV+xCY1X9mAAKkKqDdpyTGhc0wX/86v OFaac3E14VJKPm/JMwMubx0D7mxKeKRJvYFCSKCkWcGnbDWLakQSSut1ZckWPqldc6pc eq8Q==
X-Gm-Message-State: APjAAAU0CLjILi2Mea7bk3bC/0n+nucQa5q2Oh3EjQaAB3mLhU8fKWFu ef0C7VQqhamgXgLA8yoLGUA=
X-Google-Smtp-Source: APXvYqwIbGH2gX19ePxYU+cAKywsV5UsshEK5q96A4JgOtMN3jhgtR4rgc+1bJgujPed7TU2rOsYiA==
X-Received: by 2002:a63:550e:: with SMTP id j14mr4526037pgb.302.1562449307455; Sat, 06 Jul 2019 14:41:47 -0700 (PDT)
Received: from ?IPv6:2601:647:5a00:ef0b:888c:e068:49f5:c461? ([2601:647:5a00:ef0b:888c:e068:49f5:c461]) by smtp.gmail.com with ESMTPSA id 85sm12592545pfv.130.2019.07.06.14.41.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 06 Jul 2019 14:41:46 -0700 (PDT)
From: Bob Hinden <bob.hinden@gmail.com>
Message-Id: <DA0E4FF7-7844-4195-B4F1-EE2747B263C7@gmail.com>
Content-Type: multipart/signed; boundary="Apple-Mail=_307EFCF8-F78B-44A8-B996-74A4FE5B5722"; protocol="application/pgp-signature"; micalg="pgp-sha512"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
Subject: Re: Comments on draft-bonica-spring-srv6-plus
Date: Sat, 06 Jul 2019 14:41:44 -0700
In-Reply-To: <BYAPR05MB42451A4B567C0418AB1D0EADAEF40@BYAPR05MB4245.namprd05.prod.outlook.com>
Cc: Bob Hinden <bob.hinden@gmail.com>, Mark Smith <markzzzsmith@gmail.com>, Tom Herbert <tom@herbertland.com>, SPRING WG <spring@ietf.org>, IPv6 List <ipv6@ietf.org>
To: Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org>
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> <CAO42Z2zHMowTsgjxf-5fz8_DJD3b2mVs6YQCdvP7oG8w1jvB0A@mail.gmail.com> <BYAPR05MB42451A4B567C0418AB1D0EADAEF40@BYAPR05MB4245.namprd05.prod.outlook.com>
X-Mailer: Apple Mail (2.3445.104.11)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/VwZvholmWNj5RZLNM_NlrnmzgSo>
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: Sat, 06 Jul 2019 21:41:51 -0000

Ron,

> On Jul 6, 2019, at 2:05 PM, Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org> wrote:
> 
> Hi Mark,
> 
> In my experience, operators object when SR overhead consumes more than 80 bytes. Also, I have encountered two classes of operator:

What is special about 80?   Why not 64, 128, 256?

Bob


> 
> 	• Those who avoid strictly-routed segments
> 	• Those who rely heavily on strictly-routed segments
> 
> Those who avoid strictly-routed segments rarely generate SID Lists that contain more than 8 entries. So, they are generally OK with 32-bit encoding. This is because with 32-bit encoding, the total SR overhead is exactly 80 bytes (i.e., 40 bytes for the IPv6 header and 40 bytes for the CRH).
> 
> By contrast, those who rely on strictly-routed segments regularly generate SID Lists that contain more than 8 entries. So, they are generally required 16-bit encoding.
> 
> IMHO, the operator understands its needs better than we do. We should support both. Let the operator decide at run time.
> 
>                                                                                                                  Ron
> 
> 
> From: Mark Smith <markzzzsmith@gmail.com>
> Sent: Wednesday, July 3, 2019 9:08 PM
> To: Tom Herbert <tom@herbertland.com>
> Cc: Ron Bonica <rbonica@juniper.net>; SPRING WG <spring@ietf.org>; 6man WG <ipv6@ietf.org>
> Subject: Re: Comments on draft-bonica-spring-srv6-plus
> 
> 
> 
> 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
> --------------------------------------------------------------------
> 
> Juniper Business Use Only
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------