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

Ole Troan <otroan@employees.org> Thu, 09 May 2019 09:12 UTC

Return-Path: <otroan@employees.org>
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 E2BE2120108; Thu, 9 May 2019 02:12:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 hRnLdlbqJcj2; Thu, 9 May 2019 02:12:54 -0700 (PDT)
Received: from bugle.employees.org (accordion.employees.org [198.137.202.74]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CBB7A120020; Thu, 9 May 2019 02:12:52 -0700 (PDT)
Received: from [192.168.10.188] (30.51-175-112.customer.lyse.net [51.175.112.30]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bugle.employees.org (Postfix) with ESMTPSA id 7F6BEFECBE91; Thu, 9 May 2019 09:12:50 +0000 (UTC)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (1.0)
From: Ole Troan <otroan@employees.org>
X-Mailer: iPhone Mail (16E227)
In-Reply-To: <af4f15c1-bebf-8774-bb1e-d6643a8294b9@gmail.com>
Date: Thu, 09 May 2019 11:12:47 +0200
Cc: Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org>, SPRING WG <spring@ietf.org>, Bob Hinden <bob.hinden@gmail.com>, 6man WG <ipv6@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <BBDC17E6-31DD-40AC-A651-10362F41119D@employees.org>
References: <BYAPR05MB4245988C3A47C3665BD91172AE300@BYAPR05MB4245.namprd05.prod.outlook.com> <AA81898A-9E6C-4AD5-9629-4BA283378A79@cisco.com> <BYAPR05MB4245AEA785C959D29E4ECE61AE310@BYAPR05MB4245.namprd05.prod.outlook.com> <58529f07-acfc-3678-5381-4ae271143a45@gmail.com> <94EF12FB-0598-4E76-9A60-0CF67096DD04@employees.org> <CALx6S360dJD4_YcqMMy9k8NOLNdy1UZPAzBNOw1WpAz6iYfWag@mail.gmail.com> <CAO42Z2wBL=h=MKLshKUJa4m6aqTSGn4XQgKao06wKvvreKpB8w@mail.gmail.com> <CALx6S36q+7L7=7m_TgFJL5BN1ryM=9Kgb3sND1Rw+Pmza5OVYQ@mail.gmail.com> <DD003840-92D2-4878-B1CC-CDCB18FA527B@gmail.com> <BYAPR05MB42459C7A22F5AF2F1AB75CD1AE320@BYAPR05MB4245.namprd05.prod.outlook.com> <B2E808BB-E995-4AEE-A9E4-8AA7F92E4939@employees.org> <af4f15c1-bebf-8774-bb1e-d6643a8294b9@gmail.com>
To: Stewart Bryant <stewart.bryant@gmail.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/MqJii7ORhGjZzHSNPy7X7PlKpII>
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: Thu, 09 May 2019 09:12:57 -0000


> On 9 May 2019, at 11:05, Stewart Bryant <stewart.bryant@gmail.com> wrote:
> 
> 
> 
>> On 08/05/2019 19:13, Ole Troan wrote:
>> Ron,
>>> <adding the SPRING mailing list, because this is a SPRING draft>
>>> 
>>> Folks,
>>> 
>>> Sections 4.4 through 4.12 of draft-ietf-spring-srv6-network-programming-00 define a set of SIDs that have the following things in common:
>>> 
>>> - they are consumed by the egress node (SL == 0)
>>> - they tell the egress node how to forward the payload into a VPN
>>> 
>>> If the payload is IPv4, the next-header value in the SRH must be IP4 (value 4).
>>> If the payload is IPv6, the next-header value in the SRH must be IPv6 (value 41).
>>> If the payload is Ethernet, the next-header value in the SRH must be No Next Header (value 59).
>>> 
>>> In the interest of consistency, we should probably allocate a new next-header value for Ethernet and use it.
>> It's a fairly precious name space though.
> 
> Agreed, it has to last for the entire lifetime of the Internet.
> 
> Indeed, I wonder if we should do what we did with MPLS reserved/special purpose labels and create an extension mechanism now rather than when
> we actually run out of space. That way less critical applications
> can use the less convenient longer identifier.
> 
>> What would a general IP stack do with an Ethernet frame? It's kind of a neat feature that "IP processing terminates here".
>> Or are we going to specify Ethernet over IP?
> 
> Looking at NH=97 there seems to be an existing solution in place that exactly addresses the need for carrying Ethernet over IP, so I don't see why that is not used. It is only 16 bits and a single check to confirm the version, and if implementers and operators are convinced that the IP address is sufficiently safe as a check, then it is only two extra bytes to write on transmit and two bytes to skip receive.
> 
> The extra bits that NH=97 has reserved may also be useful in the long term. For example it seems likely that an OAM/ACH mechanism will eventually be needed at this encapsulation layer (just as it was eventually needed with the Ethernet over MPLS pseudowire). It would be hard to retrofit an OAM indicator with NH=59, but trivial with NH=97.
> So trivial in fact, I suspect that it ought be considered as part of the initial specification.
> 
> I suspect that we will be far more likely regret this use of 59 in the long term than we will regret changing to 97 at this early stage.

But it’s not that nh=59 can be used to imply that Ethernet follows. That would be very bad. 

It’s that ip processing stops here. 

Then if the two ends have agreed the meaning of the remaining payload and how to process it, that’s fine. If that signaling is in-band e.g in a particular SID or out-of-band, the principle is the same. 

Cheers,
Ole


> 
> - Stewart
> 
> 
>> Cheers,
>> Ole
>> --------------------------------------------------------------------
>> IETF IPv6 working group mailing list
>> ipv6@ietf.org
>> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
>> --------------------------------------------------------------------