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 371561FF133 for ; Mon, 11 May 2026 17:58:39 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id DDB731F752; Mon, 11 May 2026 17:58:38 +0200 (CEST) From: Christoph Heiss To: pve-devel@lists.proxmox.com Subject: [PATCH installer v2 0/9] add IPv6 SLAAC and v6-only support Date: Mon, 11 May 2026 17:57:42 +0200 Message-ID: <20260511155753.1623099-1-c.heiss@proxmox.com> X-Mailer: git-send-email 2.53.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1778514967976 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.076 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: SYRRXI4CQ4PFDOFGEJWX3YOMRX2T5Q5H X-Message-ID-Hash: SYRRXI4CQ4PFDOFGEJWX3YOMRX2T5Q5H 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: 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-#5 rework the installation "backend" and GUI side of things. Patch #6 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 #6-#9 are independent and can be applied individually as such, if desired. History ======= v1: https://lore.proxmox.com/pve-devel/20260508184546.113293-1-c.heiss@proxmox.com/ Notable changes v1 -> v2: * dropped some old test data * fix leftover ipconf usages in Proxmox::Install and GUI * give routers a 2sec window to respond to router solicitations Diffstat ======== pve-installer: Christoph Heiss (9): install: drop trivial fromjs() wrapper and use JSON::from_json() install: move network subroutines to Proxmox::Sys::Net install: use run_env->{network} instead of old run_env->{ipconf} 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.pm | 6 +- Proxmox/Install/RunEnv.pm | 172 +------------ Proxmox/Sys/Net.pm | 238 ++++++++++++------ debian/control | 2 + proxinstall | 86 +++++-- ...n_from_dhcp_no_default_domain.run-env.json | 76 ------ .../no_fqdn_from_dhcp.run-env.json | 76 ------ .../tests/resources/run-env-info.json | 76 ------ proxmox-installer-common/src/options.rs | 89 ++++--- unconfigured.sh | 27 ++ 10 files changed, 310 insertions(+), 538 deletions(-) --