From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [45.144.208.40]) by lore.proxmox.com (Postfix) with ESMTPS id D86951FF065 for ; Mon, 23 Nov 2026 18:33:56 +0100 (CET) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id 7D861202B3; Mon, 23 Nov 2026 18:33:56 +0100 (CET) From: Gabriel Goller To: pve-devel@lists.proxmox.com Subject: [PATCH docs] sdn: fabrics: document rp_filter for fabrics in a zone VRF Date: Mon, 23 Nov 2026 18:33:45 +0100 Message-ID: <20261123173347.559678-1-g.goller@proxmox.com> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1795455231783 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.210 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: N6U5AMUMZO22OO4IMKX5WBQJ7D6V6TVX X-Message-ID-Hash: N6U5AMUMZO22OO4IMKX5WBQJ7D6V6TVX X-MailFrom: g.goller@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: Fabrics in a zone VRF do not work with reverse path filtering enabled, which is the default on Proxmox VE. Document how to disable it. Signed-off-by: Gabriel Goller --- pvesdn.adoc | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/pvesdn.adoc b/pvesdn.adoc index d58db5b8a6c0..443f55b5c53d 100644 --- a/pvesdn.adoc +++ b/pvesdn.adoc @@ -259,7 +259,8 @@ Guests can reach networks outside the zone through: * A host interface in the VRF, called uplink below, for example a VLAN interface to an upstream router. * An OSPF or BGP xref:pvesdn_config_fabrics[fabric] that uses the zone, see - xref:pvesdn_fabric_vrf_zone[Fabrics in a Zone VRF]. + xref:pvesdn_fabric_vrf_zone[Fabrics in a Zone VRF], including the + `rp_filter` setting it needs. Without either, the zone has no connection to other networks. By default, services of the host such as SSH or the web interface cannot be reached from @@ -857,6 +858,17 @@ their addresses and routes in the default routing table. Fabrics used as underlay for EVPN controllers or VXLAN zones need to stay in the default routing table. +Reverse path filtering drops traffic of fabrics in a VRF, so set `rp_filter` to +`0` on the interfaces of the fabric. The kernel uses the higher value of `all` +and the interface, so set both, in a file that sorts after +`/usr/lib/sysctl.d/pve-firewall.conf`, for example +`/etc/sysctl.d/zz-rp-filter.conf`: + +---- +net.ipv4.conf.all.rp_filter = 0 +net.ipv4.conf.ens19.rp_filter = 0 +---- + [[pvesdn_openfabric]] OpenFabric ~~~~~~~~~~ -- 2.47.3