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

Mark Smith <markzzzsmith@gmail.com> Wed, 26 November 2025 10:32 UTC

Return-Path: <markzzzsmith@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 B434A90F58A4 for <ipv6@mail2.ietf.org>; Wed, 26 Nov 2025 02:32:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -0.599
X-Spam-Level:
X-Spam-Status: No, score=-0.599 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, FROM_LOCAL_NOVOWEL=0.5, HK_RANDOM_ENVFROM=0.001, HK_RANDOM_FROM=0.999, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=no 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 iLpvEIMvau5z for <ipv6@mail2.ietf.org>; Wed, 26 Nov 2025 02:32:56 -0800 (PST)
Received: from mail-pf1-x42d.google.com (mail-pf1-x42d.google.com [IPv6:2607:f8b0:4864:20::42d]) (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 49D8390F5884 for <ipv6@ietf.org>; Wed, 26 Nov 2025 02:32:56 -0800 (PST)
Received: by mail-pf1-x42d.google.com with SMTP id d2e1a72fcca58-7b86e0d9615so7934487b3a.0 for <ipv6@ietf.org>; Wed, 26 Nov 2025 02:32:56 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1764153175; x=1764757975; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=4vX6kO9wVKSI5YPIxYGzmuivimpIRX1HMZ8eGS92Kn0=; b=l4tr94gOnPAX0krb5/+HSfCdfwMyPkH+jbGsOwtLieEZjag+QP0eon1a3nDge/UlV/ I73A/V85Pnf3CIcxubez2XxhZehUB5tYEnoPz5kXExlWla6LQwRVYnn9rkr+cZjtVCZH 7JTkIuhBPIFuJNiD3lRTpa/cHRF06zsiPSH8UOZ1HdgtRt2kQaG057igrPNpZhX7LVWz f9sePM/3WY83oOgV1NbHhe5ehVs9YxGNSuyDVmHcbwWU+2Cjf8QUqLnWsbe4TK8ucmIx nNf1FdmgpFJE/0phavUO1pQN4TPYkzAYl+K9xwHrG31JM+jTKe82HBhspSOJRfQInaX5 0F0Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764153175; x=1764757975; h=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=4vX6kO9wVKSI5YPIxYGzmuivimpIRX1HMZ8eGS92Kn0=; b=wahsR0nXCQSkEF9kju46oPZE3UESkj4QkUBEYTCzGdsti3HXZili8bH8B2Uuqn9CS8 gQssfcfD9UrYbBkU1PorWTKcFF5z/dTHLJWBvCfv9PoNHc3Et0vgERDqMHJfhtQ0lIG0 ug9OEQZq2S6bylqDCz/u39jWv8/a332+7q5N7iNo+QSowO2fd4koDHQ1kTEyuPyMhe8h rBYivapY7d0K/oCNbgxQrh0Oicxn6zmr0LNJYmw+zonU06U3hqPL/zB3/HTD8FjFrS3K AJfpiOWoVwRVftGnWnD67GY/AfZcR3786JrTSyygV0GKDnbPDs4W5WEOLPmir3k8092l GBxg==
X-Forwarded-Encrypted: i=1; AJvYcCW9/7epW7ojpwrjsbb8qCfGs/k+01CcQnqgLYb6Jwb9U2mM7Em6lgKOqtjI3cCX+fWGloRO@ietf.org
X-Gm-Message-State: AOJu0YwOiHD3XVG3BCLH2Iqt7mxOvjey4neiZ9QxXQE2rd32rM33CUtl 6uKJ+DFEouFn84pVtsgrKmNcwHH/5qgBMQ4lX32XyO+r9Q4huMUb2ooCkWeTrDd3tgUKXAD2bs0 L8deWguGAJIfdY4l/SCVg3yfaHuOnp+k=
X-Gm-Gg: ASbGnctQRkjWVxizK1lpyT5C3FJsRSlN1xVJKcW/oriZDK5evU+d4FoWbqBS5pi4bhf v4T3kjJBg4o71EmvT/h6MZBjxmO4U8BrWbi8GN/arzfJoU5cIuuqzY/XFuFbOzRZ3ZT7J9Brd3+ A4PYj+VLDlyQGqnnX2SxAVmTx2sos9HsrMLitCtn0yHu2NCvhwEbjDXG4hDdwjPzgsPnzg9FrTq PRCRynjsQR6BlYdBNzz6oAlKP5FLgzt98nhdC26Jv/nsJyvmK3eRxa1RcaldYohzy4ESnE=
X-Google-Smtp-Source: AGHT+IHlaV7IBZqLkRO6uKOdFWDalxSHZvuliP2MN7FN8FmW6eUKxe6OI+kFj6C5Trj7hgCFdbwuKX2ZLm7zWBbdrNw=
X-Received: by 2002:a05:7022:2390:b0:11b:2de8:6271 with SMTP id a92af1059eb24-11c9d8635bcmr15610256c88.39.1764153175192; Wed, 26 Nov 2025 02:32:55 -0800 (PST)
MIME-Version: 1.0
References: <CAHw9_i+b=uZozstCAm1Kr52Pj-_Y_aCndHc0e703rMUr9va=iA@mail.gmail.com> <CAO42Z2xsGuZ+5V8SadxRRkeeL7owm35F9MO8owAcWwfi9Q6nFw@mail.gmail.com> <F04C4F2A-C664-4B68-875B-C4C6CF3B6C64@gmail.com> <CAO42Z2x85B3Cn87QZQqhDef28Pfp_ukWqNO71Ucg=Jyut_NEkA@mail.gmail.com> <aSaruUCUeKMEa-I_@Space.Net> <CAO42Z2wZKaY8pcpgByyDcr=+59OhbO=fVsdLzdivwF+CnK0nqA@mail.gmail.com> <aSbDC6wo80tmRmZ2@Space.Net>
In-Reply-To: <aSbDC6wo80tmRmZ2@Space.Net>
From: Mark Smith <markzzzsmith@gmail.com>
Date: Wed, 26 Nov 2025 21:32:28 +1100
X-Gm-Features: AWmQ_bmoc9q2eWbu_nu-6v93ifXsiamIObRcln-zIgxUlHSjUI40W7p5Tvn_PWs
Message-ID: <CAO42Z2wmCYvqpCGn6LxLW0otHS0kqmS6jGXkXqLtcKhPJn9eMQ@mail.gmail.com>
To: Gert Doering <gert@space.net>
Content-Type: text/plain; charset="UTF-8"
Message-ID-Hash: 7VQIQD2MJHNPX4JV2ALEG5EUUW5AQ4WT
X-Message-ID-Hash: 7VQIQD2MJHNPX4JV2ALEG5EUUW5AQ4WT
X-MailFrom: markzzzsmith@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: 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/P_q-5dCWXdiPlpE4fIPkvTgU2_4>
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>

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