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

Brian E Carpenter <brian.e.carpenter@gmail.com> Tue, 07 May 2019 01:30 UTC

Return-Path: <brian.e.carpenter@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 3A19D12018A; Mon, 6 May 2019 18:30:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.999
X-Spam-Level:
X-Spam-Status: No, score=-0.999 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, FREEMAIL_REPLY=1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no 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 HW2cX-qALwxz; Mon, 6 May 2019 18:30:06 -0700 (PDT)
Received: from mail-pg1-x544.google.com (mail-pg1-x544.google.com [IPv6:2607:f8b0:4864:20::544]) (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 B2879120169; Mon, 6 May 2019 18:30:06 -0700 (PDT)
Received: by mail-pg1-x544.google.com with SMTP id z16so7363405pgv.11; Mon, 06 May 2019 18:30:06 -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=OMR+8IZlL2aA0pVYjrHcJ4mxGnoX/5jz0miZPYRQg98=; b=sWCGjqaTSukyuS/NRLsityYFxJU3YIzmX+6JjHoUaTd7BuZfjRxtrWOzVR8w0vVRee 3Sx6GGJu9e6iK9jAba6oF7HIxy/8zp2t93X9mp0+SVKJBuqFX8/UHYFFZn3Z0wPARUX6 9NokTya+Keb+ay/NwNF7Mri+sRVL1yJpbCEXiFHm2cw5t1HsQfggC8AjygHg2nqpGrQN z6VhfP17OmrtZEYMD9i6oNHSKjJ/j+Z2KvUhu93MoNOtROBhRHU3a0qxiubXMtxwkLHG aeuzkqR9h2LdU4Ol6vlS8uA2HPn1kaXi8o/qh/wJNXAjC4GnDAyek7iRYo81mQve7GZk YjOA==
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=OMR+8IZlL2aA0pVYjrHcJ4mxGnoX/5jz0miZPYRQg98=; b=YdFv6XCPI1wRqpdct3b62NU2kCaVkMtJ4clrRe7Hb1mgvt+dpaAA7Yl3zdiqGI1Qsv Yynf5JEwkkSF/a37xm0v+fUOcPCWSOPGXSkTwKU2CDqKJM59XczRWcE7KT1ROTER11Af 8KgRTbvMn5N4Mp5msElvXubFbrtXWESyxvHajJMH3wGepfS9B0mjS4K5VfHTiQX3AFcN o04g+FQ1sCqhPs+cHRBGMmbGHyHi4pYD/JBR8fSFNp+En+XFUo+oNYY6V3lYlsbYOqvd BXP82MJxjnIqGZm1U1U98go7Kasr+AQzEPkBI7QQJMPdxy4rNDbmTiTNGYVgjjZN7yAd 1s+Q==
X-Gm-Message-State: APjAAAU2BT+O49CjhD4znpqy5DcxHNAKlc5J/3jZnj1g2lBjROU1+wvu UKBcybzx0GdaJlOiwgdVX9g=
X-Google-Smtp-Source: APXvYqwk/5+nh5mXQArnfcygXTrboVqtDGrv/T9Kj6QH0vXCXl9oEF+PVvU117Y/DYPiLu/0sQ+EkQ==
X-Received: by 2002:a63:f712:: with SMTP id x18mr37068190pgh.293.1557192605914; Mon, 06 May 2019 18:30:05 -0700 (PDT)
Received: from [192.168.178.30] ([118.148.72.205]) by smtp.gmail.com with ESMTPSA id b77sm25154410pfj.99.2019.05.06.18.30.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 May 2019 18:30:04 -0700 (PDT)
To: Mark Smith <markzzzsmith@gmail.com>, Stewart Bryant <stewart.bryant@gmail.com>
Cc: Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org>, IPv6 List <ipv6@ietf.org>, SPRING WG <spring@ietf.org>, Bob Hinden <bob.hinden@gmail.com>
References: <BYAPR05MB4245988C3A47C3665BD91172AE300@BYAPR05MB4245.namprd05.prod.outlook.com> <FD25114D-B841-4036-A4B7-B98B93B79D60@gmail.com> <f2e3f144-e83d-4354-a164-f663c554f443@gmail.com> <CAO42Z2xs3xJZeW8Zc5-RsLHn8Zjum+63FFo9a29HBY3V9ApD6Q@mail.gmail.com>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Message-ID: <7d0a6dd8-6a41-899d-c45f-731d7ec3eee9@gmail.com>
Date: Tue, 07 May 2019 13:29:58 +1200
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: <CAO42Z2xs3xJZeW8Zc5-RsLHn8Zjum+63FFo9a29HBY3V9ApD6Q@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/jaAqxvGOO_JUCt8BTL6wkTPrg7g>
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: Tue, 07 May 2019 01:30:08 -0000

On 07-May-19 12:20, Mark Smith wrote:
> 
> 
> On Tue., 7 May 2019, 06:14 Stewart Bryant, <stewart.bryant@gmail.com <mailto:stewart.bryant@gmail.com>> wrote:
> 
>     I agree that implicit payload identity is a bad idea.
> 
>     If the payload is Ethernet, then the IANA Protocol Number Registry
>     suggests that 22 is allocated for that purpose:
> 
>     22     
> 
>     XNS-IDP XEROX NS IDP
> 
>     ["The Ethernet, A Local Area Network: Data Link Layer and Physical Layer
>     Specification", AA-K759B-TK, Digital Equipment Corporation, Maynard, MA.
>     Also as: "The Ethernet - A Local Area Network", Version 1.0, Digital
>     Equipment Corporation, Intel Corporation, Xerox Corporation, September
>     1980. And: "The Ethernet, A Local Area Network: Data Link Layer and
>     Physical Layer Specifications", Digital, Intel and Xerox, November 1982.
>     And: XEROX, "The Ethernet, A Local Area Network: Data Link Layer and
>     Physical Layer Specification", X3T51/80-50, Xerox Corporation, Stamford,
>     CT., October 1980.][[XEROX]]
> 
> 
> 
> That's an unusual specification reference, because XNS Internet Datagram Protocol is not Ethernet. It's the layer 3 protocol Xerox invented, and the ancestor of Novell's IPX.

Correct. I'm sure that 22 must have been intended for XNS-in-IP. Also, those references are to what we knew as DIX Ethernet (Digital-Intel-Xerox) which preceded 802.1 by a few years.

Protocol 97 looks closer:
97 ETHERIP Ethernet-within-IP Encapsulation [RFC3378]
It does require an extra 16-bit "EtherIP" header.

That would be much better than abusing No Next Header, which means what it says.

   Brian
 
> According to RFC 1764, "The PPP XNS IDP Control Protocol (XNSCP)", the XNS spec is
> 
> Xerox, "Internet Transport Protocols", January 1991, Order No. XNSS 029101.> 
> 
> Regards,
> 
> Mark.
> 
> 
> 
> 
> 
> 
> 
> 
> 
>     - Stewart
> 
> 
>     On 06/05/2019 16:54, Bob Hinden wrote:
>     > Ron,
>     >
>     >> On May 5, 2019, at 5:47 PM, Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org <mailto:40juniper.net@dmarc.ietf.org>> wrote:
>     >>
>     >> Folks,
>     >>
>     >> According to Section 4.4 of draft-ietf-spring-srv6-network-programming-00, when processing the End.DX2 SID, the Next Header must be equal to 59. Otherwise, the packet will be dropped.
>     >>
>     >> In the words of the draft, "We conveniently reuse the next-header value 59 allocated to IPv6 No Next Header [RFC8200].  When the SID corresponds to function End.DX2 and the Next-Header value is 59, we know that an Ethernet frame is in the payload without any further header."
>     >>
>     >> According to Section 4.7 RFC 8200, " The value 59 in the Next Header field of an IPv6 header or any  extension header indicates that there is nothing following that header.  If the Payload Length field of the IPv6 header indicates the presence of octets past the end of a header whose Next Header field contains 59, those octets must be ignored and passed on unchanged if the packet is forwarded."
>     >>
>     >> Does the WG think that it is a good idea to reuse the Next Header value 59? Or would it be better to allocate a new Next Header value that represents Ethernet?
>     >
>     > IMHO, it is a bad idea to reuse the Next Header value 59.  Better to allocate a new next header value.
>     >
>     > Further, this proposed redefining of the “No Next Header” would require updating RFC8200.  I don’t see that in this draft.
>     >
>     > Bob
>     >
>     > _______________________________________________
>     > spring mailing list
>     > spring@ietf.org <mailto:spring@ietf.org>
>     > https://www.ietf.org/mailman/listinfo/spring
>     >
> 
>     _______________________________________________
>     spring mailing list
>     spring@ietf.org <mailto:spring@ietf.org>
>     https://www.ietf.org/mailman/listinfo/spring
> 
> 
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------
>