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

Brian E Carpenter <brian.e.carpenter@gmail.com> Thu, 27 November 2025 04:14 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 F2BE39184A29 for <ipv6@mail2.ietf.org>; Wed, 26 Nov 2025 20:14:39 -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 B_EvIygEjScD for <ipv6@mail2.ietf.org>; Wed, 26 Nov 2025 20:14:39 -0800 (PST)
Received: from mail-pf1-x42c.google.com (mail-pf1-x42c.google.com [IPv6:2607:f8b0:4864:20::42c]) (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 893E59184A20 for <ipv6@ietf.org>; Wed, 26 Nov 2025 20:14:39 -0800 (PST)
Received: by mail-pf1-x42c.google.com with SMTP id d2e1a72fcca58-7b80fed1505so482248b3a.3 for <ipv6@ietf.org>; Wed, 26 Nov 2025 20:14:39 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1764216873; x=1764821673; 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=3V7JC8bJ6+cwtOWGniMBEoRAeAic9EviedM45xzQeuA=; b=Ong+XZ5ReAMcvcPj91thP3Lrst7FS9BZIFtu8MV5EKEOEr10RoUf0AxyeKPsZI+Y+q GOrtC430kggrML67JBiyUWkmTlFUg4DF1rDOr+0cSzuOZ8XXs/4q3KGx8eI1OgZ0LHiF h+kuNSL5KrsCVSz/Ht4/7v1/HSPlQ4crpHizr0iL2CgNv9KONnhuY7UBPmPj6ogBrbF6 rlfM0NJYklYnvKPwxcXuVQrXSjduL4c118xpv5kOUf5PCHzyVPZ2eBznS35MdSV/e08s I5p9MHdivCgYvW+ehV1E8HyMG5rNCrqKAI2fYmCfWCro1qVLiApD577Do1AFz0BW3AYo vE7g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764216873; x=1764821673; 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=3V7JC8bJ6+cwtOWGniMBEoRAeAic9EviedM45xzQeuA=; b=VeHpoM+6FKxpXbbgalWx4wjXN1ASizAYhlx+9xlVNY0zfnslHbVApg0HJQone12qQT mjV0ocf/FtDZ5HiFn9ft5Cb1wjB0RupfYE3mcK+KvYVTetX4V69ZVBGYP+zx3HFYT6Kc YAcIJzZ51fyOi4IieRb6MQ/y7cFoCSk5P38LGvZ3QI/NF08C6gWlEJbIUfGtHREDntou Rx/8sMLP+fuTDlG6Zxu17ithv/NPiCVHl5iW7Ajt9if3Wg9M/vlFudyj0qnwNJBGmMUh vwKkwEQbRqkA261+QKVxM2FsPHw3Fu9BWqB8MHLgBMB+sNiU/yNMvYu2eREy9C1qIXcv 5XGQ==
X-Forwarded-Encrypted: i=1; AJvYcCXtaVQVEVOpkd5ncCExOMHbVSPbO5RbGhmpPb9ESFaS4yLvimD6JJYNNj6GS+CypoCpShPu@ietf.org
X-Gm-Message-State: AOJu0YxuRcZiVyqwdYruRsjI+rz+WJROqERI5jI5bQ+qnfWbDlduNzlv Y+SEs7J7JcSm8A0oqzOwx76iuE8OWFXkGHNtyqEtcXXdTfgA3y2UL8AZ6ZjCvk3u
X-Gm-Gg: ASbGnctsrnshmmCaNHHvOwE0VZ+haFcWdbFBu+TQ2MijYgq6mSGT4mUjdNgiPQZUdD6 6XSHcG0tZXd88KQ/jMkhZdtOqieuONUMF7BQnfJP3IdDkZmiS472n4OX2iUtWyamsY9SHdz2nc/ 8oSE/PW1UgUsNU/9zy3XftERyWQmCaJ8SQlS9BNxgGV3zioYi0oxjp2me8w+lY6nL4ehZ2ZScdC PvP4A5n5KE2c4N06yow72Hxxt8CbX47ouGDfexFIOfodoYUGt5RK8yJofqoQAh3bzFV8l19jmat VkhFi/ty9Dn6OJw4B4o2kU+JebQQkAF9PI6HPjxBBqX3b66y0zWastW9saC9nhEMs/oBRrlxpGv hxvlcwUJnwhYEH+kGRQLJNU4Z4vb7wiealuP2YnOS7MraO6i30tGjCAyHAoTem1nyKeTHHjBmkh DqchArAxMGFhziJyniR5zqSty/bKwJm/jaEuTOgb8XTC+WUP/zJSCQfkxSVq0rval1EzdwJfhfF hI=
X-Google-Smtp-Source: AGHT+IGrOtU9/IIdyMnEpIfLQM+upWKhZ7CDFs9rcXDu1h8WG6h4b02PsO14wZssCN6Uqjoqr6ZE0g==
X-Received: by 2002:a05:6a00:995:b0:7ae:8821:96c7 with SMTP id d2e1a72fcca58-7c58e60ab3cmr27225407b3a.17.1764216872773; Wed, 26 Nov 2025 20:14:32 -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 d2e1a72fcca58-7d15fb1430csm176553b3a.59.2025.11.26.20.14.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 26 Nov 2025 20:14:32 -0800 (PST)
Message-ID: <a6d3681e-f9dd-4c4a-b18f-6d600096556e@gmail.com>
Date: Thu, 27 Nov 2025 17:14:28 +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> <5bdb1de3-7901-4665-b7ed-43344c2192d8@gmail.com> <1FD6AE49-9AF6-4BB2-A458-CD3B5407D757@msweet.org>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
In-Reply-To: <1FD6AE49-9AF6-4BB2-A458-CD3B5407D757@msweet.org>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: base64
Message-ID-Hash: 2M7HADGCB6JMDNYT5BNBRHDR5W6MZON2
X-Message-ID-Hash: 2M7HADGCB6JMDNYT5BNBRHDR5W6MZON2
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/q4jbioncRDu6cXl-gxnTDow4uqg>
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>

Michael,

On 27-Nov-25 10:47, Michael Sweet wrote:
> Brian,
> 
>> On Nov 26, 2025, at 3:25 PM, Brian E Carpenter <brian.e.carpenter@gmail.com> wrote:
>> ...
>> (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.
> 
> I haven't noticed any particular issues with my Linux laptop or VMs using Avahi, although for my home office the Wi-Fi and Ethernet are treated as a single LAN (Ubiquity DM Pro + a bunch of APs and switches) so it is possible I am just "lucky".  

The problems that I saw are described in the README at https://github.com/becarpenter/misc/tree/main/zelect

The worst issue was that if mDNS resolves test.local to a link-local IPv6 address (and no IPv4 address), which requires a non-zero Zone Index, then 'ping test.local' worked OK, but both 'ping6 test.local' and 'ping -6 test.local' failed with 'invalid argument'. Therefore, one code path was picking up the interface index correctly, and the other two weren't.

Similarly, Firefox worked as expected on http://test.local, but Chrome failed.

That indicated that indeed Avahi was doing the right thing. I didn't dig into the ping/ping6 source code, however.

There was also a gap in 'avahi-publish-address' which I noticed.

Since my test setup was ancient, I don't know if the problems still exist.

> Similarly, my Apple gear (which uses mDNSResponder) doesn't seem to have any issues.  Both return IPv6 results with the scope zone index set to the required interface.

I can't test Apple. Windows 10 seemed to be doing the right thing.

    Brian