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

Mark Smith <markzzzsmith@gmail.com> Mon, 06 May 2019 01:33 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 1BE2C1200CC; Sun, 5 May 2019 18:33:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.498
X-Spam-Level:
X-Spam-Status: No, score=-1.498 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, 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 xv0WKhGaRWFT; Sun, 5 May 2019 18:33:00 -0700 (PDT)
Received: from mail-ot1-x331.google.com (mail-ot1-x331.google.com [IPv6:2607:f8b0:4864:20::331]) (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 8A0F61200B5; Sun, 5 May 2019 18:33:00 -0700 (PDT)
Received: by mail-ot1-x331.google.com with SMTP id o39so10053595ota.6; Sun, 05 May 2019 18:33:00 -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:content-transfer-encoding; bh=s/yZJ8g0r4LfXU2u1DPTbAm0De+HS6IifG6EZcuQ040=; b=VT+kXmQMD8Osoj4DVL0dSULWQMDKRbwNrf6E1putgdAdTlZ+Psyepnkwgv0F//Wt81 ZYEJvZuixYg8qvJ9nRV3D+1Aamqgnuq5RQIt5q1mHB/w7JgIQkb9TClrxpVTbuEFf1ID DXYYGKWCk6g6lWz4UqBwDeRmHq4lBKl9iKeB8LR0JjzICr08n1XDCg9w14Hev1VxTMfX /xnzg3MGFu8GiGvmfyRU5lTLrzexEXKBxcyPXShsk3+Z+xiktyMIEf/noG5KPJWMAEvL 7mdS2/2A3WeRM1RiI6vNBZAK3vSeKe9lryZY3paj00zAnrzY0vtDwv9WOmjaqP6eqRsT pTcw==
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=s/yZJ8g0r4LfXU2u1DPTbAm0De+HS6IifG6EZcuQ040=; b=AvaCKSfUUWRYZIWknNExc8cPJLJ8+B1h9DpZJYWibdSoQ8jW36EhkqtUUrZFptliIe 2jcHn1wxd7j3kI1+iwxzIMfwyiMlSGY21Md7sMM7WkaOMjTp0FVU5ZOunNUNyAGKIbTW t24fHz6pg6HIRbAr2S1rv63Coj7cV0tYqgAWYxya51dFZqnzGHiJfMTn/hnJvdSq/uLv p7UwiS1aXDtZdXN76CCn5P97tge+aQ9jJoJ08DAUB99OACUHPENE8uVpmC3ndnz85hVP T0KGmHbaRAlxIwCjfQSsrTaE/Oy12zTD83KwWxtElSkJM9PZpxXJPBc89Nqmd/zIqIN3 01BQ==
X-Gm-Message-State: APjAAAX9bzDEtqq+oUepyKrRQD5V1vcZBG319upLf5NEdoeaF3ucMrMK p0GRCDdNx8v6Yi9PCZhl2kkD6+lTuU93ytVGYSg=
X-Google-Smtp-Source: APXvYqwvgqa9SQ6j85XFZQTCSHD7unYjAQmuUIAZfToVU3dstDODa4QaXVEg1sfV7QIdfk/qKnmgUk93D1UmUPTDvhc=
X-Received: by 2002:a9d:7453:: with SMTP id p19mr1669544otk.83.1557106379832; Sun, 05 May 2019 18:32:59 -0700 (PDT)
MIME-Version: 1.0
References: <BYAPR05MB4245988C3A47C3665BD91172AE300@BYAPR05MB4245.namprd05.prod.outlook.com>
In-Reply-To: <BYAPR05MB4245988C3A47C3665BD91172AE300@BYAPR05MB4245.namprd05.prod.outlook.com>
From: Mark Smith <markzzzsmith@gmail.com>
Date: Mon, 06 May 2019 11:32:33 +1000
Message-ID: <CAO42Z2yJ09OWV1dZ_0T99YjYxmxF7cy9Jh4UN7oc2PCjX+03qA@mail.gmail.com>
To: Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org>
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/spring/Bt0XpNm4ZTULoCgN2TzZAMjATOU>
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: Mon, 06 May 2019 01:33:02 -0000

On Mon, 6 May 2019 at 10:48, Ron Bonica
<rbonica=40juniper.net@dmarc.ietf.org> wrote:
>
> 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?
>

Perhaps I'm not understanding the question, however isn't there
effectively already an NH value that can represent and carry Ethernet
(and other link-layer type frames) - GRE?

Yes GRE adds a bit of overhead, but however you get all of what it
already supports then. (Perhaps it could be useful to be able to carry
MPLS over SR between MPLS islands during a transition to SR, and that
would be an example of what you get if using GRE.).

Regards,
Mark.







>                                                           Ron
>
>
> Juniper Internal
>
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------