From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id 8F6711FF138 for ; Mon, 01 Jun 2026 17:16:04 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 6EFB33204B; Mon, 1 Jun 2026 17:16:00 +0200 (CEST) From: Lukas Sichert To: pve-devel@lists.proxmox.com Subject: [PATCH docs/network/perl-rs 0/4] sdn: enable force_forwarding for ipv6 forwarding Date: Mon, 1 Jun 2026 17:15:42 +0200 Message-ID: <20260601151550.118977-1-l.sichert@proxmox.com> X-Mailer: git-send-email 2.47.3 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: 1780326921136 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.371 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 KAM_SHORT 0.001 Use of a URL Shortener for very short URL SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record T_SPF_PERMERROR 0.01 SPF: test of record failed (permerror) Message-ID-Hash: HZEVG2CG7744PZB64AZKLIXJ3K4SG5KR X-Message-ID-Hash: HZEVG2CG7744PZB64AZKLIXJ3K4SG5KR 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: Gabriel's upstream kernel patch [1] added net.ipv6.conf..force_forwarding. This allows enabling IPv6 forwarding on selected interfaces without requiring net.ipv6.conf.all.forwarding. This is useful for SDN setups because all.forwarding has host-wide side effects. In particular, it disables Router Advertisement processing by default, which can break SLAAC on unrelated interfaces. SDN only needs forwarding on the VNet, exit-node, or fabric interfaces that participate in routed IPv6 traffic. This series generates ifupdown post-up/post-down commands for those interfaces so force_forwarding is enabled when the interface is brought up and reset when it is brought down. The tests are adjusted for the generated /etc/network/interfaces.d/sdn output. Also the series rewrite the documenation to reflect the updated behaviour. [1] lkml.org/lkml/2025/7/7/577 network: Lukas Sichert (2): sdn: evpn: enable force_forwarding for ipv6 forwarding to subnets sdn: simple: enable force_forwarding for ipv6 forwarding to subnets src/PVE/Network/SDN/Zones/EvpnPlugin.pm | 20 +++++++++++++++---- src/PVE/Network/SDN/Zones/SimplePlugin.pm | 20 +++++++++++++++---- .../expected_sdn_interfaces | 4 ++++ .../exitnode_snat/expected_sdn_interfaces | 4 ++++ .../exitnodenullroute/expected_sdn_interfaces | 4 ++++ .../evpn/ipv4ipv6/expected_sdn_interfaces | 4 ++++ .../zones/evpn/ipv6/expected_sdn_interfaces | 4 ++++ .../evpn/ipv6underlay/expected_sdn_interfaces | 4 ++++ .../simple/ipv4v6/expected_sdn_interfaces | 4 ++++ .../simple/ipv6snat/expected_sdn_interfaces | 4 ++++ 10 files changed, 64 insertions(+), 8 deletions(-) perl-rs: Lukas Sichert (1): fabrics: openfabric: enable force_forwarding for ipv6 transit traffic pve-rs/src/bindings/sdn/fabrics.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) docs: Lukas Sichert (1): sdn: drop global IPv6 forwarding workaround from OpenFabric docs pvesdn.adoc | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) Summary over all repositories: 12 files changed, 77 insertions(+), 23 deletions(-) -- Generated by murpp 0.12.0