[IPv6]Re: [v6ops] New draft: "The IPv6 Loopback Address Prefix"
Arseny Maslennikov <ar@cs.msu.ru> Wed, 11 February 2026 09:17 UTC
Return-Path: <ar@cs.msu.ru>
X-Original-To: v6ops@mail2.ietf.org
Delivered-To: v6ops@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 1EAD9B544842; Wed, 11 Feb 2026 01:17:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, 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=cs.msu.ru
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 okyRrRAgHTOH; Wed, 11 Feb 2026 01:17:02 -0800 (PST)
Received: from mail.cs.msu.ru (mail.cs.msu.ru [188.44.42.39]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id 23697B544837; Wed, 11 Feb 2026 01:16:59 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cs.msu.ru; s=dkim; h=Subject:In-Reply-To:Content-Transfer-Encoding:Content-Type: MIME-Version:References:Message-ID:To:From:Date:Sender:Reply-To:Cc:Content-ID :Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To: Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe :List-Post:List-Owner:List-Archive; bh=7Z2DTmNTfpgFUBCGIe+g5CqLnpWJPmBUlJWse4oIxTM=; b=DeXCNo6gwuLaAPMhZeJemjZMw1 GLfU+GbQhI8kulFck7i596bLz3tp2MBEC27OceM5ikbswGOTgPCmiCOPqtK9Xsi+K8GTm6xks52EN DjsNlKjV0pLu2OeiBOCIBEJPs+Wly88cxIX54u6uyD8LRDfX+JVgcUiFjtU4dYlXxm4KXWNWuCgB7 uo0PP6MnywEQzkU6brKbiexw/IcUqw9ybCT+OcuES0mmTbrivsKWZSLLMu91OijzU28EUJpaQfmUJ b2/y4sAah72Pmy2Q9gDaWLuBKKHQx7EYumL0Bz9reHFhBJhmkhswiV2MnWJthHcfLfbdCxWrJ4J2b xT2cqSrA==;
Received: from [37.204.126.93] (port=53210 helo=cello) by mail.cs.msu.ru with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98 (FreeBSD)) (envelope-from <ar@cs.msu.ru>) id 1vq6L2-000000002tS-2IjU; Wed, 11 Feb 2026 12:16:50 +0300
Date: Wed, 11 Feb 2026 12:16:47 +0300
From: Arseny Maslennikov <ar@cs.msu.ru>
To: IPv6 <ipv6@ietf.org>, IPv6 Operations <v6ops@ietf.org>, Warren Kumari <warren@kumari.net>, Geoff Huston <gih902@gmail.com>
Message-ID: <DGC0NQFOMUKT.3KUWWFDFCYS06@cs.msu.ru>
References: <CAHw9_i+b=uZozstCAm1Kr52Pj-_Y_aCndHc0e703rMUr9va=iA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <CAHw9_i+b=uZozstCAm1Kr52Pj-_Y_aCndHc0e703rMUr9va=iA@mail.gmail.com>
X-Mailer: aerc 0.21.0
X-SA-Exim-Connect-IP: 37.204.126.93
X-SA-Exim-Mail-From: ar@cs.msu.ru
X-SA-Exim-Version: 4.2.1
X-SA-Exim-Scanned: No (on mail.cs.msu.ru); Unknown failure
X-MailFrom: ar@cs.msu.ru
X-Mailman-Rule-Hits: nonmember-moderation
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-v6ops.ietf.org-0
Message-ID-Hash: B5OKZEMKZRZ2Q3XVQLVDVO2N35LV25ZB
X-Message-ID-Hash: B5OKZEMKZRZ2Q3XVQLVDVO2N35LV25ZB
X-Mailman-Approved-At: Wed, 11 Feb 2026 08:26:55 -0800
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/Jlu-nGv97kMx-C0h0jifeMknhh4>
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 Tue Nov 25, 2025 at 5:38 PM UTC, Warren Kumari wrote:
> Dear 6MAN and V6OPS,
(inline replies follow)
> Geoff Huston and I have just submitted draft-kumari-ipv6-loopback - "The
> IPv6 Loopback Address Prefix"
> <https://datatracker.ietf.org/doc/draft-kumari-ipv6-loopback/>
>
> We believe that it is within the 6MAN charter ("The 6man working group is
> responsible for the maintenance, upkeep, and advancement of the IPv6
> protocol specifications and addressing architecture."), but I have CCed
> V6OPS as well, as it is clearly operational as well.
>
> Abstract:
> "This document updates the IP Version 6 Address Architecture to define the
> IPv6 address prefix ::/32 as the Loopback address prefix."
>
> Basically, this document expands the single loopback address ::1/128 into a
> prefix.
Being late to the party I am surprised throughout the numerous mails in
this thread no one has suggested to use the link-local unicast range.
To cover use cases for additional host-local addresses, fe80::/10
coupled with a "loopback virtual interface" abstraction are sufficient
and plenty and do not deplete the address pool, and, with all due
respect, no further 6man work is needed here — we have all the tools
already.
IOW, we do not need more host-local addresses, since we can use
link-local addresses of a single host-local link, avoiding the
requirement to set up multiple loopback interfaces.
> There are a number of situations in which having more than a single address
> is helpful; an obvious example of this is Dockers/k8s use of 127.0.0.11 for
> the DNS resolver, SPAM RBL use of the last octet on 127.0.0.x to encode the
> type of SPAM. It is also relatively common it use this for inter-service
> communication in container environments.
>
> It is also a common practice to bind different services to
> different addresses in the IPv4 loopback space to allow for scaling
> (avoiding the "Port already in use" issue), testing, etc. Yes, these can
> be somewhat emulated with ULAs and / or additional interfaces and scopes,
> but they are all more complicated, and much more likely to result in
> leakage or collision.
Binding a socket to a link-local address on a virtual host-local link
is not hard.
Since Docker and k8s were mentioned, it would not be distasteful of me
to give a Linux-specific example. The following code works on Linux
today, with a small nudge.
.. code-block:: c
#include <netinet/in.h>
const struct sockaddr_in6 local53 = {
.sin6_family = AF_INET6,
.sin6_addr.s6_addr = {
0xfe, 0x80, 0x0, 0x35,
0, 0, 0, 0,
0, 0, 0, 0,
0, 0, 0, 1,
},
.sin6_scope_id = 1,
.sin6_port = 53,
};
This makes use of the fact that the Linux kernel always sets up the
loopback interface (in each net namespace) so that it has an ifindex of 1.
A more portable way to construct such a sockaddr would be:
.. code-block:: c
struct addrinfo * result;
getaddrinfo("fe80:35::1%lo", "domain",
{ .ai_flags = AI_PASSIVE, .ai_socktype = SOCK_DGRAM, },
&result);
/* The sockaddr is at result->ai_addr, result->ai_addrlen */
The aforementioned nudge is, for the above to work, a route entry has to
be created in the system to the equivalent of::
ip -6 r add local fe80::/10 dev lo proto kernel metric 1
This harmless action can be done at system init by default (or, with a
17-line patch to the kernel, by the kernel itself), just after ::1 is
assigned.
Yes, binding to such a sockaddr would likely require OS-specific
additional measures (e. g. setting IP_FREEBIND), just like both
127.0.0.11 and the ::1%lo2 proposal. This is no problem, since there is
no actual networking between disparate hosts, and IPv6 is used as
API/IPC within a host. Also, system software developers are already used
to this.
There were another two use cases for host-local addresses raised in this
thread: automated testing of application software and of networking
software (routing protocol impls, etc.). In case of application
software, the CI/testing environment can do whatever preparation steps
are required before running the tests, so I believe the above is
applicable here without any issues. To test networking software,
designated loopback interfaces aren't really fit (to my maybe limited
understanding), and we have the various GUA space carveouts, e. g. doc
prefixes.
As for the URI difficulties with fe80::%lo : if the sockaddr is resolved
from a name, this is not a problem at all. We are talking about
host-local communication here; no need to involve the DNS, the sockaddr
can be synthesized locally, just like "localhost" was locally resolved
to ::1 for decades. Chrome bugs are bugs of Chrome.
--
WBR,
an occasional lurker of v6ops
- [IPv6]Re: [v6ops] New draft: "The IPv6 Loopback A… Jeremy Duncan
- [IPv6]Re: [v6ops] New draft: "The IPv6 Loopback A… Geoff Huston
- [IPv6]Re: [v6ops] New draft: "The IPv6 Loopback A… David Farmer
- [IPv6]Re: [v6ops] New draft: "The IPv6 Loopback A… Geoff Huston
- [IPv6]Re: [v6ops] New draft: "The IPv6 Loopback A… Maciej Żenczykowski
- [IPv6]Re: [v6ops] New draft: "The IPv6 Loopback A… David Farmer
- [IPv6]Re: [v6ops] New draft: "The IPv6 Loopback A… David Farmer
- [IPv6]Re: [v6ops] New draft: "The IPv6 Loopback A… Geoff Huston
- [IPv6]Re: [v6ops] New draft: "The IPv6 Loopback A… Mark Smith
- [IPv6]Re: [v6ops] New draft: "The IPv6 Loopback A… Geoff Huston
- [IPv6]Re: [v6ops] New draft: "The IPv6 Loopback A… Mark Smith
- [IPv6]Re: [v6ops] New draft: "The IPv6 Loopback A… David Farmer
- [IPv6]Re: [v6ops] Re: Re: New draft: "The IPv6 Lo… David Farmer
- [IPv6]Re: [v6ops] New draft: "The IPv6 Loopback A… Mark Smith
- [IPv6]Re: [v6ops] Re: New draft: "The IPv6 Loopba… Geoff Huston
- [IPv6]Re: [v6ops] Re: Re: New draft: "The IPv6 Lo… David Farmer
- [IPv6]Re: [v6ops] New draft: "The IPv6 Loopback A… Terry Sweetser
- [IPv6]Re: [v6ops] Re: New draft: "The IPv6 Loopba… Owen DeLong
- [IPv6]Re: [v6ops] Re: New draft: "The IPv6 Loopba… Brian E Carpenter
- [IPv6]Re: [v6ops] Re: Re: New draft: "The IPv6 Lo… Owen DeLong
- [IPv6]Re: [v6ops] Re: New draft: "The IPv6 Loopba… Owen DeLong
- [IPv6]Re: [v6ops] Re: New draft: "The IPv6 Loopba… Mark Smith
- [IPv6]Re: [v6ops] Re: New draft: "The IPv6 Loopba… sthaug
- [IPv6]Re: [v6ops] Re: New draft: "The IPv6 Loopba… Ole Trøan
- [IPv6]Re: [v6ops] New draft: "The IPv6 Loopback A… Ole Trøan
- [IPv6]Re: [v6ops] New draft: "The IPv6 Loopback A… Warren Kumari
- [IPv6]Re: [v6ops] New draft: "The IPv6 Loopback A… David Farmer
- [IPv6]Re: [v6ops] Re: New draft: "The IPv6 Loopba… Gert Doering
- [IPv6]Re: [v6ops] Re: New draft: "The IPv6 Loopba… Mark Smith
- [IPv6]Re: [v6ops] Re: New draft: "The IPv6 Loopba… Gert Doering
- [IPv6]Re: [v6ops] New draft: "The IPv6 Loopback A… Templin (US), Fred L
- [IPv6]Re: [v6ops] Re: Re: New draft: "The IPv6 Lo… Templin (US), Fred L
- [IPv6]Re: [v6ops] New draft: "The IPv6 Loopback A… Michael Sweet
- [IPv6]Re: [v6ops] New draft: "The IPv6 Loopback A… Michael Sweet
- [IPv6]Re: [v6ops] New draft: "The IPv6 Loopback A… Michael Sweet
- [IPv6]Re: New draft: "The IPv6 Loopback Address P… Warren Kumari
- [IPv6]Re: [v6ops] New draft: "The IPv6 Loopback A… Maciej Żenczykowski
- [IPv6]Re: [v6ops] Re: New draft: "The IPv6 Loopba… Gert Doering
- [IPv6]Re: [v6ops] Re: New draft: "The IPv6 Loopba… Mark Smith
- [IPv6]Re: [v6ops] New draft: "The IPv6 Loopback A… Brian E Carpenter
- [IPv6]Re: [v6ops] New draft: "The IPv6 Loopback A… Brian E Carpenter
- [IPv6]Re: [v6ops] Re: Re: New draft: "The IPv6 Lo… Michael Richardson
- [IPv6]Re: [v6ops] Re: New draft: "The IPv6 Loopba… Maciej Żenczykowski
- [IPv6]Re: New draft: "The IPv6 Loopback Address P… Bob Hinden
- [IPv6]New draft: "The IPv6 Loopback Address Prefi… Warren Kumari
- [IPv6]Re: [v6ops] New draft: "The IPv6 Loopback A… Brian E Carpenter
- [IPv6]Re: New draft: "The IPv6 Loopback Address P… Brian E Carpenter
- [IPv6]Re: New draft: "The IPv6 Loopback Address P… Sebastian Moeller
- [IPv6]Re: [v6ops] New draft: "The IPv6 Loopback A… Antonis Chariton
- [IPv6]Re: [v6ops] Re: Re: New draft: "The IPv6 Lo… Philipp S. Tiesel
- [IPv6]Re: New draft: "The IPv6 Loopback Address P… Sebastian Moeller
- [IPv6]Re: New draft: "The IPv6 Loopback Address P… Michael Siegenthaler
- [IPv6]Re: [v6ops] Re: Re: New draft: "The IPv6 Lo… Michael Richardson
- [IPv6]Re: [v6ops] New draft: "The IPv6 Loopback A… Geoff Huston
- [IPv6]Re: New draft: "The IPv6 Loopback Address P… Ole Trøan
- [IPv6]Re: New draft: "The IPv6 Loopback Address P… tom petch
- [IPv6]Re: New draft: "The IPv6 Loopback Address P… Erik Kline
- [IPv6]Re: New draft: "The IPv6 Loopback Address P… Ole Trøan
- [IPv6]Re: New draft: "The IPv6 Loopback Address P… Brian E Carpenter
- [IPv6]Request for WG Adoption for draft-kumari-ip… Geoff Huston
- [IPv6]Re: [v6ops] New draft: "The IPv6 Loopback A… Arseny Maslennikov
- [IPv6]Re: [v6ops] Re: New draft: "The IPv6 Loopba… Brian E Carpenter
- [IPv6]Re: [v6ops] Re: New draft: "The IPv6 Loopba… Mark Smith
- [IPv6]Re: [v6ops] Re: New draft: "The IPv6 Loopba… Brian E Carpenter
- [IPv6]Re: [v6ops] Re: New draft: "The IPv6 Loopba… Maciej Żenczykowski
- [IPv6]Re: [v6ops] Re: New draft: "The IPv6 Loopba… Brian E Carpenter
- [IPv6]Re: [v6ops] Re: New draft: "The IPv6 Loopba… Maciej Żenczykowski
- [IPv6]Re: Request for WG Adoption for draft-kumar… Warren Kumari
- [IPv6]Re: [v6ops] Re: Re: Re: New draft: "The IPv… Michael Richardson
- [IPv6]Re: Request for WG Adoption for draft-kumar… Jen Linkova