Re: [spring] SRv6 Network Programming: ENH = 59

Mark Smith <markzzzsmith@gmail.com> Tue, 07 May 2019 14:05 UTC

Return-Path: <markzzzsmith@gmail.com>
X-Original-To: spring@ietfa.amsl.com
Delivered-To: spring@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 914C912013C; Tue, 7 May 2019 07:05:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.497
X-Spam-Level:
X-Spam-Status: No, score=-1.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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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 QDLQ-EYQR8Av; Tue, 7 May 2019 07:05:09 -0700 (PDT)
Received: from mail-ot1-x32b.google.com (mail-ot1-x32b.google.com [IPv6:2607:f8b0:4864:20::32b]) (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 7AF8B12006B; Tue, 7 May 2019 07:05:09 -0700 (PDT)
Received: by mail-ot1-x32b.google.com with SMTP id b1so15030443otp.5; Tue, 07 May 2019 07:05:09 -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=ymWhK90H7gxxbJQl/5wnb1cI/WhEIgzH0Bq1uNQjTVs=; b=aKlkMXZ+ViROYn8W2N9feQakR20B0DWBvI1IswWvgiAux4JCXVqb+gaeXKVMocwtoI Vm9RYJkQLe68q7Cxu82o6LMkFfgGxTY+A1ZkF+q12pWkhYM3YWpeCdGNA5QYT7NM+uUr 0vwEX/NUegb41Ro0R9xjN5MfHJMJ6uD/r8XZg5b+CFAKzEpuwln86Xheu44eqxX0Ntv4 GEtHkfkpjwOGn1jrSCq5oI9YiksNQGcf2TbfDkfOagboRj7MrhkQh07QwUUOuT1/Skln 4G/jsXMcwmAnydxI2MDL+ePtalpLVi5yyZT4jQoqmKLuDPnBHiwK38sJhB8h76WitMX9 UcGA==
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=ymWhK90H7gxxbJQl/5wnb1cI/WhEIgzH0Bq1uNQjTVs=; b=OWh/J5du3fXoKZfYkyx9zA7den9aHWr6nUBMofV5ywPZ6Y/XOAFz8gvyHGqpwiNYed 70X8tFhCcl7M/4YxcT6nELhqwR8iS5pGH579chpXKb5kI1t150l5bVutGQnwuxTmc9ps 0VWzBa026DyUDKa7ZTj9MPmmhL56xTY8JGVn1qcj9f64Ouf7NBW0eEYUSxg9cpokbOSL BgaxGriV3tewaLeoc82+aVzRendl6cNk+zjOVLYURHpzb0A6KXcxcurrfhqaO+euukgK fncAgW17yAZZoFVWWANy0dDpCdBR+9H35WnWwkdos0/TvrGlC3wGdnV/Dl4YLwqFVfAi yXqw==
X-Gm-Message-State: APjAAAUPnK/xdv177nUt8oNkCdee7CaomadRUWT7b8G71e7NcGKn/AEq +xvJ2Q65PKbJ3lQU65DryWuue4BQpQUJDTCSD28=
X-Google-Smtp-Source: APXvYqyS3x/RBbWkScKX9kS34357M2QA96DadJK+J5tNHga87KC9I3H25FRWgEe7xocSJGK+FTqJqFIJ3/4lXh0pGk4=
X-Received: by 2002:a9d:6c5a:: with SMTP id g26mr12153204otq.187.1557237907552; Tue, 07 May 2019 07:05:07 -0700 (PDT)
MIME-Version: 1.0
References: <BYAPR05MB4245988C3A47C3665BD91172AE300@BYAPR05MB4245.namprd05.prod.outlook.com> <AA81898A-9E6C-4AD5-9629-4BA283378A79@cisco.com> <6e954124-675f-f97d-dc7b-f64b4141c8b8@joelhalpern.com>
In-Reply-To: <6e954124-675f-f97d-dc7b-f64b4141c8b8@joelhalpern.com>
From: Mark Smith <markzzzsmith@gmail.com>
Date: Wed, 08 May 2019 00:04:55 +1000
Message-ID: <CAO42Z2ymJ-hUSL+M0Qrb=4S9BUHms0LOG-awqEMxnC+ANynA8A@mail.gmail.com>
To: "Joel M. Halpern" <jmh@joelhalpern.com>
Cc: "Pablo Camarillo (pcamaril)" <pcamaril@cisco.com>, SPRING WG <spring@ietf.org>, 6man WG <ipv6@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000004f7ec805884cb4e5"
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/GwiyJSKJ8O0rgcSehiFJ_reX5Ls>
Subject: Re: [spring] SRv6 Network Programming: ENH = 59
X-BeenThere: spring@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Source Packet Routing in NetworkinG \(SPRING\)" <spring.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/spring>, <mailto:spring-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/spring/>
List-Post: <mailto:spring@ietf.org>
List-Help: <mailto:spring-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/spring>, <mailto:spring-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 07 May 2019 14:05:14 -0000

On Tue., 7 May 2019, 23:39 Joel M. Halpern, <jmh@joelhalpern.com> wrote:

> That is not what Next-Header means.
> Even with this explanation, it is clear that 59 is NOT the right value
> for the next header.
>

If the SID value isn't a reserved for this purpose, permanent and globally
unique value, how would a troubleshooting tool like Wireshark know to
decode the Ethernet packet after the no next header?

Any capex cost savings from not encoding this information in the packet
will be eliminated by the opex costs of increased time to resolve faults
and the corresponding negative reputation with customers consequences.

The more obvious it is how something works, the quicker and easier it is to
fix when it breaks. This is the really the principle of least astonishment.

https://en.m.wikipedia.org/wiki/Principle_of_least_astonishment?wprov=sfla1

Regards,
Mark.



> Yours,
> Joel
>
> On 5/7/19 3:08 AM, Pablo Camarillo (pcamaril) wrote:
> > Hi Ron,
> >
> > We use the next header value 59 to identify at the receiver that there
> is no other kind of Internet Protocol beneath to be processed.
> > Note that we are *not* using 59 to identify the fact that it is an
> ethernet header (i.e. other non Internet-Protocols would also use the 59 to
> identify that no further IP header processing has to be performed). The SID
> identifies that an Ethernet header follows the IPv6 extension headers.
> >
> > Thanks,
> > Pablo.
> >
> > -----Original Message-----
> > From: ipv6 <ipv6-bounces@ietf.org> on behalf of Ron Bonica <rbonica=
> 40juniper.net@dmarc.ietf.org>
> > Date: Monday, 6 May 2019 at 02:48
> > To: SPRING WG <spring@ietf.org>, 6man WG <ipv6@ietf.org>
> > Subject: SRv6 Network Programming: ENH = 59
> >
> >      Folks,
> >
> >      According to Section 4.4 of
> draft-ietf-spring-srv6-network-programming-00, when processing the End.DX2
> SID, the Next Header must be equal to 59. Otherwise, the packet will be
> dropped.
> >
> >      In the words of the draft, "We conveniently reuse the next-header
> value 59 allocated to IPv6 No Next Header [RFC8200].  When the SID
> corresponds to function End.DX2 and the Next-Header value is 59, we know
> that an Ethernet frame is in the payload without any further header."
> >
> >      According to Section 4.7 RFC 8200, " The value 59 in the Next
> Header field of an IPv6 header or any  extension header indicates that
> there is nothing following that header.  If the Payload Length field of the
> IPv6 header indicates the presence of octets past the end of a header whose
> Next Header field contains 59, those octets must be ignored and passed on
> unchanged if the packet is forwarded."
> >
> >      Does the WG think that it is a good idea to reuse the Next Header
> value 59? Or would it be better to allocate a new Next Header value that
> represents Ethernet?
> >
> >                                                                Ron
> >
> >
> >      Juniper Internal
> >
> >      --------------------------------------------------------------------
> >      IETF IPv6 working group mailing list
> >      ipv6@ietf.org
> >      Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> >      --------------------------------------------------------------------
> >
> >
> >
> > _______________________________________________
> > spring mailing list
> > spring@ietf.org
> > https://www.ietf.org/mailman/listinfo/spring
> >
>
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------
>