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

"Joel M. Halpern" <jmh@joelhalpern.com> Thu, 09 May 2019 11:58 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 724E3120094; Thu, 9 May 2019 04:58:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.701
X-Spam-Level:
X-Spam-Status: No, score=-2.701 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] 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 srS_xkCnsZPf; Thu, 9 May 2019 04:58:19 -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 9D54F120006; Thu, 9 May 2019 04:58:19 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mailb2.tigertech.net (Postfix) with ESMTP id 450Bgb3s4fz11hCD; Thu, 9 May 2019 04:58:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joelhalpern.com; s=2.tigertech; t=1557403099; bh=iOX28QoW05i/VYT2vM8HG6aWQAQwBYrdyInGzpKmglQ=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=DTBh4IlU8qyi5BcEk21EGigdu9qdBfXmXQFq7Oyv6AsFg619ITQl8kGtbfx3h6f8D AZoPiW0PL1C9Tj1aTiS0ByWZ7ln3yIj9N9cF89ZxHDVGzlPzTZm9ddAl2KJidQmGry b9jZHCe/JGnY0134e0VZ9U4cSVlxuvFQMUHu0mmk=
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 450BgZ5Df6z11hCF; Thu, 9 May 2019 04:58:18 -0700 (PDT)
To: Ole Troan <otroan@employees.org>
Cc: 6man WG <ipv6@ietf.org>, SPRING WG <spring@ietf.org>, Bob Hinden <bob.hinden@gmail.com>
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> <BBDC17E6-31DD-40AC-A651-10362F41119D@employees.org> <4dd25f1e-a0b5-9382-eec1-788b4440658a@gmail.com>
From: "Joel M. Halpern" <jmh@joelhalpern.com>
Message-ID: <79c8d47b-e8c1-a080-5881-9dc1e3adc8ff@joelhalpern.com>
Date: Thu, 09 May 2019 07:58:17 -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: <4dd25f1e-a0b5-9382-eec1-788b4440658a@gmail.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/JRYCu5tR7sjJu1gautvnvbzIs-Y>
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 11:58:21 -0000

I think it is equally important to note that given an existing way of 
encapsulating Ethernet in IP, one ought to have a good reason for 
creating a different one.  There is no indication that this use case 
needs anything different than next-header 97.

And Ole, no next-header does not, as far as I can tell from 8200 and its 
predecessors mean "the end of IP processing."

Yours,
Joel

On 5/9/19 7:17 AM, Stewart Bryant wrote:
> 
> 
> On 09/05/2019 10:12, Ole Troan wrote:
>>
>>
>>> 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.
> 
> Yes, but experience suggests that having no control word and no ability 
> to retrofit one is a long term problem waiting to happen.
> 
> Stewart
> 
> _______________________________________________
> spring mailing list
> spring@ietf.org
> https://www.ietf.org/mailman/listinfo/spring