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

Tom Herbert <tom@herbertland.com> Wed, 08 May 2019 19:17 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 7638312023D for <spring@ietfa.amsl.com>; Wed, 8 May 2019 12:17:42 -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 xRrLBuMSOaZt for <spring@ietfa.amsl.com>; Wed, 8 May 2019 12:17:39 -0700 (PDT)
Received: from mail-qk1-x732.google.com (mail-qk1-x732.google.com [IPv6:2607:f8b0:4864:20::732]) (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 5C6541202E8 for <spring@ietf.org>; Wed, 8 May 2019 12:17:39 -0700 (PDT)
Received: by mail-qk1-x732.google.com with SMTP id c14so1822731qke.3 for <spring@ietf.org>; Wed, 08 May 2019 12:17:39 -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:content-transfer-encoding; bh=QC4RB983qnbkzAx4xB1P0OgknF/6YNruns2jQ7HduuY=; b=My4/qBipa/lxW+bFuKWzsNfhBFdCsnEjEPeMS/wwQPkdspyMvv9ED8GRgJiEavRz7p oG2YoWpom7GZSUsW4aa5CqGv5WN2Scs2mRdVyHRD90vzDjYsdArYFfT5msye5CnPmtiK 1SBVKfLhej+z+T+sWr4Bj/IFC8NsCn7BTj2pDhs/4wc/rwuu6YtPnShN4xPOBZxbyEj+ Ig+lkTNnvwpyA9ZhUdKAS6MgvYGHQu9fSjmLLpr5dJzxzqAXvRc6JHZv8O4z7mlVFRCC myuvcDcjDCclur4/lz66y+AWET9SGY7zSs/CU5ujvS8glIIU+dMeWYkv0S09d+eoFQdT Jdvw==
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:content-transfer-encoding; bh=QC4RB983qnbkzAx4xB1P0OgknF/6YNruns2jQ7HduuY=; b=nPFNYTfiJvdDRsnQDdnIR0FsfXlD8AnusBLUzqWL33ToIvyPZu9GeXz6EpAaZAkoej o95M7KL//iz9/PE9MSNSXYy6UTHG7ndrgnGsEoWpUvvxMXuPQEFIylcFlN04XGYXxBud oKIF2XB5o5tnzVNvahdJY+n5Ij6HgG+dk7r3gBeJA0gwZJouwRfjvIkqrnu3wf8Ry02t Ma2XS24Z70rqhcauCtkvuLUzIwakNV0CUVq7JxS6jhN21bmqmjyQbgQv8QrSd2jf3g4Y 3qBbaG4X3r42y2i+rUXHWFxxmTIBgeQsICZdw0OTHD2Oqc4YbjRYJQ1zwefA/l2p/0t7 nK8w==
X-Gm-Message-State: APjAAAVerzxJBPS00j59IXnUTmxWyr1C98VGCuuQo08y+kafJffZk5O3 TXFr8kNFN8i2ufhsZZ5UthtquJboKlU9F1dkb3MEHQ==
X-Google-Smtp-Source: APXvYqz0l3OwNk01Gtqorq3DPEvJgBhagWY15zxnobPYPjloDpLDcxcqNsVgzZWxpeTZqbj3NSFYKnWIRGbr0ifmvVI=
X-Received: by 2002:a37:6394:: with SMTP id x142mr21525798qkb.323.1557343058269; Wed, 08 May 2019 12:17:38 -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> <1F74292B-B580-4EDE-B789-EBBEE7E6DBD9@gmail.com> <BYAPR05MB4245244E52999315F0E4F3E5AE320@BYAPR05MB4245.namprd05.prod.outlook.com>
In-Reply-To: <BYAPR05MB4245244E52999315F0E4F3E5AE320@BYAPR05MB4245.namprd05.prod.outlook.com>
From: Tom Herbert <tom@herbertland.com>
Date: Wed, 08 May 2019 12:17:27 -0700
Message-ID: <CALx6S35M3Sqyme0dmESXHT+07huAQ3ksMEt3H82umuba2ACaPQ@mail.gmail.com>
To: Ron Bonica <rbonica@juniper.net>
Cc: Bob Hinden <bob.hinden@gmail.com>, Ole Trøan <otroan@employees.org>, SPRING WG <spring@ietf.org>, IPv6 List <ipv6@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/zrrsId4t9PeOIWWiNDdQxCag5gU>
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 19:17:49 -0000

On Wed, May 8, 2019 at 11:55 AM Ron Bonica <rbonica@juniper.net> wrote:
>
> Bob,
>
> The value 97 is tempting, but it already has a meaning that is slightly different from what the authors of draft-ietf-spring-srv6-network-programming intend. According to RFC 3378, a value of 97 means that the next header will be as depicted in Figure 2 of RFC 3378.
>

Ron,

The spring draft states:

"If the outer header is pushed without SRH, then the DA must be a SID
of type End.DX2, End.DX2V, End.DT2U or End.DT2M and the next-header
must be 59 (IPv6 NoNextHeader).  The received Ethernet frame follows
the IPv6 header and its extension headers."

That describes Ethernet over IP encapsulation.

RFC3378 states:

"EtherIP datagrams contain a 16-bit header and a variable-length
encapsulated Ethernet or IEEE 802.3 frame that immediately follows IP
fields."

That also describes Ethernet in IP encapsulation. The only difference
is the presence of the two byte EtherIP header. As already mentioned
this is important for maintaining alignment of the encapslated
Ethernet payload, and is otherwise inconsequential overhead.

So I don't see why EtherIP won't work here. Can you please clarify your concern?

Tom





>                                                      Ron
>
>
>
> Non-Juniper
>
> > -----Original Message-----
> > From: Bob Hinden <bob.hinden@gmail.com>
> > Sent: Wednesday, May 8, 2019 2:45 PM
> > To: Ole Trøan <otroan@employees.org>
> > Cc: Bob Hinden <bob.hinden@gmail.com>; Ron Bonica
> > <rbonica@juniper.net>; Tom Herbert <tom@herbertland.com>; SPRING WG
> > <spring@ietf.org>; IPv6 List <ipv6@ietf.org>
> > Subject: Re: SRv6 Network Programming: ENH = 59
> >
> > Ole,
> >
> > > On 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.
> >
> > According to https://urldefense.proofpoint.com/v2/url?u=https-
> > 3A__www.iana.org_assignments_protocol-2Dnumbers_protocol-
> > 2Dnumbers.xhtml&d=DwIFaQ&c=HAkYuh63rsuhr6Scbfh0UjBXeMK-
> > ndb3voDTXcWzoCI&r=Fch9FQ82sir-BoLx84hKuKwl-
> > AWF2EfpHcAwrDThKP8&m=ZtmZfCpk7bYpJSSTREggt8Xm8yHpWgrVBTFHi5a
> > UtW4&s=Qir8baDHTQf5RGhmFCDSbGShFV8dE_dqL1reoBpkiUE&e=
> >
> > 143-252               Unassigned
> >
> > Seems like a lot left.  Plus there are many that are clearly not used anymore, so
> > there isn’t a shortage.
> >
> >
> >
> > > 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?
> >
> > Look at the the registry, it looks to me we have already
> >
> > 97    ETHERIP Ethernet-within-IP Encapsulation                [RFC3378]
> >
> > From the abstract:
> >
> >    EtherIP tunnels Ethernet and IEEE 802.3 media access
> >    control frames in IP datagrams so that non-IP traffic can traverse an
> >    IP internet.
> >
> > This be appropriate for SRv6 network programming.
> >
> > Bob
> >
> >
> > >
> >
> >
> > > Cheers,
> > > Ole