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

Tom Herbert <tom@herbertland.com> Wed, 08 May 2019 18:44 UTC

Return-Path: <tom@herbertland.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 EB5C212025A for <spring@ietfa.amsl.com>; Wed, 8 May 2019 11:44:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=herbertland-com.20150623.gappssmtp.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 NZ5As63DSchZ for <spring@ietfa.amsl.com>; Wed, 8 May 2019 11:44:28 -0700 (PDT)
Received: from mail-qt1-x82d.google.com (mail-qt1-x82d.google.com [IPv6:2607:f8b0:4864:20::82d]) (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 EA1671201E7 for <spring@ietf.org>; Wed, 8 May 2019 11:44:27 -0700 (PDT)
Received: by mail-qt1-x82d.google.com with SMTP id j6so24464747qtq.1 for <spring@ietf.org>; Wed, 08 May 2019 11:44:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=herbertland-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=edqXu4Jzcr4UURBWT6/yMazSxztn/UTjK9fVgQSkVmg=; b=rNQHQS2fDGTX022L9cRMAB6K71IwyfHy3GunTzRByPyQyGEhgoaq0nNe0XoWoSXG0D sNx6arHNtFUlR9pKQ26jZyRYXxJLIrYwmsSrOxv/xiYbBUdX7zmIhwYW1/vq0ebDlhlB 0mQaR4Ga0SQ74Idzg8AtQbTDMe+3ayrWZIHKU1UFA2BJFWI2XBlOnaW6cff/5Gi+uZVd Rg77lJREyfhyz11xVjERewE5RXrMyFzcRhPAsCOe+686RVaIp9Vk03sjjfxmHIIZI84b lk9lqXSbakG2CTmWBVjZGE3KPxyxesv88CxNNPLdgWGKBPoIHQIdH9XnEpRKIfW/cktn UqPA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=edqXu4Jzcr4UURBWT6/yMazSxztn/UTjK9fVgQSkVmg=; b=gDeKw65JgxXHatpZ9ID8OjxcpYONI1UFiLHVsQjXo+qfAVPbySxqYDXjU99zkfPM+0 2x63MK/EUtPxcJW2wWiU/JEZplzXOknXOsZOuQWIb6YAvyPjbiwarsAXKAFPeH19QOIv 81oT6w5h3N8j1AJuvnf17KF/jyp3aIQHkgYbZdQBAq5YNdPbzbtH7y+x5fbjX/xHhEuo 28yjd0jJW4KOFTJlvGacASL91e1sz1G96ZiaNev347TnyyxlydHs4vEledMFX+UHqpq+ 77lPGORgWR62A/cvDngk4Dzl+mXfNQyMmnt9L8KQn2gcC1j84UnxQaugs4XHI4hn54TZ 5lkg==
X-Gm-Message-State: APjAAAXYkOjSo1N7VmSrcYlLjCxGpF48jsT04WYZeJhketOTN7CxuO3e +KN/1JRblD4zqdERYkPVDlzNDrl6QmLHi4Y9eP1jiw==
X-Google-Smtp-Source: APXvYqyyea30mUNBS3zEnsTI8u5OPKZfTjB9mC6CX4TEi0bIU/NHhCeWQWZR5sz9id1uTAbA6cIYg1F8O5d4xc/WOfQ=
X-Received: by 2002:a0c:c491:: with SMTP id u17mr30581437qvi.70.1557341066888; Wed, 08 May 2019 11:44:26 -0700 (PDT)
MIME-Version: 1.0
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>
In-Reply-To: <B2E808BB-E995-4AEE-A9E4-8AA7F92E4939@employees.org>
From: Tom Herbert <tom@herbertland.com>
Date: Wed, 08 May 2019 11:44:15 -0700
Message-ID: <CALx6S34SKeKrZkB3AtJouiMo1PEHEguYR99DbXA77TMkbkjuVQ@mail.gmail.com>
To: Ole Troan <otroan@employees.org>
Cc: Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org>, Bob Hinden <bob.hinden@gmail.com>, SPRING WG <spring@ietf.org>, 6man WG <ipv6@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/zvTUU_6i9OtFyrupNLLkVoehZ2E>
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: Wed, 08 May 2019 18:44:30 -0000

On Wed, May 8, 2019 at 11:13 AM Ole Troan <otroan@employees.org> 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.
> 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?

Ole,

Ethernet over IP is already specified in RFC3378 and protocol number
97 is assigned to encapsulate Ethernet frames in IP. The only change
required in the spring draft is:

If the payload is Ethernet, the next-header value in the SRH must be
EtherIP (value 97).

Tom

>
> Cheers,
> Ole