From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [IPv6:2a0f:8001:1:32::40]) by lore.proxmox.com (Postfix) with ESMTPS id 140621FF0C0 for ; Wed, 04 Nov 2026 15:56:09 +0100 (CET) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id D35A9216C2; Wed, 04 Nov 2026 15:55:30 +0100 (CET) From: Lukas Sichert To: pve-devel@lists.proxmox.com Subject: [PATCH perl-rs v5 06/10] openfabric: set ip6-forward explicitly Date: Wed, 4 Nov 2026 15:55:07 +0100 Message-ID: <20261104145513.21471-7-l.sichert@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20261104145513.21471-1-l.sichert@proxmox.com> References: <20261104145513.21471-1-l.sichert@proxmox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1793804122661 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.515 Adjusted score from AWL reputation of From: address DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment (newer systems) RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust 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: BQK3ZYGQBQELBPK5C3JQWFV3USSZZI6C X-Message-ID-Hash: BQK3ZYGQBQELBPK5C3JQWFV3USSZZI6C X-MailFrom: l.sichert@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 CC: Lukas Sichert X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: The rendered interface already sets ip-forward. Do the same for ip6-forward on IPv6 addresses, so the config is consistent and does not rely on the ifupdown2 default. Signed-off-by: Lukas Sichert --- pve-rs/src/bindings/sdn/fabrics.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pve-rs/src/bindings/sdn/fabrics.rs b/pve-rs/src/bindings/sdn/fabrics.rs index 1d3e8b5..74e1140 100644 --- a/pve-rs/src/bindings/sdn/fabrics.rs +++ b/pve-rs/src/bindings/sdn/fabrics.rs @@ -599,6 +599,9 @@ pub mod pve_rs_sdn_fabrics { writeln!(interface, "\tlink-type {link_type}")?; } writeln!(interface, "\tip-forward 1")?; + if cidr.is_ipv6() { + writeln!(interface, "\tip6-forward 1")?; + } Ok(interface) } -- 2.47.3