Re: [Int-area] tunneling and recursion (was: Re: New Version Notification for draft-li-int-aggregation-00.txt)

Dino Farinacci <farinacci@gmail.com> Tue, 01 March 2022 19:19 UTC

Return-Path: <farinacci@gmail.com>
X-Original-To: int-area@ietfa.amsl.com
Delivered-To: int-area@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8722B3A0ADB for <int-area@ietfa.amsl.com>; Tue, 1 Mar 2022 11:19:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.108
X-Spam-Level:
X-Spam-Status: No, score=-2.108 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001] autolearn=ham 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 YTL82Rm3P2MQ for <int-area@ietfa.amsl.com>; Tue, 1 Mar 2022 11:18:56 -0800 (PST)
Received: from mail-pf1-x42c.google.com (mail-pf1-x42c.google.com [IPv6:2607:f8b0:4864:20::42c]) (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 22C5E3A0AAF for <int-area@ietf.org>; Tue, 1 Mar 2022 11:18:56 -0800 (PST)
Received: by mail-pf1-x42c.google.com with SMTP id x18so15178669pfh.5 for <int-area@ietf.org>; Tue, 01 Mar 2022 11:18:56 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=Msimf+9g3T8LRYN7BcpqU9ga0sUYMWS5cZiow2LRGzk=; b=Cy0VHbpDKlwJWlskg8pZT6cvseFGE7uPkYCl6x+cltgnI9BBA4jgl0lywoDU/KcFvc 7q4n6CllczH7zjZuXsvLTo9IARfqmM/XN+imCPGK4EwCW1ZdDKTk8Pl48ggNIYGhJMe1 7Kmt1733FLFr0RzAFCCUlXbA6E+JcmtfxrTkjojMJV8D9dKQ9QOrgxe4eTTXcR6tgxSL 0xTne8SdjAKCAenR8PnE28gLD/la2sU29Wjv14+nQh+Ep2xT9n0FjB55eoCFcOda2adF zvhlN9G5vxwZsjKLOzdHYuDym8IxdImuN63PFDZEpnAIQ00h93vniuky+u7fomcw+JI6 eqAg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=Msimf+9g3T8LRYN7BcpqU9ga0sUYMWS5cZiow2LRGzk=; b=u69VYLOXSZ6BYrNI9yjWuWQnGccfHzXPb3mcoHgqVvOij7t3B95gtRYdjpLmIGKHKG WbtWNFVAVbjwOOnVqmDAfvw3PdUZsuigSYaxIbsv4iB1kxeNcZaJ424lad+IZRmBG0mD nKdCqf8rCLbHgTUqv19nR/Rqs2kHvx9/EhTgrpRRkzjBsBDiviRvDNf5T73mtLs7/S8C Hy+dFZygk0J+Ivh2dhafsFD+cdoJRSUul0GJ3WhfUV8wyjuy5+dhDUkIWhVTvpSCfOBQ 0wtEii/ouH4CkRvMDIaf7OWqwvkIACW+ga0NVeEGGXx/ei1I14uFCmm1h3KfwOkZrf1z N0XQ==
X-Gm-Message-State: AOAM530GHmHT2NzdsD3xs8IdhIYV7O5TbN0Fz/MgQ3Um6GITUEO1lmjx 8+rhnZPsn4amHSMjjBIMhh8=
X-Google-Smtp-Source: ABdhPJxpqpChRZX3KuHT6T4O+7YQmrPwU4hZuCqKh5BElJE+7LfsxZN42w5ZvKh2/E4gMnASzKmRAA==
X-Received: by 2002:a05:6a00:234a:b0:4e0:f776:876b with SMTP id j10-20020a056a00234a00b004e0f776876bmr29451523pfj.84.1646162335105; Tue, 01 Mar 2022 11:18:55 -0800 (PST)
Received: from smtpclient.apple (c-98-234-33-188.hsd1.ca.comcast.net. [98.234.33.188]) by smtp.gmail.com with ESMTPSA id x6-20020a17090aa38600b001bce781ce03sm2752471pjp.18.2022.03.01.11.18.54 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 01 Mar 2022 11:18:54 -0800 (PST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.60.0.1.1\))
From: Dino Farinacci <farinacci@gmail.com>
In-Reply-To: <1D5CAC25-C124-4DC0-8D3C-CFFAA7CD6530@strayalpha.com>
Date: Tue, 01 Mar 2022 11:18:53 -0800
Cc: Toerless Eckert <tte@cs.fau.de>, int-area@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <F5E77A57-B25F-4F7C-9F66-B7CB4DA77B84@gmail.com>
References: <3A090D0C-7F0F-4CBD-889A-FB714DD2AA92@gmail.com> <1D5CAC25-C124-4DC0-8D3C-CFFAA7CD6530@strayalpha.com>
To: Joe Touch <touch@strayalpha.com>
X-Mailer: Apple Mail (2.3693.60.0.1.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/int-area/soFP1Vq-uWoBYWDg8TtSEOkMTNw>
Subject: Re: [Int-area] tunneling and recursion (was: Re: New Version Notification for draft-li-int-aggregation-00.txt)
X-BeenThere: int-area@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: IETF Internet Area WG Mailing List <int-area.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/int-area>, <mailto:int-area-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/int-area/>
List-Post: <mailto:int-area@ietf.org>
List-Help: <mailto:int-area-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/int-area>, <mailto:int-area-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Mar 2022 19:19:01 -0000

Okay, we are synced.

Dino

> On Feb 28, 2022, at 10:35 PM, Joe Touch <touch@strayalpha.com> wrote:
> 
> In the example I gave, I was equating GRE *to* UDP, not saying it ran over UDP, though it can (port 4754, per RFC 8086).
> 
> Joe
> 
>> On Feb 28, 2022, at 10:15 PM, Dino Farinacci <farinacci@gmail.com> wrote:
>> 
>> There is no UDP port number assigned for GRE because it does not run over UDP. It runs DIRECTLY over IP. Check the RFC if you don’t believe me. 
>> 
>> Dino
>> 
>>> On Feb 28, 2022, at 9:29 PM, touch@strayalpha.com wrote:
>>> 
>>> 
>>>>>> On Feb 28, 2022, at 8:00 PM, Dino Farinacci <farinacci@gmail.com> wrote:
>>>>>> 
>>>>>> There is a base case to the recursion, i.e., where logical information meets fermions and bosons (literally). But that tells you only that base layer; it tells you nothing about the meaning of the headers you see inside, e.g., in OSI, they would be 1,2,3,4,5,6,7, but in an IP tunnel, they could be 1,2,3,3,4,5,6,7, with GRE they could be 1,2,3,2,3,4,5,6,7, etc.
>>>> 
>>>> An IP tunnel with protocol number 4 is indeed 1,2,3,3,4,5,6,7, but LISP (UDP port 4341) UDP tunnels are 1,2,3,4,3,4,5,6,7 and GRE is 1,2,3,3,4,5,6,7 because it runs directly over IP with protocol number 47.
>>>> 
>>>> Dino
>>> 
>>> If GRE runs over IP, then it would be the same as IP-over-UDP tunnels:
>>> 
>>> 1,2,3(IP), 4(GRE, since it is a protocol number of IP), 3(IP in GRE), 5,6,7, i.e.: 1,2,3,4,3,4,5,6,7
>>> 
>>> It’s all actually relative, though - to the left IP, GRE is layer 4. To the right IP, GRE is layer 2.
>>> 
>>> Joe
>