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

Ole Trøan <otroan.ietf@gmail.com> Wed, 26 November 2025 13:18 UTC

Return-Path: <otroan.ietf@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 90F419109179 for <ipv6@mail2.ietf.org>; Wed, 26 Nov 2025 05:18:20 -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 ESMPi5jx1p8E for <ipv6@mail2.ietf.org>; Wed, 26 Nov 2025 05:18:20 -0800 (PST)
Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) (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 3B76D9109174 for <ipv6@ietf.org>; Wed, 26 Nov 2025 05:18:20 -0800 (PST)
Received: by mail-lf1-x12b.google.com with SMTP id 2adb3069b0e04-5969c5af23bso6984807e87.3 for <ipv6@ietf.org>; Wed, 26 Nov 2025 05:18:20 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1764163099; x=1764767899; darn=ietf.org; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:from:to:cc:subject:date:message-id :reply-to; bh=owbYaCUjGZyX6MB8d8r1zYqmjDeUHAfoj/w9rAXkEWg=; b=CrluXDpJJnn3wlS/jis0ooIL2eS5spiPSKXk96qSfGVicytMSk2dXcRAp70VHqqqpn f3MFYVYtZ6T1HSBu0FkIK/F6Hh+iZxmeBk/FdIuKtP3jewGNFP8DwrHnSnvFHub9SVg/ INl22sC6bsdKo462DsAor9DIn36aa+KMLdhBu2wLojMo2il0hgTGyTOjiaKLIorVX6sR WWkMzLJ4lzzHaITZOO4ytJry0HLKDEjLSqrnrbqw7eXbvjdxmlNQbgSwkcQBsYsJpYeI ku9eJ5ghDbIhZEvG94fFASxuaykZuSL1kernXMRk9MRCtd01KN8r0pA2OSccOxC9gO3Y A/vg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764163099; x=1764767899; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=owbYaCUjGZyX6MB8d8r1zYqmjDeUHAfoj/w9rAXkEWg=; b=tVYFKmGSNo7yptmVgDLczyOO3Os7pLVSVPsX1eZChkz/XNFKWiU7h4Tr2PCt77KFVa GI02/2M21y1JT4So8cE2QWhQVsNv48QCC/JizHo6HXcaBTv8ZCWQWVq3gYFKVhQRoTnQ ugaAaJTcEHJHxqKEtLp4PG1arSuab+5VPIqxmbh3Z/XBjO2tSWNMZK+7N+nHUlli8su4 JkS9RUU/N1EqLLp17hWu4oIOxhvUCwNO8zYhXxYb3Vd13VdIDn7GVFzXZIFB9yDO5Ilb uFq2VhR7fnPvZS8BexJPCSKkthYFxezWpOCDOktdZ9fPhVH2afd6Hw8ZJ42RXYfXR3qr dRTw==
X-Forwarded-Encrypted: i=1; AJvYcCUc4ANL7l4RqPn/Q6S7eON2gcrQIM5c5LywkyOmy9tbAhUvQEWbWm8kN49W9+WLj8GFcI+Y@ietf.org
X-Gm-Message-State: AOJu0YzqGhZkM14lyn60kJvOl2MralJvE9M9BNb9PikPb2JsKhkPpY+K Q/VhSTKEAdSpAuda1zRcqw7mgOgrvsNWut5cDqZoXI7za6w4gsMgW+qm
X-Gm-Gg: ASbGncs/LB3PTIhlUR4twtqHZ1Ik7zxLM+5FlY5SP3cTBNiMtbx2rmBtRvzGKl0hgi0 0qrPq1xOz0B2mN5dsEFnpwAE/B/dihmQwgHG+AUrddmhmZyL3LM07e5excj5L8MfRanQg0JZ89s Wh1aoT6nyCPM5e09Yrt5WYr8ehebIE4+A2VoO4OwpvEAF7qBmyayc0kFenrSaBr94jAw7fZ+WRP 1zqkNJUsjpaZV5USioi0HH420RlhhFJm+cbkV2GpXrFpBqsMFIG566/B7V8EkTMdKzh9dzbZdgi /cIamc+CYIZ2ZO8yopGbQvHdx9xxAP0oI7uyXRUL+kxownN+um72ld8WJadD7c0DQ0q47MxPSRO anam43s4c3TYi+6GX45zNGwL5beyuiHf/BN9KLrVkk6My1izLFA66K4UaxdiYux+gt25h1I2+yB KTboLWHvkFo0WGaY4Ti4kRt/uzMl3ovUgc/oKLkV4fmXV9
X-Google-Smtp-Source: AGHT+IFqDcH4UK3wes/3u7X3ttCwuTOd2fn6VMRC/rHwQvAgisBLIIr0dFuLon/6csLm9ixsJJ0/gg==
X-Received: by 2002:a05:6512:12cd:b0:595:7e9c:ce00 with SMTP id 2adb3069b0e04-596a3ed95ccmr6127350e87.25.1764163098543; Wed, 26 Nov 2025 05:18:18 -0800 (PST)
Received: from smtpclient.apple ([2001:4650:c3ed:37a:9e2a:f334:61dc:ff10]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5969dbbecfasm6039720e87.57.2025.11.26.05.18.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Nov 2025 05:18:18 -0800 (PST)
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
From: Ole Trøan <otroan.ietf@gmail.com>
Mime-Version: 1.0 (1.0)
Date: Wed, 26 Nov 2025 14:18:07 +0100
Message-Id: <38F85990-939F-47AA-9A04-24EEC29E4F41@gmail.com>
References: <CAO42Z2wmCYvqpCGn6LxLW0otHS0kqmS6jGXkXqLtcKhPJn9eMQ@mail.gmail.com>
In-Reply-To: <CAO42Z2wmCYvqpCGn6LxLW0otHS0kqmS6jGXkXqLtcKhPJn9eMQ@mail.gmail.com>
To: Mark Smith <markzzzsmith@gmail.com>
X-Mailer: iPhone Mail (23B85)
Message-ID-Hash: 3QITESUYIB2WXIO6HPDNV7RO4UEPP3RS
X-Message-ID-Hash: 3QITESUYIB2WXIO6HPDNV7RO4UEPP3RS
X-MailFrom: otroan.ietf@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: 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/kweOR4hnmX2UPL-QaGO9vR85BmU>
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>

Mark,

Since the loopback address is of link-local scope you can already do this with multiple loopback interfaces. 
::1%loop0
::1%loop1

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