[IPv6]Re: [v6ops] New draft: "The IPv6 Loopback Address Prefix"

Brian E Carpenter <brian.e.carpenter@gmail.com> Wed, 26 November 2025 20:25 UTC

Return-Path: <brian.e.carpenter@gmail.com>
X-Original-To: ipv6@mail2.ietf.org
Delivered-To: ipv6@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id A5CB39152A39 for <ipv6@mail2.ietf.org>; Wed, 26 Nov 2025 12:25:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DTt2II6xyEE6 for <ipv6@mail2.ietf.org>; Wed, 26 Nov 2025 12:25:09 -0800 (PST)
Received: from mail-pj1-x1033.google.com (mail-pj1-x1033.google.com [IPv6:2607:f8b0:4864:20::1033]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id 3508E9152A30 for <ipv6@ietf.org>; Wed, 26 Nov 2025 12:25:09 -0800 (PST)
Received: by mail-pj1-x1033.google.com with SMTP id 98e67ed59e1d1-3437af8444cso136252a91.2 for <ipv6@ietf.org>; Wed, 26 Nov 2025 12:25:09 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1764188708; x=1764793508; darn=ietf.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=BkLoSd7+VsWLuONkVFni3T0IeVM/qpYjrEe5WlQTGMw=; b=IMU3UT84YLMXuQk8mFoI4hgEcPi1OA+BgtvXBlQ0FiyLIxr3CdeAf9m5GnYRntvaNC 2l3+q7XdpWMy9FTIqLIAPMt9JghCUNJ7NYvFvK0acmTfapMtZ2+3ybkyeW/LkJZE1nLN 8715iO7f2lhxfCLGfN7fOwm0DKmAWxSQ8FuCdyWAgnfNQ1oNMhu07CD/FjIzF/awX/T+ CYTSlmtwx2RnbZeGft3jYve6asuuFILuePdjEH8NXepF1rGbGA4RIqP10gEkIHPDjU9D JJs6EK8cCdSXSAUA0VMCg7wGbrWVy6fTNBWFa42+hRRF1cVqjI7USH9TvssLEs5Cml5+ yyeA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764188708; x=1764793508; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=BkLoSd7+VsWLuONkVFni3T0IeVM/qpYjrEe5WlQTGMw=; b=LP78ERJK7SQVgZ8cktd5uZskjxcyzEKvkGp/hJr2Vtxeva1F8b6aKxRiUVGh3XuU// j+fEvfymU8iU7CTScKKTGawhd25BhcOwAvQFR09eFN7ygZgvCkGER9CbGfDgQ/4qoXrM K1MY4RqDc02H3r7jXhlpa9T3PwX0M0E4bIXbDKIqpzOzvu2tNYXb6wvSHxA3cffaFo/w FGCxGXjp1YpSMY5UTeK5x5xv5b7kuTNkedV0qwT+oOgxcWKIiEyKhPN0pi8SKpbcPOkv tZZuesESuuDCMEQ1q3xh7ZYvsvl8HltFOCSVCsRdhdx8/Hqo2Xk1G7uomlW79xDB9n40 gSMg==
X-Forwarded-Encrypted: i=1; AJvYcCUN8+UuHtta/n6UrZelKhOrXExaJvVnhY1wJPs7xO/5x//8gU0xor5RrkufaNv21/f6g3w6@ietf.org
X-Gm-Message-State: AOJu0YyGF8XTsUdoX59K26TuxL7JNrccZut+RjO6dcdybgqYEy6JoXvA Dq1ohWicffDQdzYAvsPF95iJPxVlbVvP2ncmhk3FJDvmqFobTXJg256j
X-Gm-Gg: ASbGncvBGfHP6/BfmxR1j5c7n6DG8UU0py9M8yReOlEzCpZIPV1T7RV59HQsiFiWXhW JN8ToZcJ2S4AHyqMKeW3oSPp0tOZINu8Dby0oAaFE2Jp5TqnzR+WgEsMi9QPd03LbrfWXVb83e2 9xMOO7dljY/CLaa8eVAndqm6RG7vuh/bqBStOjUYXbp32HdKz+6gQskgA4rDWcDgMk2p8dDktcN GYJv2FkA0JV1B5agZUBoA03ojfDoOUqhXli6n6oi4IDyONqzR1YkEQiXEacwI4uLmNWNzrguPWy SeUq5NbYOunSJXvCWposp1OvEOKfZyFERTTvAVtKkzF8HKfXhMUo10gvNd7+VqlBZ541l0wl8ZU wfXYFH4YueQD8kI3wq3Sorg5srPjX/FB8AdqHwmU7C4W5uj6Uvp7ptbXe2DXwr00W1eYy+tQXcw KsWKOOOJnrJ2ynRECToNtpl7lhl+1/T2ji8AG9bJxfA7jTUOvjGf8uCRKlTlNGDaMkZLDUZzivU jU=
X-Google-Smtp-Source: AGHT+IG5vioPaegv7WR2w65mNQWjgDyBzVgMTanvCa2HCY/gQC9kjlK8MWyQ8rrHz1wh7URE2cO5JA==
X-Received: by 2002:a17:90a:ec8f:b0:340:c179:3666 with SMTP id 98e67ed59e1d1-34733e551e9mr17529794a91.8.1764188708191; Wed, 26 Nov 2025 12:25:08 -0800 (PST)
Received: from ?IPV6:2404:4400:540a:800:8bdd:3b5f:46ae:fd4c? ([2404:4400:540a:800:8bdd:3b5f:46ae:fd4c]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3475ea1b3e8sm2454054a91.5.2025.11.26.12.25.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 26 Nov 2025 12:25:07 -0800 (PST)
Message-ID: <5bdb1de3-7901-4665-b7ed-43344c2192d8@gmail.com>
Date: Thu, 27 Nov 2025 09:25:02 +1300
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US
To: Michael Sweet <msweet@msweet.org>
References: <CAO42Z2wmCYvqpCGn6LxLW0otHS0kqmS6jGXkXqLtcKhPJn9eMQ@mail.gmail.com> <38F85990-939F-47AA-9A04-24EEC29E4F41@gmail.com> <CAO42Z2ykz37BOKpxxHVhwGKzQfTCLokbcU7wCg9-SDWoK+ahhg@mail.gmail.com> <1FCD4A72-65B5-40D4-AEBA-A7EB1CE3FA6F@msweet.org>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
In-Reply-To: <1FCD4A72-65B5-40D4-AEBA-A7EB1CE3FA6F@msweet.org>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: base64
Message-ID-Hash: YK6WFE2I2NGODEFTYKTCWYGBAJ6YEVHL
X-Message-ID-Hash: YK6WFE2I2NGODEFTYKTCWYGBAJ6YEVHL
X-MailFrom: brian.e.carpenter@gmail.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-ipv6.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: Ole Trøan <otroan.ietf@gmail.com>, Gert Doering <gert@space.net>, Geoff Huston <gih902@gmail.com>, IPv6 <ipv6@ietf.org>, IPv6 Operations <v6ops@ietf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [IPv6]Re: [v6ops] New draft: "The IPv6 Loopback Address Prefix"
List-Id: "IPv6 Maintenance Working Group (6man)" <ipv6.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/GX-IEBUIXPVfrLcxsePkeCFDuRQ>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipv6>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Owner: <mailto:ipv6-owner@ietf.org>
List-Post: <mailto:ipv6@ietf.org>
List-Subscribe: <mailto:ipv6-join@ietf.org>
List-Unsubscribe: <mailto:ipv6-leave@ietf.org>

On 27-Nov-25 07:19, Michael Sweet wrote:
> Ole,
> 
>> On Nov 26, 2025, at 12:52 PM, Mark Smith <markzzzsmith@gmail.com> wrote:
>>
>> Hi Ole,
>>
>> On Thu, 27 Nov 2025 at 00:18, Ole Trøan <otroan.ietf@gmail.com> wrote:
>>>
>>> Mark,
>>>
>>> Since the loopback address is of link-local scope you can already do this with multiple loopback interfaces.
>>> ::1%loop0
>>> ::1%loop1
>>>
>>
>> That's interesting.
>>
>> One thing I think worth avoiding is having to use loopback addresses
>> with zone IDs to minimise the amount of typing since these addresses
>> may be commonly typed in manually.
> 
> One other thing, and something that has been a sore spot for IoT devices like printers forever, is that relying on using zone/scope IDs doesn't work for services that use URIs.  The old URI WG and somewhat more recently 6man have tried extending URIs to support IPv6 addresses with zone/scope IDs three different ways (mainly for link-local addresses but really for any address whose routing depends on it) and have failed.
> 
> There isn't a lot we can do for link-local addresses (there we have to rely on mDNS hostnames), but for loopback addresses things *should* Just Work if every loopback interface has a unique address and not "::1%ZONEID".

None of which is helped by:

(a) the confusion I already mentioned between loopback meaning "loop back" and loopback meaning "virtual interface";

(b) the fact that Linux fails to support a default zoneid;

(c) Linux seems to think that %lo is interface 0, which should in fact be the default interface;

(d) as far as my experiments went, mDNS on Linux has messed up support for link-local addresses, which all need a zoneid because of (b). Which is probably the real reason that ::/96 would work on Linux virtual interfaces but fe80::/10 wouldn't.

    Brian

> 
> ________________________
> Michael Sweet
> 
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> List Info: https://mailman3.ietf.org/mailman3/lists/ipv6@ietf.org/
> --------------------------------------------------------------------