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

Stewart Bryant <stewart.bryant@gmail.com> Thu, 09 May 2019 11:17 UTC

Return-Path: <stewart.bryant@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 6F49F12001B; Thu, 9 May 2019 04:17:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=unavailable 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 Le-wE5nRwkgT; Thu, 9 May 2019 04:17:34 -0700 (PDT)
Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) (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 F3BF9120092; Thu, 9 May 2019 04:17:33 -0700 (PDT)
Received: by mail-wr1-x42d.google.com with SMTP id s15so2449728wra.12; Thu, 09 May 2019 04:17:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=PPNgd40gKQwXBaVU4S8kwvtmS4wC8B/OE+cA7oC26Xo=; b=Ph2Pw540jBLTGqDhWRN+ycND22Rw1ahnsRRD2dI67fKPTqmDrvw7zl2snRrQi15U3S ccogNqNoUPOm9Z9UY0Pl6Mok3R7nSYsS1CxNTsS10IuIpYL3+j4IXiogIPk/2q717Jad /PFv3IjBuOP5rdoALC+lpCmdW2f3/pysC0tJ+7C8Mjm4xGy8tDIindZHAFTY9dgSTYtL jIMKO6flGjYdcbZkxDhyJOBC2XS2vRDk7Qz5vWjusps+hCBJWe8bn9dHQLnUnkPupVgS Tb7t16sSyOSPJSW4sSd/at4jlP+JcanchfhGh7Q85fvh2LsApMfeBxftrJArZEp0OK7v mROA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=PPNgd40gKQwXBaVU4S8kwvtmS4wC8B/OE+cA7oC26Xo=; b=pDCZGA2rvMjibAEmCsLlFAtMwQSncN4F3UtZy3QY9rao7iWTeKGVp3x1C131jvc69W alhmjHbZAofRFEyxm05dP6F0CvpBwj3euyCI9dYZJOPD7SsL+xwPvlt4GU6auJfZU261 3jzGk+oMOlC6PukgkgkeXDInQeXI1utp1sELlXECEaDpTVt/AOl5t3ehV0laVwt8U6Q6 VlvLzz0jP5EmM254EjIyT/Rw9Ax4zMlZfYRfmoSjvurNvOt5tn5jaDIz+MQ+QMDCFxf4 +fxRMgo663IMZtnlr5/+pySU1xd1EYE0+1VIrn1xiJblJvrFIO87CPpamGWKxSyc0OaL OTJA==
X-Gm-Message-State: APjAAAUXS4hmMVkSNn07B0RGTSHs47eW3e4+W0cNU7goKYzRHe5zjr24 AW3P5ekpbe+EhLj9c/AM/5G0i+dqjlo=
X-Google-Smtp-Source: APXvYqzY2WPXNX6FfWMdLPBT8c+70fERgZ3flzpnth1GvBn6ICct6Er/LOBzXg2GPrOw0OvvdhpuVQ==
X-Received: by 2002:a5d:4e4f:: with SMTP id r15mr2514868wrt.157.1557400652097; Thu, 09 May 2019 04:17:32 -0700 (PDT)
Received: from [192.168.178.22] ([62.3.64.16]) by smtp.gmail.com with ESMTPSA id s10sm2275476wrt.66.2019.05.09.04.17.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 May 2019 04:17:31 -0700 (PDT)
To: Ole Troan <otroan@employees.org>
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>
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>
From: Stewart Bryant <stewart.bryant@gmail.com>
Message-ID: <4dd25f1e-a0b5-9382-eec1-788b4440658a@gmail.com>
Date: Thu, 09 May 2019 12:17:34 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1
MIME-Version: 1.0
In-Reply-To: <BBDC17E6-31DD-40AC-A651-10362F41119D@employees.org>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-GB
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/9-zBvfPjTLq8XC3d3rD5wwCovE8>
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:17:38 -0000


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