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

"john leddy.net" <john@leddy.net> Fri, 10 May 2019 01:08 UTC

Return-Path: <john@leddy.net>
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 F3BD812004F; Thu, 9 May 2019 18:08:40 -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, RCVD_IN_DNSWL_NONE=-0.0001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
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 HzOINPNAtuh2; Thu, 9 May 2019 18:08:39 -0700 (PDT)
Received: from atl4mhob22.registeredsite.com (atl4mhob22.registeredsite.com [209.17.115.116]) by ietfa.amsl.com (Postfix) with ESMTP id 07A7B120047; Thu, 9 May 2019 18:08:38 -0700 (PDT)
Received: from atl4oxapp102 ([10.30.71.139]) by atl4mhob22.registeredsite.com (8.14.4/8.14.4) with ESMTP id x4A18YGZ023529 (version=TLSv1/SSLv3 cipher=AES256-SHA256 bits=256 verify=NO); Thu, 9 May 2019 21:08:34 -0400
Date: Thu, 09 May 2019 21:08:34 -0400
From: "john leddy.net" <john@leddy.net>
Reply-To: "john leddy.net" <john@leddy.net>
To: Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org>, Tom Herbert <tom@herbertland.com>
Cc: IPv6 List <ipv6@ietf.org>, Bob Hinden <bob.hinden@gmail.com>, SPRING WG <spring@ietf.org>
Message-ID: <77617788.235559.1557450514776@webmail.networksolutionsemail.com>
In-Reply-To: <BYAPR05MB424586F490FAEB951EB7E39BAE320@BYAPR05MB4245.namprd05.prod.outlook.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> <1F74292B-B580-4EDE-B789-EBBEE7E6DBD9@gmail.com> <BYAPR05MB4245244E52999315F0E4F3E5AE320@BYAPR05MB4245.namprd05.prod.outlook.com> <CALx6S35M3Sqyme0dmESXHT+07huAQ3ksMEt3H82umuba2ACaPQ@mail.gmail.com> <BYAPR05MB424586F490FAEB951EB7E39BAE320@BYAPR05MB4245.namprd05.prod.outlook.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Priority: 3
Importance: Medium
X-Mailer: Open-Xchange Mailer v7.10.0-Rev23
X-Originating-Client: open-xchange-appsuite
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/ZwVT3-wuFIoN1SvcHcACHP9NwfQ>
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: Fri, 10 May 2019 01:08:41 -0000

Should the NextHeader values be a union of all the Link layer protocol types over IPv6, Ethertypes, IP Protocols, Next Headers and Well known ports - maybe, but it seems tough to get into 8 bits...

Thank the stars that all those application guys use the well known ports for the correct protocols or the Internet would fall apart.  Can you imagine running HTTP over a random port - or even more laughable something other than HTTP over port 80. Heresy!

How would you know what header it is?

John

> On May 8, 2019 at 3:44 PM Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org> wrote:
> 
> 
> Tom,
> 
> If the authors of the network programming draft are willing to impose the two-byte header between the SRH and the Ethernet frame, 97 works.
> 
> I will let them speak for themselves regarding there willingness to do so.
> 
>                                                                   Ron
> 
> 
> 
> Juniper Internal
> 
> > -----Original Message-----
> > From: Tom Herbert <tom@herbertland.com>
> > Sent: Wednesday, May 8, 2019 3:17 PM
> > 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>
> > Subject: Re: SRv6 Network Programming: ENH = 59
> > 
> > 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
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------