Re: IPv4 EH proposal

Tom Herbert <tom@herbertland.com> Sat, 07 September 2019 16:13 UTC

Return-Path: <tom@herbertland.com>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 244031200EB for <ipv6@ietfa.amsl.com>; Sat, 7 Sep 2019 09:13:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, 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 4LX2TfKLozj3 for <ipv6@ietfa.amsl.com>; Sat, 7 Sep 2019 09:13:40 -0700 (PDT)
Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) (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 40E441200DB for <ipv6@ietf.org>; Sat, 7 Sep 2019 09:13:40 -0700 (PDT)
Received: by mail-ed1-x529.google.com with SMTP id y91so9342540ede.9 for <ipv6@ietf.org>; Sat, 07 Sep 2019 09:13:40 -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=vVCHl+3AkdyTZzkfmTozoGoVamjj6db/gZB6/g5r74E=; b=jBakuPYgID1yjGY0jhRqGa1QagLHjaVbQXgX3LLZ2QSpnOODEkFMXwFsssAXM+PGU6 mSLJQVNzFz1ZWuHcZm8D2/0gSAmMX1A6AH1fVKTenoRqlEhDM4hKifwLfcrhAzF+esgD /EvR7GNTDvMHJomb/an8UddoDgZY0J2QEVO6u2AksrP0iul/ivNL63iQOQQVSfLkU/IQ BBdL5QsO335vg5SA0m0bnc2BtNc5AgcFyNNdIjy7ic5RlPrUdmiZM4kBbCUC54ay4fp9 eBv4rfGwVYP7aKWCv07dLjf9ufcsCxBkJCru1OMSBoZ2tfCpsm1RC57l6u5jhhs8hOsu IA8g==
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=vVCHl+3AkdyTZzkfmTozoGoVamjj6db/gZB6/g5r74E=; b=kzhfjdjr2r55qnbeJNc5/QB2zSrMd9R/Bu1apFWGffFV7i7AHjMEUZOM9Yn6UaVd6E 3jpRjX1cMR/YE44EN8x0lb3da34P3QSWBdY3i1A2veiXMgrub7ZrTJVx/79/Fy7Uycbf w6Pb3s5kYX9Lwbq3Czf/vKYyzYix6n3ZO4SclnEbEYOId8sIVi3WnW5osqvVbNHbBp6w mQICIapeTOzbI+ooc+PQszXF05WNGxjbHqYHu0Std0aH356PMMbCVPBWIlGPxX8eIFQC r3kgjDlICdIDAKViXHLPLXcH31AvUHFdxc+jNyQmqn2of5j09fypsXmyUGQOk6r645ds 2+HA==
X-Gm-Message-State: APjAAAWtr+++/MBaiRFev3gmGacXAaga/A5n35lr19lPYjG5wIcihYxE GIR3zQju/TQy/5ngxCrd6maBLbVH+lVrL+HkjLtZBA==
X-Google-Smtp-Source: APXvYqzUrVy9syew2hQT+/dX0wkK+mylAT+ABeND4mQDJtjeYDccR/pMhnuQbD1UbdyAjJ0RGguxtMKQJlNfAyepV+k=
X-Received: by 2002:a17:906:1312:: with SMTP id w18mr11658799ejb.149.1567872818638; Sat, 07 Sep 2019 09:13:38 -0700 (PDT)
MIME-Version: 1.0
References: <BYAPR05MB5463153B47BFE83350C566E7AEBA0@BYAPR05MB5463.namprd05.prod.outlook.com> <CA+b+ERm4x072JQZQovX0MVcea3=0DOCSESopAXj_SE1vMi8qkQ@mail.gmail.com> <06CF729DA0D6854E8C1E5121AC3330DFAE9362F9@dggemm529-mbs.china.huawei.com> <CAO42Z2y-hq71wr9ogzmn2=rO0xySy63iXhNXrFDuqO7r5Pwa7A@mail.gmail.com> <CAOj+MMFN5pbaVePWrJA61jd7f9d_2bU-Nu9oppFDsAc_B7APDw@mail.gmail.com> <CAO42Z2x4-9-1YseuyqnCRh7c+J-zb2ksGXpk_Hs17H5uLz4Hvg@mail.gmail.com> <CAOj+MMHHMdGm6Qea4E1ugQBrSYFr7e-FgP+pxoErhEwRR9GwKw@mail.gmail.com> <e31311de-6db5-8172-fbdd-11b461a330c8@asgard.org>
In-Reply-To: <e31311de-6db5-8172-fbdd-11b461a330c8@asgard.org>
From: Tom Herbert <tom@herbertland.com>
Date: Sat, 07 Sep 2019 09:13:26 -0700
Message-ID: <CALx6S35ebeiaoDDea0RDVUDk7h8rU0SVjoUX1g6OoPu4PTTjtw@mail.gmail.com>
Subject: Re: IPv4 EH proposal
To: Lee Howard <lee@asgard.org>
Cc: 6man <ipv6@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/s0TFW1deTs3j6Ug6sCLsTemV9YU>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipv6/>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 07 Sep 2019 16:13:43 -0000

On Sat, Sep 7, 2019 at 8:02 AM Lee Howard <lee@asgard.org> wrote:
>
> IPv4 is dying. Let it go gracefully.
>
Hi Lee,

IPv4 has been "dying" for thirty years. I'd call that a slow death! :-)

> I'm completely opposed to any extensions to the IPv4 specification. By the time the feature set is code complpete, QA'd, and ready for general release, 80% of the world will be using IPv6.
>
> Specific to this case, I have a very hard time understanding the business/engineering case where it would be optimal to implement these extensions rather than deploy IPv6, where they already exist.

The fact is that there are still many deployments of IPv4 and they
need to be maintained. We can't force users to switch to IPv6 in any
timeframe of our choosing and neither is it responsible to abandon
them. Regardless of what IETF says, vendors will still support their
customers that choose to stay on IPv4. A good example of necessary
support is IOAM. IOAM is useful, but not just for IPv6 it would also
be useful in an IPv4 network. So the IPPM group, which is specifying
IOAM, is working on a way to add IOAM information into IPv4.

The idea of IOAM is that intermediate nodes in a path add their
information to packets in flight, and other nodes consume the
information. Sounds familiar? This sort of thing is exactly what
Hop-by-Hop Options are designed to do. But HBH options are currently
unavailable in IPv4 and there really is no defined and robust
mechanism in IPv4 that provides the functionality. IPv4 options are
limited and long considered dead, proposals to put data inside UDP
encapsulations that intermediate nodes consume or set are problematic.
The one technique that *might* work is a new GRE Ethertype that does
nothing more than carry an IOAM header and a next header-- something
like IP-GRE-IOAM-IP-... Effectively, this is adding extension headers
to GRE that are identified by an EtherType as opposed to an IP
protocol number. IMO, this is an abysmal hack! But, it's conceivable
it could be made to work with enough effort. That also raises the
spectre of another problem. If the GRE hack works for IPv4 then it
works IPv6 as well, so a properly lazy protocol developer may use the
GRE method in IPv6 as well to save development and support costs. So
even though there is a right solution for IPv6, the wrong solution
might be used for expediency. In other words, this could be another
case of people doing things in IPv6 like they did in IPv4 instead of
leveraging the capabilities of IPv6-- thereby undermining the IPv6
effort.

So the idea of IPv4 extension headers is to bring something useful
from IPv6 into IPv4 for once. In this way IOAM, for instance, can use
the same and correct solution across both protocols. Also, since the
protocol number space is the same for IPv4 and IPv6, support for
extension headers in IPv4 does not change the core IPv4 specification,
it is enabling use of new IP protocol numbers (something pointed out
by Brian Trammel). It should also be noted that IPv4 already supports
AH and ESP so there is already precedent for IPv4 carrying extension
headers.

Tom

>
> Lee
>
> On 9/7/19 7:32 AM, Robert Raszuk wrote:
>
> /* Adjusting the subject to reflect the topic */
>
> Ok ... I looked at the new wave of mails in wrong order :)
>
> I like this proposal:
>
> https://tools.ietf.org/html/draft-herbert-ipv4-eh-01
>
> And have absolutely nothing against progressing it further - it looks on the surface to be more efficient then sr-mpls over IP - but how many bits are we saving needs to be calculated to state if cost of introducing new encoding justifies the additional control plane, protocol and platform efforts
>
> In fact if we would get to the consensus of using SRH with SID & BSID to be of fixed 20 bits it can reuse a lot of mechanism build for sr-mpls in any commercial router.
>
>  It is just a bit amazing that insertion of EHs into IPv4 would be less problematic that in the case of IPv6 :) Maybe due to allowed fragmentation.
>
> As to the host dropping packets due to unknown protocol - let's observe that SR domain would clean such EH before passing packets further.
>
> Many thx,
> R.
>
>
>
> On Sat, Sep 7, 2019 at 1:14 PM Mark Smith <markzzzsmith@gmail.com> wrote:
>>
>> On Sat, 7 Sep 2019 at 19:56, Robert Raszuk <robert@raszuk.net> wrote:
>> >
>> > > It's tempting to write up SR over IPv4
>> >
>> > You don't have to write anything ... it is already written and looks like moving fwd :)
>> >
>> > https://tools.ietf.org/html/draft-ietf-mpls-sr-over-ip-07
>> >
>>
>> That's tunnelling MPLS over SR over IPv4. I'm talking about native SR
>> over IPv4 e.g. "SRv4".
>
>
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------
>
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------