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 B8C061FF14F for ; Fri, 08 May 2026 20:46:32 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 070D521386; Fri, 8 May 2026 20:46:32 +0200 (CEST) From: Christoph Heiss To: pve-devel@lists.proxmox.com Subject: [PATCH installer 0/8] add IPv6 SLAAC and v6-only support Date: Fri, 8 May 2026 20:44:03 +0200 Message-ID: <20260508184546.113293-1-c.heiss@proxmox.com> X-Mailer: git-send-email 2.53.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1778265843996 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 URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [runenv.pm,unconfigured.sh,options.rs,net.pm] Message-ID-Hash: KNLOGPWTWZFW2U4QP5P7RAQKBMDCCZNS X-Message-ID-Hash: KNLOGPWTWZFW2U4QP5P7RAQKBMDCCZNS 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-#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(-) -- 2.53.0