[IPv6]Re: [v6ops] Re: New draft: "The IPv6 Loopback Address Prefix"
Maciej Żenczykowski <maze@google.com> Wed, 26 November 2025 13:52 UTC
Return-Path: <maze@google.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 05766910F3E5 for <ipv6@mail2.ietf.org>; Wed, 26 Nov 2025 05:52:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -17.601
X-Spam-Level:
X-Spam-Status: No, score=-17.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 qkorrhPMQ-Ap for <ipv6@mail2.ietf.org>; Wed, 26 Nov 2025 05:52:12 -0800 (PST)
Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) (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 D6DB5910F393 for <ipv6@ietf.org>; Wed, 26 Nov 2025 05:51:58 -0800 (PST)
Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-645ed666eceso9285a12.1 for <ipv6@ietf.org>; Wed, 26 Nov 2025 05:51:58 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1764165118; x=1764769918; darn=ietf.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=iBs4NMa0UW+z3RxwU9JJwxGh2eKmTSg3YF0XCuetK5M=; b=3Ty2c3Wo8ZT3g0MWE3yLWqdRz/34rOayrHoGXyUxdMJRrDeNrHk267Mpd1ALvFgUMo HcwhpbYayJLZZ3r2Po8e3K7cOt2R3/MC6zui8CAO4/+t7C+x5ptLOfFSeRoDd8Nwh9qo Q2E/GTbZnaFBsCARHXga0/t9fAARPmmmKQMf/vtTKDaCkWpqMqXfJ7J1vzd+QCeFPKJE uiA/gZyGu+rWNwXWhRIuVpUqOA/ZNgK/1ZJ2DZ4dth2t1M/Ie9lOkSSkuY6O84L8SOvF wZDRyq8jgySo+tRdmCLv/7YsU4ANdEor5atXJJNtUx18LulVk4v0GDe94/md/IduieuO RWGw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764165118; x=1764769918; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=iBs4NMa0UW+z3RxwU9JJwxGh2eKmTSg3YF0XCuetK5M=; b=ucCZ4z3+WRO3hh7FKrMAR9qlRq28WzUGkXEGcbilW9w//5p09sQO4Qzc8hup9mfjER jTQpH6TD+I1CEtPvmdfZLc7vRD9XvhlBzfQvF5idUNV+Dk1IJTU4jtauXzJ2ooeZRYFk lB8mL1s7CzKMEwo6r96tBRUHXu+gzR5DAd1OLm8JGfDAck/oJNS5HYdZ87bx3YNGPOSp ZPFmGNY3gRb3xIQExJe795oeyrc/QRI9YNOMFA/2FzmtxNMwTHYbfWqhOJ2s3o+1NhrC Zhpw7X0QBnArZ81miXkd7UpT8vhuX8NhPtWAam7QNeNc848I+12liFPw+ZO0ED9VDxZ0 coEg==
X-Forwarded-Encrypted: i=1; AJvYcCVkMr4jexF1pIKUdlZB5OgD0WAgVzmsbhDFzmD90R6RXdxszZP2MkqZKGKO2/61cPHWSizx@ietf.org
X-Gm-Message-State: AOJu0YwheLLOsidhm6RBE2ZPa8YdLq0UNR90JJ/N+Y9GrO+hXppKJeAg nm1N/AMxAuS5OoZykb4RXcQ6zP76BS55LhucISOOvv0cUd/p7CmM/XBG3kL/+jHVGOadDTMibJC AHQAD0VQ+SVF4qNidgMB7bvTtnf0/YU4rn+/OyjsO
X-Gm-Gg: ASbGncuIgRXUUNpOUqDXBj4yziJed1uYZJkqYjaSqwwdsHqmBbd07hmtnT0Sn4kmFiE 64e+0n8S8SgXc6SOuwJNSAusVHLhKl+/34mlC1LEzufnjBYyQmylfLkubrxrmaqtqeYxga1SBgj 79k+AZbiWnPQKzKtW/goSsxrwXZTyEMFWcNv7iFGrowDIBWslbw3qtbw8IjGkzW3CM4f1DCgv4y S5sfi9TQ8vg+QB7zEIdbnKAIOMaH347Sgzk36AGXR+RuMvAItFa+ZWQncQfHtPxL1VP0I0rAUDd HDdkULJtNleIwwBQ/Q+bjJTWInhD
X-Google-Smtp-Source: AGHT+IE/3zp5sQZA52w/iyafhwM5h+IiCDKODmWuwmqQgJixECI8lI8+rjPZvUZur3pfIdfKYh1+sfvgc1GcnQ0lPdk=
X-Received: by 2002:a05:6402:366:b0:640:fa3c:da93 with SMTP id 4fb4d7f45d1cf-64601095d00mr33396a12.4.1764165117554; Wed, 26 Nov 2025 05:51:57 -0800 (PST)
MIME-Version: 1.0
References: <CAO42Z2wmCYvqpCGn6LxLW0otHS0kqmS6jGXkXqLtcKhPJn9eMQ@mail.gmail.com> <38F85990-939F-47AA-9A04-24EEC29E4F41@gmail.com>
In-Reply-To: <38F85990-939F-47AA-9A04-24EEC29E4F41@gmail.com>
From: Maciej Żenczykowski <maze@google.com>
Date: Wed, 26 Nov 2025 05:51:44 -0800
X-Gm-Features: AWmQ_bnVSLpTOcutIl7nUpziMFjrHpq5V9wFbW4yKXsbZTkrRh4oVBRzz-AZSNo
Message-ID: <CANP3RGcZG1F+-upuA2oW34TsBK8WVbSW7O_NAq85X83b7wSn+A@mail.gmail.com>
To: Ole Trøan <otroan.ietf@gmail.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Message-ID-Hash: UBDP2LE4Y237QMN6PHCTV3HRKYZUX2G7
X-Message-ID-Hash: UBDP2LE4Y237QMN6PHCTV3HRKYZUX2G7
X-MailFrom: maze@google.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: 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] Re: 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/G95_CyLTlhLimsvHYJ_dlEmWCQ8>
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 Wed, Nov 26, 2025 at 5:19 AM 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 I think in practice implementations make it node local and not scope local, because they do generate packets (for example icmp errors) sourced from ::1, and distinguishing the actual interface (besides lo) would be problematic. linux-6.16:~$ ping6 ::1%lo ping6: ::1%lo: Name or service not known linux-6.16:~$ telnet ::1%lo 22 Server lookup failure: ::1%lo:22, Name or service not known linux-6.16:~$ telnet fe80::1%lo 22 Trying fe80::1%lo... telnet: Unable to connect to remote host: Network is unreachable So I think this would need both kernel changes (at least Linux afaict seems to not require scope id for ::1 and not even allow it) and library changes... > Cheers, > Ole > > > On 26 Nov 2025, at 11:34, Mark Smith <markzzzsmith@gmail.com> wrote: > > > > Hi, > > > >> On Wed, 26 Nov 2025 at 20:06, Gert Doering <gert@space.net> wrote: > >> > >> Hi, > >> > >>> On Wed, Nov 26, 2025 at 07:20:17PM +1100, Mark Smith wrote: > >>> On Wed, 26 Nov 2025 at 18:26, Gert Doering <gert@space.net> wrote: > >>>> On Wed, Nov 26, 2025 at 11:03:20AM +1100, Mark Smith wrote: > >>>>> On Wed, 26 Nov 2025 at 10:19, Geoff Huston <gih902@gmail.com> wrote: > >>>>>> thanks Mark - except that you should substitute the /32 to a /96 as I got confused between my left and my right! > >>>>>> > >>>>> > >>>>> One of my use cases, which I think I hinted to but didn't specifically > >>>>> state, was multiple loopback interfaces on a node. > >>>>> > >>>>> On Cisco routers you can create multiple loopback interfaces. I've > >>>>> done that so that I could have say a management loopback interface and > >>>>> address, a BGP session loopback interface and address and then other > >>>>> loopback interfaces and addresses for other functions such as an > >>>>> L2TPv2 end point, RADIUS service client address etc.. Those loopback > >>>>> interface addresses were all announced into the routing protocol (or > >>>>> not depending on function). > >>>> > >>>> This is a very different thing from what the draft proposes to establish. > >>>> > >>>> You are basically deliberately choosing and assigning routable addresses > >>>> to "non physical" device interfaces, for externally-reachable functions > >>>> (and this is a very reasonable thing to do, so "all the router people" > >>>> do it, and "all the anycast service people" do it as well...). > >>>> > >>> > >>> Yes. I mentioned it to demonstrate that I think a larger loopback > >>> prefix should be big enough to support multiple loopback interfaces > >>> within a host. > >> > >> I find this very hard to understand. > >> > >> Why would "there is a larger loopback prefix, used only for machine-internal > >> communication" have any relevance to "I use multiple loopback interfaces with > >> manually configured routable IP addresses"? > >> > >> Why would "having multiple loopback interfaces out of the well-known > >> machine-internal loopback address space" have any relevance to anything? > >> > > > > It's in the context of the draft I wrote proposing a larger IPv6 > > prefix. The prefix should be large enough to support subnetting it so > > that those sub-prefixes can be assigned to multiple loopback > > interfaces on a host. > > > > A ::/96 prefix means having to subnet in an unfamiliar location within > > the IPv6 address. > > > > A /48 for the loopback prefix would allow subnetting at the familiar > > /48 boundary, resulting in familiar /64s sized subnets that are > > assigned to different loopback interfaces on the host. > > > > Assignment of loopback prefixes to loopback interfaces should be > > automated. I think that is one of the key values of 127.0.0.1/8 - it's > > automatically configured. Using at least /48 and then a /64 per > > loopback interface allows doing something like using the interface's > > ifIndex as the /64 subnet number (ifindex are typical 16 bits in size, > > same as the /48 through /64 bits). > > > > Loopback interfaces are required to have a link-local prefix per > > rfc4291, and their prefix length is a /64. The drawback of using a > > link-local address for testing over a loopback interface is that they > > require a zone identifier. > > > > While a /48 would be fine, since it's better to try to avoid having to > > grow the loopback space in the future (e.g. which is what has happened > > with the documentation prefix), a /32 or 1 x 4 billionth of the IPv6 > > address space, for a larger loopback prefix seems worth while. > > > > Regards, > > Mark. > > > >> Gert Doering > >> -- NetMaster > >> -- > >> have you enabled IPv6 on something today...? > >> > >> SpaceNet AG Vorstand: Sebastian v. Bomhard, > >> Karin Schuler, Sebastian Cler > >> Joseph-Dollinger-Bogen 14 Aufsichtsratsvors.: A. Grundner-Culemann > >> D-80807 Muenchen HRB: 136055 (AG Muenchen) > >> Tel: +49 (0)89/32356-444 USt-IdNr.: DE813185279 > > > > _______________________________________________ > > v6ops mailing list -- v6ops@ietf.org > > To unsubscribe send an email to v6ops-leave@ietf.org > > -------------------------------------------------------------------- > IETF IPv6 working group mailing list > ipv6@ietf.org > List Info: https://mailman3.ietf.org/mailman3/lists/ipv6@ietf.org/ > -------------------------------------------------------------------- -- Maciej Żenczykowski, Kernel Networking Developer @ Google
- [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