From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id D6BC21FF133 for ; Mon, 11 May 2026 18:00:22 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id B36582043E; Mon, 11 May 2026 18:00:22 +0200 (CEST) Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Mon, 11 May 2026 17:59:11 +0200 Message-Id: Subject: Re: [PATCH installer 0/8] add IPv6 SLAAC and v6-only support From: "Christoph Heiss" To: X-Mailer: aerc 0.21.0 References: <20260508184546.113293-1-c.heiss@proxmox.com> In-Reply-To: <20260508184546.113293-1-c.heiss@proxmox.com> X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1778515040439 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.075 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: SEWA36GPHQXJG33IHWXXHH2LOJD2URYJ X-Message-ID-Hash: SEWA36GPHQXJG33IHWXXHH2LOJD2URYJ X-MailFrom: c.heiss@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Superseded by v2: https://lore.proxmox.com/pve-devel/20260511155753.1623099= -1-c.heiss@proxmox.com/ On Fri May 8, 2026 at 8:44 PM CEST, Christoph Heiss wrote: > Most glaringly, neither the GUI nor TUI handled IPv6-only setups > correctly, in that the pre-filled values for the networking setup simply > defaulted to the IPv4 defaults. > > Patch #1-#4 rework the GUI side of things. > > Patch #5 enables support for /127 and /128 IPv6 CIDRs, which we do > support elsewhere. > > Finally, patch #8 enables sending router solicitations when the > installer starts, such than any IPv6 (SLAAC) configuration is retrieved. > > Patches #5-#8 are independent and can be applied individually as such, > if desired. > > Christoph Heiss (8): > install: drop trivial fromjs() wrapper and use JSON::from_json() > install: move network subroutines to Proxmox::Sys::Net > gui: use run_env->{network} instead of old run_env->{ipconf} > sys: net: drop the now-unused `ipconf` runtime environment > configuration > sys: net: allow up to /128 netmask for IPv6 > sys: net: ignore ipv6 nameservers with zone identifiers > common: options: rework network address setup to handle ipv6-only > unconfigured: try to retrieve IPv6 SLAAC addresses on startup > > Proxmox/Install/RunEnv.pm | 172 +---------------- > Proxmox/Sys/Net.pm | 238 +++++++++++++++++------- > debian/control | 2 + > proxinstall | 66 ++++--- > proxmox-installer-common/src/options.rs | 89 +++++---- > unconfigured.sh | 24 +++ > 6 files changed, 288 insertions(+), 303 deletions(-)