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

"Joel M. Halpern" <jmh@joelhalpern.com> Tue, 07 May 2019 13:39 UTC

Return-Path: <jmh@joelhalpern.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 E1116120106; Tue, 7 May 2019 06:39:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=joelhalpern.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 g9Y-CX8jg6NH; Tue, 7 May 2019 06:39:29 -0700 (PDT)
Received: from mailb2.tigertech.net (mailb2.tigertech.net [208.80.4.154]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E7303120026; Tue, 7 May 2019 06:39:28 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mailb2.tigertech.net (Postfix) with ESMTP id 44z11D50rZznqn9; Tue, 7 May 2019 06:39:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joelhalpern.com; s=2.tigertech; t=1557236368; bh=jbRtmrICIt2SA+cjaudCHMpT2Yd94ubIGRDsRzkK4HY=; h=Subject:To:References:From:Date:In-Reply-To:From; b=mwLQRpv9X8i1LRkAZtsCRIquyYwIgdj9s2FWxRDdoF9MHrCO4dUW3uPektQrIEdcN 5T+smJFSkWqTahnC4LXOOLpafYSFtDlJddQ8j90roLUQjEgW2oxoYx+l0zcq6nghQo xuWjWbR2pdP/3MwfXTr58hmqkR2mvG7HbL1u06bk=
X-Virus-Scanned: Debian amavisd-new at b2.tigertech.net
Received: from Joels-MacBook-Pro.local (209-255-163-147.ip.mcleodusa.net [209.255.163.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mailb2.tigertech.net (Postfix) with ESMTPSA id 44z11D07rXznqn8; Tue, 7 May 2019 06:39:27 -0700 (PDT)
To: "Pablo Camarillo (pcamaril)" <pcamaril@cisco.com>, SPRING WG <spring@ietf.org>, 6man WG <ipv6@ietf.org>
References: <BYAPR05MB4245988C3A47C3665BD91172AE300@BYAPR05MB4245.namprd05.prod.outlook.com> <AA81898A-9E6C-4AD5-9629-4BA283378A79@cisco.com>
From: "Joel M. Halpern" <jmh@joelhalpern.com>
Message-ID: <6e954124-675f-f97d-dc7b-f64b4141c8b8@joelhalpern.com>
Date: Tue, 07 May 2019 09:39:26 -0400
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.6.1
MIME-Version: 1.0
In-Reply-To: <AA81898A-9E6C-4AD5-9629-4BA283378A79@cisco.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/Gn7DRQhYx2B5Qs-L9Du1FddyGq0>
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 13:39:31 -0000

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.

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
>