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 5A3951FF0E1 for ; Mon, 27 Jul 2026 10:21:54 +0200 (CEST) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id 092EB2134B; Mon, 27 Jul 2026 10:21:54 +0200 (CEST) Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Mon, 27 Jul 2026 10:21:19 +0200 Message-Id: Subject: Re: [PATCH perl-rs v3 3/5] fabrics: openfabric: enable force_forwarding for ipv6 transit traffic From: "Lukas Sichert" To: "Stefan Hanreich" , References: <20260619154017.167720-1-l.sichert@proxmox.com> <20260619154017.167720-4-l.sichert@proxmox.com> <81850371-dab2-4ac3-85a0-43478d2b020c@proxmox.com> In-Reply-To: <81850371-dab2-4ac3-85a0-43478d2b020c@proxmox.com> X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1785140445591 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.085 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_LOW -0.7 Sender listed at https://www.dnswl.org/, low 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: SHPCLHAKELG2UIHH73KH26OAR5J7I2DS X-Message-ID-Hash: SHPCLHAKELG2UIHH73KH26OAR5J7I2DS 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 X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On 2026-06-25 11:53, Stefan Hanreich wrote: > On 6/19/26 5:40 PM, Lukas Sichert wrote: >> diff --git a/pve-rs/src/bindings/sdn/fabrics.rs b/pve-rs/src/bindings/sd= n/fabrics.rs >> index f96b6b1..785b537 100644 >> --- a/pve-rs/src/bindings/sdn/fabrics.rs >> +++ b/pve-rs/src/bindings/sdn/fabrics.rs >> @@ -596,6 +596,16 @@ pub mod pve_rs_sdn_fabrics { >> writeln!(interface, "\tlink-type {link_type}")?; >> } >> writeln!(interface, "\tip-forward 1")?; > > Do we need to set ip6-forward here as well? It does get set for the BGP > fabric. The forwarding flag is not necessary if force_forwarding is enabled to forward packages. But the forwarding flag is currently set by ifupdown2 anyways in ifupdown2/addons/address.py:892, inside _set_bridge_forwarding()= . > >> + if cidr.is_ipv6() { >> + writeln!( >> + interface, >> + "\tpost-up echo 1 > /proc/sys/net/ipv6/conf/{name}/forc= e_forwarding" >> + )?; >> + writeln!( >> + interface, >> + "\tpost-down echo 0 > /proc/sys/net/ipv6/conf/{name}/fo= rce_forwarding" >> + )?; >> + } >> =20 >> Ok(interface) >> }