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 06:15 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 90D613A1908 for <int-area@ietfa.amsl.com>; Mon, 28 Feb 2022 22:15:44 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.107
X-Spam-Level:
X-Spam-Status: No, score=-2.107 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, MIME_QP_LONG_LINE=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 cAmjYcgJq3ll for <int-area@ietfa.amsl.com>; Mon, 28 Feb 2022 22:15:39 -0800 (PST)
Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) (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 9B0CD3A1909 for <int-area@ietf.org>; Mon, 28 Feb 2022 22:15:28 -0800 (PST)
Received: by mail-pj1-x1032.google.com with SMTP id cx5so661334pjb.1 for <int-area@ietf.org>; Mon, 28 Feb 2022 22:15:28 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=D7u7fZaPmryntKoeJ0gYIVfJI4uySgvxDJ7WRVEWLtA=; b=ENZec2UpftHG4MvXPUvJSJebHh2t+aaXhedgRh8b3Fjd6PQA3qBsLOUgpmZN3Kn+YU uFbWMkF0B/0hLH8GhBg2l8WRMkuMvXZSx/jLzxH200XMxe5SocnDnMtlIZ0UFEww3xTa rJWg6tH49fuwCoS2O4pJq6RL5nKNr3Y7Sl+C5O+KGYoT8h+QtEbkJZtTRUZvRAsd3XM2 GyDxGenf7DU6fsm/9qwJBTOGRDGiYfryBeR+YqZdm6B3lo+xSBQ5JWKunml7LlhM2rpG SZxO8IzCyBT02F5IVQCQh5w2p0nksXlkzdmK0147/okXvrtflBoT7iYAjReGjoSEpcMA NlRQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=D7u7fZaPmryntKoeJ0gYIVfJI4uySgvxDJ7WRVEWLtA=; b=qWzwVHQ7k+ppNKobz4qkrgVH1PdDFl+dz2pdyifnH9FjuQzZSeHGCSr4drGRi5WhwA 8ykU7NITzduFoTsnhS1BTI1MTlr3bkMzccjes+9R2uSzC3CQ6isPg3no/xdpAKsfRTDF FOKH3fsWw3RwU8F0j0N/5i7lLRxiFCTrZLNKT4Pqq1oUG3VXEi4o28z4Y0f2rBNp0Ce7 fIH9JGXsRtMeHGJGADlSGaPo0H637N3rwBbTE1PCdEyTNFWnL723h2txkq4zRaQY1Dzn vFiquySpZTQ58nGKhZU2BN3uTtKP1UKSzcjGxFrWA/y57pKBmCaVrfvEAKnrHk/+jECV Ztqw==
X-Gm-Message-State: AOAM531SYHdzeYQWZcDmACYHBY92OuQxFw7NYuXn1c3ADe5UWYp7Uhgt y2z/eR2zxFXTfDzQQqQ6aa9yf/T7dpOV0w==
X-Google-Smtp-Source: ABdhPJwIp/hIPFGr91bLXH+xfUttCPdhDO1gtH4WPLzYo8kyvJB8fupppFXeiIuqsgDNXtpwTNhLTg==
X-Received: by 2002:a17:902:e552:b0:14f:bfec:eb2c with SMTP id n18-20020a170902e55200b0014fbfeceb2cmr24061013plf.108.1646115326937; Mon, 28 Feb 2022 22:15:26 -0800 (PST)
Received: from smtpclient.apple ([2601:646:9600:fef0:8c9:22c7:a7f1:5244]) by smtp.gmail.com with ESMTPSA id p10-20020a056a000b4a00b004e12fd48035sm15793736pfo.96.2022.02.28.22.15.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 28 Feb 2022 22:15:26 -0800 (PST)
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
From: Dino Farinacci <farinacci@gmail.com>
Mime-Version: 1.0 (1.0)
Date: Mon, 28 Feb 2022 22:15:24 -0800
Message-Id: <3A090D0C-7F0F-4CBD-889A-FB714DD2AA92@gmail.com>
References: <5CABF4BC-C54F-46F1-906A-8CB11C1035C2@strayalpha.com>
Cc: Toerless Eckert <tte@cs.fau.de>, int-area@ietf.org
In-Reply-To: <5CABF4BC-C54F-46F1-906A-8CB11C1035C2@strayalpha.com>
To: touch@strayalpha.com
X-Mailer: iPhone Mail (19E5235a)
Archived-At: <https://mailarchive.ietf.org/arch/msg/int-area/SBh0l_H6PPFjRaSzEgAkedHzDws>
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 06:15:45 -0000

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