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

Stewart Bryant <stewart.bryant@gmail.com> Thu, 09 May 2019 09:05 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 CE0181200CD; Thu, 9 May 2019 02:05:29 -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 IRSR4vsGKMGE; Thu, 9 May 2019 02:05:26 -0700 (PDT)
Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) (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 48CD1120020; Thu, 9 May 2019 02:05:26 -0700 (PDT)
Received: by mail-wr1-x435.google.com with SMTP id h4so1889947wre.7; Thu, 09 May 2019 02:05:26 -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=xAsaG+abStdIzPXcTOf95EneZIpFLJ1RBDeQkRrkX+Y=; b=rKoGhQl1lAYEd2IBImiHChtXvwZZN3m3ZHwJemQSV0CKX2E6Zlc22OafirfJj/Gksw Ny5LQAI8BKUx57yOBiokcAAppW6tso6nYKNNL9BwnxlFOCOhdaBgL9qMM6u+haTBrxq/ 6noomZ8P5R0nana3ub+5VTzauhRp/+Mj+TVbfVq8h/FWFJh1nmDzYPQkVln/fyrbETUl nRacXnuLo0Qn9GKA8/16TBmmDLBaiD7+7B4SErhQIwBmVKCriYXf9KLfzILyxVAzEQ0K gOsfuiRtJgH/Jeen7kkR0xRRUYMd0egu7qdZtfqPIky/xD569/omtLihEvnBMBviAXUD de2g==
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=xAsaG+abStdIzPXcTOf95EneZIpFLJ1RBDeQkRrkX+Y=; b=H7okeqPlvCEgTtyk3xwxqeEdksbbm/k+wAwcNZSvNAY8ILJ/eXegmG9hvSBqcjqR7E tx5w3vF20fqYKZhk3Wu5YTW+y2A6LVxmGEGR71QiYm64E/IWMhjO9POG9RcykoE0ZeYv NVOtqM+nUJerArs6mavPtJ0O3L/CHM9REgeA68zn3Po+EPi8mBH0ewVZhem8CFE1R4Yp jHFFbF1lSYjeHVR9vDm2i1Ku8ly9i4GNpnMuuD05jAVcbMfP0h9oB4biTC84W3zedLxR RlT+MlKDImGm5oU6+GudderkN/wnMqG3aYhXWkTYbhv3e2NveJlx+iKyy3ry06Jdoztc F/fw==
X-Gm-Message-State: APjAAAUyH+QDrcnml7CVY8UOG2rtZu99mxdAtXTNBraiLif5j+Bgkdol x2M/mX+S8GMvwPICNK2SvQEhLHw2WAw=
X-Google-Smtp-Source: APXvYqxDuKZ7pxqDR6Tbb/4WpG9d1IrmNPLTu541dqqBCZtty8JumIrwexHt3ZXGCOIVK+GfAEcX8g==
X-Received: by 2002:adf:ec47:: with SMTP id w7mr2028525wrn.197.1557392724251; Thu, 09 May 2019 02:05:24 -0700 (PDT)
Received: from [192.168.178.22] ([62.3.64.16]) by smtp.gmail.com with ESMTPSA id i18sm1820828wro.36.2019.05.09.02.05.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 May 2019 02:05:23 -0700 (PDT)
To: Ole Troan <otroan@employees.org>, Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org>
Cc: 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>
From: Stewart Bryant <stewart.bryant@gmail.com>
Message-ID: <af4f15c1-bebf-8774-bb1e-d6643a8294b9@gmail.com>
Date: Thu, 09 May 2019 10:05:26 +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: <B2E808BB-E995-4AEE-A9E4-8AA7F92E4939@employees.org>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-GB
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/PMwVe9wxS5NS0r90KdyRTMz3T2M>
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:05:30 -0000


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.

- Stewart


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