Proxmox SDN and DHCP
The S oftware- D efined N etwork (SDN) feature in Proxmox VE enables the creation of virtual zones and networks (VNets). This functionality simplifies advanced networking configurations and multitenancy setup.
The Proxmox VE SDN allows for separation and fine-grained control of virtual guest networks, using flexible, software-controlled configurations.
Separation is managed through zones , virtual networks ( VNets ), and subnets . A zone is its own virtually separated network area. A VNet is a virtual network that belongs to a zone. A subnet is an IP range inside a VNet.
Depending on the type of the zone, the network behaves differently and offers specific features, advantages, and limitations.
Use cases for SDN range from an isolated private network on each individual node to complex overlay networks across multiple PVE clusters on different locations.
After configuring an VNet in the cluster-wide datacenter SDN administration interface, it is available as a common Linux bridge, locally on each node, to be assigned to VMs and Containers.
The Proxmox VE SDN stack has been available as an experimental feature since 2019 and has been continuously improved and tested by many developers and users. With its integration into the web interface in Proxmox VE 6.2, a significant milestone towards broader integration was achieved. During the Proxmox VE 7 release cycle, numerous improvements and features were added. Based on user feedback, it became apparent that the fundamental design choices and their implementation were quite sound and stable. Consequently, labeling it as ‘experimental’ did not do justice to the state of the SDN stack. For Proxmox VE 8, a decision was made to lay the groundwork for full integration of the SDN feature by elevating the management of networks and interfaces to a core component in the Proxmox VE access control stack. In Proxmox VE 8.1, two major milestones were achieved: firstly, DHCP integration was added to the IP address management (IPAM) feature, and secondly, the SDN integration is now installed by default.
The current support status for the various layers of our SDN installation is as follows:
Core SDN, which includes VNet management and its integration with the Proxmox VE stack, is fully supported.
Core SDN, which includes VNet management and its integration with the Proxmox VE stack, is fully supported.
IPAM, including DHCP management for virtual guests, is in tech preview.
IPAM, including DHCP management for virtual guests, is in tech preview.
Complex routing via FRRouting and controller integration are in tech preview.
Complex routing via FRRouting and controller integration are in tech preview.
Since Proxmox VE 8.1 the core Software-Defined Network (SDN) packages are installed by default.
If you upgrade from an older version, you need to install the libpve-network-perl package on every node:
After installation, you need to ensure that the following line is present at the end of the /etc/network/interfaces configuration file on all nodes, so that the SDN configuration gets included and activated.
The DHCP integration into the built-in PVE IP Address Management stack currently uses dnsmasq for giving out DHCP leases. This is currently opt-in.
To use that feature you need to install the dnsmasq package on every node:
The Proxmox VE SDN stack uses the FRRouting project for advanced setups. This is currently opt-in.
To use the SDN routing integration you need to install the frr-pythontools package on all nodes:
Then enable the frr service on all nodes:
Configuration Overview
Configuration is done at the web UI at datacenter level, separated into the following sections:
SDN: Here you get an overview of the current active SDN state, and you can apply all pending changes to the whole cluster.
SDN: Here you get an overview of the current active SDN state, and you can apply all pending changes to the whole cluster.
Zones : Create and manage the virtually separated network zones
Zones : Create and manage the virtually separated network zones
VNets : Create virtual network bridges and manage subnets
VNets : Create virtual network bridges and manage subnets
The Options category allows adding and managing additional services to be used in your SDN setup.
Controllers : For controlling layer 3 routing in complex setups
Controllers : For controlling layer 3 routing in complex setups
DHCP : Define a DHCP server for a zone that automatically allocates IPs for guests in the IPAM and leases them to the guests via DHCP.
DHCP : Define a DHCP server for a zone that automatically allocates IPs for guests in the IPAM and leases them to the guests via DHCP.
IPAM : Enables external for IP address management for guests
IPAM : Enables external for IP address management for guests
DNS : Define a DNS server integration for registering virtual guests' hostname and IP addresses
DNS : Define a DNS server integration for registering virtual guests' hostname and IP addresses
Technology & Configuration
The Proxmox VE Software-Defined Network implementation uses standard Linux networking as much as possible. The reason for this is that modern Linux networking provides almost all needs for a feature full SDN implementation and avoids adding external dependencies and reduces the overall amount of components that can break.
The Proxmox VE SDN configurations are located in /etc/pve/sdn , which is shared with all other cluster nodes through the Proxmox VE configuration file system . Those configurations get translated to the respective configuration formats of the tools that manage the underlying network stack (for example ifupdown2 or frr ).
New changes are not immediately applied but recorded as pending first. You can then apply a set of different changes all at once in the main SDN overview panel on the web interface. This system allows to roll-out various changes as single atomic one.
The SDN tracks the rolled-out state through the .running-config and .version files located in /etc/pve/sdn .
A zone defines a virtually separated network. Zones are restricted to specific nodes and assigned permissions, in order to restrict users to a certain zone and its contained VNets.
Different technologies can be used for separation:
Simple: Isolated Bridge. A simple layer 3 routing bridge (NAT)
Simple: Isolated Bridge. A simple layer 3 routing bridge (NAT)
VLAN: Virtual LANs are the classic method of subdividing a LAN
VLAN: Virtual LANs are the classic method of subdividing a LAN
QinQ: Stacked VLAN (formally known as IEEE 802.1ad )
QinQ: Stacked VLAN (formally known as IEEE 802.1ad )
VXLAN: Layer 2 VXLAN network via a UDP tunnel
VXLAN: Layer 2 VXLAN network via a UDP tunnel
EVPN (BGP EVPN): VXLAN with BGP to establish Layer 3 routing
EVPN (BGP EVPN): VXLAN with BGP to establish Layer 3 routing
The following options are available for all zone types:
The nodes which the zone and associated VNets should be deployed on.
Use an IP Address Management (IPAM) tool to manage IPs in the zone. Optional, defaults to pve .
DNS API server. Optional.
Reverse DNS API server. Optional.
DNS domain name. Used to register hostnames, such as . . The DNS zone must already exist on the DNS server. Optional.
This is the simplest plugin. It will create an isolated VNet bridge. This bridge is not linked to a physical interface, and VM traffic is only local on each the node. It can be used in NAT or routed setups.
Simple zone configuration options:
Give the zone a routing table of its own, see Dedicated VRF . The option is in the advanced settings of the zone and disabled by default.
A virtual routing and forwarding (VRF) device gives the VNets of a simple zone a routing table of their own on each node, separate from the routing table of the host and from other zones. For example, the VRF of the zone myzone is vrf_myzone . Zones with a dedicated VRF can use the same subnets.
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.
A host interface in the VRF, called uplink below, for example a VLAN interface to an upstream router.
An OSPF or BGP fabric that uses the zone, see Fabrics in a Zone VRF , which also describes the rp_filter setting such a fabric needs.
An OSPF or BGP fabric that uses the zone, see Fabrics in a Zone VRF , which also describes the rp_filter setting such a fabric 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 the zone. Enabling the net.ipv4.tcp_l3mdev_accept or net.ipv4.udp_l3mdev_accept sysctl changes this for TCP or UDP.
Apply the SDN configuration, so that the VRF of the zone exists on the nodes.
Apply the SDN configuration, so that the VRF of the zone exists on the nodes.
On each node that needs an uplink, edit the interface under Node -> System -> Network , select the VRF of the zone in VRF , and set IPv4 Forwarding to Enabled . Then apply the network configuration. The VRF and IPv4 Forwarding columns of the interface list, hidden by default, show these settings for all interfaces.
On each node that needs an uplink, edit the interface under Node -> System -> Network , select the VRF of the zone in VRF , and set IPv4 Forwarding to Enabled . Then apply the network configuration. The VRF and IPv4 Forwarding columns of the interface list, hidden by default, show these settings for all interfaces.
An uplink needs IPv4 forwarding to route traffic into the zone, including the replies to connections of guests. ifupdown2 enables it on bridges in the VRF, but not on physical, bond or VLAN interfaces. In /etc/network/interfaces , an uplink looks like this:
For IPv6, enable forwarding globally with the net.ipv6.conf.all.forwarding sysctl, or set the net/ipv6/conf/ /force_forwarding sysctl to 1 on the uplinks and the VNets of the zone.
Before you remove a node from the zone, remove the VRF from the uplinks of that node, and the node from the fabrics that use the zone. Before you disable the dedicated VRF or delete the zone, remove the VRF from the uplinks of all its nodes, the fabrics that use the zone, and its static routes. Applying the SDN configuration warns host interfaces that still use a VRF that no longer exists on the node.
To reach networks behind an uplink, for example with a default route via the upstream router, add static routes in the Static Routes tab of the zone, which is available with a dedicated VRF. FRR installs them in the VRF, so set it up on the nodes of the zone first, see FRRouting . Each route has a Destination Prefix and a Gateway , an Outgoing Interface , or both. An IPv6 link-local gateway needs an outgoing interface. Distance is optional. In the zone configuration, a default route via the router of the uplink example above is route prefix=0.0.0.0/0,via=198.51.100.1 .
Changing static routes, changing the nodes of a zone with static routes, or deleting such a zone requires Sys.Modify on all affected nodes, as routes can affect the host.
The DHCP server of the zone runs in its VRF. Guests use it as DNS server by default, which needs a route from the VRF to the upstream DNS servers. Otherwise, set DHCP DNS Resolver on the subnet to a DNS server the guests can reach.
With SNAT enabled on a subnet, traffic of the subnet that leaves through an uplink gets the address of the uplink. All interfaces in the VRF that are configured in /etc/network/interfaces itself are used as uplinks, but not interfaces from included files or of fabrics. Networks behind an uplink only see the address of the node, so only put interfaces into the VRF that should be uplinks.
SNAT does not protect guests from incoming connections, use the firewall for that. A packet that arrives on an uplink with a forged source address of the subnet is translated as well if it leaves through an uplink. Drop such packets with the firewall, or with strict reverse path filtering for IPv4 if replies always come back through the uplink they left through.
Each zone with a dedicated VRF gets a connection tracking zone, so that connections with the same addresses in different zones are tracked separately. This needs the proxmox-firewall package on the nodes, even if the nftables-based firewall is not used. The zone is assigned automatically and shown as ct-zone in the zone configuration. Proxmox VE reserves the connection tracking zones 16384 to 32767, do not use them in your own rules.
The tracking rules are set up when the network configuration is applied and at boot. If you change the interfaces of a VRF in another way, for example with ifreload -a , or flush the nftables ruleset, apply the network configuration again.
Use the nftables-based firewall to keep the connections of guests in different zones apart. With pve-firewall , guests with the firewall enabled on a network device their connection tracking state across all zones, and applying the configuration warns this.
An address or an IPSet of a VNet in a firewall rule does not tell zones apart, so with overlapping subnets, it matches traffic of all zones with that subnet. For traffic from a zone to the host, the host firewall sees vrf_ as input interface.
With the nftables-based firewall, traffic on a bridge in the VRF, including a VNet, is tracked in the zone of the VRF, also traffic between guests on that bridge. For a VLAN uplink on top of a bridge, such as vmbr0.100 , this works for tagged traffic. It does not work for untagged traffic that only gets its VLAN on the bridge port, for VLAN interfaces with a MAC address of their own, or for 802.1ad. Replies to connections with SNAT can then get lost. A physical interface, a bond or a VLAN interface on one of them as uplink avoids this.
Guests can reach the infrastructure addresses in the VRF, such as the addresses of fabric interfaces, of nodes, or of the upstream router. To block them with the nftables-based firewall, add the addresses to a datacenter IPSet, for example vrf-infra , and drop traffic from the subnets of the zone to it, both to the node itself and beyond:
With SNAT, the upstream router only sees the address of the node, so only the firewall of the node can filter by the address of a guest.
The VLAN plugin uses an existing local Linux or OVS bridge to connect to the node’s physical interface. It uses VLAN tagging defined in the VNet to isolate the network segments. This allows connectivity of VMs between different nodes.
VLAN zone configuration options:
The local bridge or OVS switch, already configured on each node that allows node-to-node connection. It is recommended to make a Linux bridge VLAN-aware.
QinQ also known as VLAN stacking, that uses multiple layers of VLAN tags for isolation. The QinQ zone defines the outer VLAN tag (the Service VLAN ) whereas the inner VLAN tag is defined by the VNet.
QinQ zone configuration options:
A local, VLAN-aware bridge that is already configured on each local node
The main VLAN tag of this zone
Allows you to choose between an 802.1q (default) or 802.1ad service VLAN type.
Due to the double stacking of tags, you need 4 more bytes for QinQ VLANs. For example, you must reduce the MTU to 1496 if you physical interface MTU is 1500 .
The VXLAN plugin establishes a tunnel (overlay) on top of an existing network (underlay). This encapsulates layer 2 Ethernet frames within layer 4 UDP datagrams using the default destination port 4789 .
You have to configure the underlay network yourself to enable UDP connectivity between all peers.
You can, for example, create a VXLAN overlay network on top of public internet, appearing to the VMs as if they the same local Layer 2 network.
VXLAN zone configuration options:
A list of IP addresses of each node in the VXLAN zone. This can be external nodes reachable at this IP address. All nodes in the cluster need to be mentioned here.
Instead of manually defining all the peers, use a Fabric for automatically generating the peer list.
Because VXLAN encapsulation uses 50 bytes, the MTU needs to be 50 bytes lower than the outgoing physical interface.
The EVPN zone creates a routable Layer 3 network, capable of spanning across multiple clusters. This is achieved by establishing a VPN and utilizing BGP as the routing protocol.
The VNet of EVPN can have an anycast IP address and/or MAC address. The bridge IP is the same on each node, meaning a virtual guest can use this address as gateway.
Routing can work across VNets from different zones through a VRF (Virtual Routing and Forwarding) interface.
EVPN zone configuration options:
A VXLAN-ID used for dedicated routing interconnect between VNets. It must be different than the VXLAN-ID of the VNets.
The primary EVPN-controller to use for this zone. The primary controller is used for auto-deriving the VTEP IPs, based on the peer definition. For more information see the controller section .
Additional EVPN controllers to use for this zone. Controllers listed here will announce the L2VPN EVPN routes for this zone.
Anycast MAC address that gets assigned to all VNets in this zone. Will be auto-generated if not defined.
Nodes that shall be configured as exit gateways from the EVPN network, through the real network. The configured nodes will announce a default route in the EVPN network. Optional.
If you use multiple exit nodes, force traffic through this primary exit node, instead of load-balancing on all nodes. Optional but necessary if you want to use SNAT or if your upstream router doesn’t support ECMP.
This is a special option if you need to reach a VM/CT service from an exit node. (By default, the exit nodes only allow forwarding traffic between real network and EVPN network). Optional.
Announce the full subnet in the EVPN network. If you have silent VMs/CTs (for example, if you have multiple IPs and the anycast gateway doesn’t see traffic from these IPs, the IP addresses won’t be able to be reached inside the EVPN network). Optional.
Don’t suppress ARP or ND (Neighbor Discovery) packets. This is required if you use floating IPs in your VMs (IP and MAC addresses are being moved between systems). Optional.
Allows you to import a list of external EVPN route targets. Used for cross-DC or different EVPN network interconnects. Optional.
Because VXLAN encapsulation uses 50 bytes, the MTU needs to be 50 bytes less than the maximal MTU of the outgoing physical interface. Optional, defaults to 1450.
After creating a virtual network (VNet) through the SDN GUI, a local network interface with the same name is available on each node. To connect a guest to the VNet, assign the interface to the guest and set the IP address accordingly.
Depending on the zone, these options have different meanings and are explained in the respective zone section in this document.
VNet configuration options:
An up to 8 character ID to identify a VNet
More descriptive identifier. Assigned as an alias on the interface. Optional
The associated zone for this VNet
The unique VLAN or VXLAN ID
Enables vlan-aware option on the interface, enabling configuration in the guest.
Sets the isolated flag for all guest ports of this interface, but not for the interface itself. This means guests can only send traffic to non-isolated bridge-ports, which is the bridge itself. In order for this setting to take effect, you need to restart the affected guest.
A subnet define a specific IP range, described by the CIDR network address. Each VNet, can have one or more subnets.
A subnet can be used to:
Restrict the IP addresses you can define on a specific VNet
Restrict the IP addresses you can define on a specific VNet
Assign routes/gateways on a VNet in layer 3 zones
Assign routes/gateways on a VNet in layer 3 zones
Enable SNAT on a VNet in layer 3 zones
Enable SNAT on a VNet in layer 3 zones
Auto assign IPs on virtual guests (VM or CT) through IPAM plugins
Auto assign IPs on virtual guests (VM or CT) through IPAM plugins
DNS registration through DNS plugins
DNS registration through DNS plugins
If an IPAM server is associated with the subnet zone, the subnet prefix will be automatically registered in the IPAM.
Subnet configuration options:
A CIDR network address, for example 10.0.0.0/8
The IP address of the network’s default gateway. On layer 3 zones (Simple/EVPN plugins), it will be deployed on the VNet.
Enable Source NAT which allows VMs from inside a VNet to connect to the outside network by forwarding the packets to the nodes outgoing interface. On EVPN zones, forwarding is done on EVPN gateway-nodes. Optional.
Add a prefix to the domain registration, like .prefix. Optional.
The DNS server that DHCP announces to guests. Without it, guests use the DHCP server of the zone, which forwards queries to the DNS servers of the host. Optional.
Some zones implement a separated control and data plane that require an external controller to manage the VNet’s control plane.
Currently, only the EVPN zone requires an external controller.
The EVPN , zone requires an external controller to manage the control plane. The EVPN controller plugin configures the Free Range Routing (frr) router.
To enable the EVPN controller, you need to enable FRR on every node, see install FRRouting .
EVPN controller configuration options:
A unique BGP ASN. It’s highly recommended to use a private ASN (64512 – 65534, 4200000000 – 4294967294), as otherwise you could end up breaking global routing by mistake. Every EVPN controller configured on a node must have the same ASN configured.
A Fabric that contains all the nodes part of the EVPN zone. Will be used as the underlay network.
An IP list of all nodes that are part of the EVPN zone. (could also be external nodes or route reflector servers)
A list of nodes where this controller should be active. This can be used to configure EVPN peering sessions on specific nodes only.
EVPN controllers use the peer group name VTEP by default. When defining multiple EVPN controllers, each additional controller needs to specify a custom peer group name to be used in the FRR configuration.
Allows configuring the type of BGP session manually. The auto mode preserves the old behavior of the SDN stack: EVPN controllers were iBGP, unless there was a BGP controller configured. In that case the EVPN controller re-used the BGP session from the BGP controller. With this option, the type of BGP session can be overridden manually - allowing for explicitly configuring the type of BGP session that should be established with the EVPN controller.
Increase the number of hops to reach peers, in case they are not directly connected or they use loopback. (only for BGP Mode external ).
Every router can be member of exactly one Autonomous System, so any iBGP sessions on a given node (irregardless of address family) need to have the same ASN configured. Any configuration that has two iBGP sessions with different ASNs is rejected and an error thrown, since it is by definition not possible to have two iBGP sessions with different ASNs on the same BGP instance, as one instance can only have one local ASN.
The local ASN of the FRR instance is auto-derived based on the settings in the SDN controllers:
If only a BGP or EVPN controller exists (but not both), then the respective ASN from the controller is used.
For backwards-compatibility reasons, the SDN stack checks if there are any EVPN controllers in auto mode. If a BGP controller exists, then the ASN from the BGP controller will be used in any case.
Otherwise, if an EVPN controller is configured, then the ASN from the EVPN controller is used - otherwise the ASN from the BGP controller.
The SDN stack utilizes the local-as directive together with the no-prepend replace-as option in the FRR configuration for handling multiple ASNs in the configuration. This is the case when the BGP and EVPN controller have different ASNs configured and auto mode is disabled.
VTEP IP auto-generation
The VTEP IPs for the VXLAN devices of a zone will be auto-derived based on the (primary) controller defined in the EVPN zone:
If a BGP or IS-IS controller with a loopback interface is used, then the IP from the loopback interface will be used as VTEP IP.
If the peer list of the controller contains an IP that is locally configured on the node, then this IP will be used as VTEP IP.
Otherwise, the EVPN controller will check the route in the default routing table for the first peer IP and use the source IP address specified in the routing table as VTEP IP. This can cause issues if the route gets announced dynamically e.g. via a fabric. In that case it is necessary for the kernel routing table to contain the required entry when applying the configuration for the EVPN controller.
The BGP controller is not used directly by a zone. You can use it to configure FRR to manage BGP peers.
For BGP-EVPN, it can be used to define a different ASN by node, so doing EBGP. It can also be used to export EVPN routes to an external BGP peer.
BGP controller configuration options:
The node of this BGP controller
A unique BGP ASN. It’s highly recommended to use a private ASN in the range (64512 - 65534) or (4200000000 - 4294967294), as otherwise you could break global routing by mistake.
A list of peer IP addresses you want to communicate with using the underlying BGP network.
If your peer’s remote-AS is different, this enables EBGP.
Use a loopback or dummy interface as the source of the EVPN network (for multipath).
Increase the number of hops to reach peers, in case they are not directly connected or they use loopback.
Allow ECMP if your peers have different ASN.
The ISIS controller is not used directly by a zone. You can use it to configure FRR to export EVPN routes to an ISIS domain.
ISIS controller configuration options:
The node of this ISIS controller.
A unique ISIS domain.
A Unique ISIS network address that identifies this node.
A list of physical interface(s) used by ISIS.
Use a loopback or dummy interface as the source of the EVPN network (for multipath).
Fabrics in Proxmox VE SDN provide automated routing between nodes in a cluster. They simplify the configuration of underlay networks between nodes to form the foundation for SDN deployments.
They automatically configure routing protocols on your physical network interfaces to establish connectivity between nodes in the cluster. This creates a resilient, auto-configuring network fabric that adapts to changes in network topology. These fabrics can be used as a full-mesh network for Ceph or in the EVPN controller and VXLAN zone.
The FRR implementations of OpenFabric and OSPF are used, so first ensure that the frr and frr-pythontools packages are installed:
To view the configuration of an SDN fabric users need SDN.Audit or SDN.Allocate permissions. To create or modify a fabric configuration, users need SDN.Allocate permissions. To view the configuration of a node, users need the Sys.Audit or Sys.Modify permissions. When adding or updating nodes within a fabric, additional Sys.Modify permission for the specific node is required, since this operation involves writing to the node’s /etc/network/interfaces file.
To create a Fabric, head over to Datacenter→SDN→Fabrics and click "Add Fabric". After selecting the preferred protocol, the fabric is created. With the "+" button you can select the nodes which you want to add to the fabric, you also have to select the interfaces used to communicate with the other nodes.
You can specify a CIDR network range (e.g., 192.0.2.0/24) as a loopback prefix for the fabric. When configured, the system will automatically verify that all router-IDs are contained within this prefix. This ensures consistency in your addressing scheme and helps prevent addressing conflicts or errors.
Each node in a fabric needs a unique router-ID, which is an IPv4 address in dotted decimal notation (e.g., 192.0.2.1). In OpenFabric this can also be an IPv6 address in the typical hexadecimal representation separated by colons (e.g., 2001:db8::1428:57ab). A dummy interface with the router-ID as address will automatically be created and will act as a loopback interface for the fabric (it’s also passive by default).
For every fabric, an access-list and a route-map are automatically created. These configure the router to rewrite the source address of outgoing packets. When you communicate with another node (for example, by pinging it), this ensures that traffic originates from the local dummy interface’s IP address rather than from the physical interface. This provides consistent routing behavior and proper source address selection throughout the fabric.
IPv6 is currently only usable on OpenFabric fabrics. These IPv6 Fabrics need global IPv6 forwarding enabled on all nodes contained in the fabric. Without IPv6 forwarding, non-full-mesh fabrics won’t work because the transit nodes don’t forward packets to the outer nodes. Currently there isn’t an easy way to enable IPv6 forwarding per-interface like with IPv4, so it has to be enabled globally. This can be accomplished by appending this line:
Fabrics in a Zone VRF
OSPF and BGP fabrics can route in the VRF of a simple zone instead of the default routing table of the host, for example to connect the zone across nodes or to an upstream network. Select the zone in VRF Zone when you create the fabric, it cannot be changed later. Only simple zones with a dedicated VRF can be selected, and all nodes of the fabric need to be part of the zone. The fabric puts its interfaces into the VRF, so do not set a VRF for them in the network configuration of the nodes. Applying the SDN configuration warns such a setting, which can override the VRF of the fabric.
Interfaces of WireGuard fabrics cannot be used, as the WireGuard fabric keeps 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, also in the loose mode that /usr/lib/sysctl.d/pve-firewall.conf sets for all . The kernel uses the higher value of all and of the interface, so on each node of the fabric, set rp_filter to 0 for all and for every interface of the fabric. Use a file that sorts after pve-firewall.conf , so that it overrides the value set there, for example /etc/sysctl.d/zz-rp-filter.conf . Replace with the name of a fabric interface, and add one such line for each of them:
Apply the file with sysctl --system or by rebooting the node. Other interfaces keep their own value, which is 2 by default.
OpenFabric is a routing protocol specifically designed for data center fabrics. It’s based on IS-IS and optimized for the spine-leaf topology common in data centers.
Configuration options:
This is the name of the OpenFabric fabric and can be at most 8 characters long.
IPv4 CIDR network range (e.g., 192.0.2.0/24) used to verify that all router-IDs in the fabric are contained within this prefix.
IPv6 CIDR network range (e.g., 2001:db8::/64) used to verify that all router-IDs in the fabric are contained within this prefix.
Controls how frequently (in seconds) hello packets are sent to discover and maintain connections with neighboring nodes. Lower values detect failures faster but increase network traffic. This option is global on the fabric, meaning every interface on every node in this fabric will inherit this hello-interval property. The default value is 3 seconds.
Sets how frequently (in seconds) the node synchronizes its routing database with neighbors. Lower values keep the network topology information more quickly in sync but increase network traffic. This option is global on the fabric, meaning every interface on every node in this fabric will inherit this property. The default value is 10 seconds.
Options that are available on every node that is part of a fabric:
Select the node which will be added to the fabric. Only nodes that currently are in the cluster will be shown.
A unique IPv4 address used to generate the OpenFabric Network Entity Title (NET). Each node in the same fabric must have a different Router-ID, while a single node must use the same NET address across all fabrics (If this is not given Proxmox VE will automatically choose one and ensure that the configuration is valid).
A unique IPv6 address used to generate the OpenFabric Network Entity Title (NET). Each node in the same fabric must have a different Router-ID, while a single node must use the same NET address across all fabrics. If a IPv4 and IPv6 address is configured, the IPv4 one will be used to derive the NET.
Specify the interfaces used to establish peering connections with other OpenFabric nodes. Preferably select interfaces without pre-assigned IP addresses, then configure addresses in the IPv4/IPv6 column if needed. A dummy "loopback" interface with the router-id is automatically created.
The following optional parameters can be configured per interface when enabling the additional columns:
A IPv4 that should get automatically configured on this interface. Must include the netmask (e.g. /31)
A IPv6 that should get automatically configured on this interface. Must include the netmask (e.g. /127).
Defines how many missed hello packets constitute a failed connection. Higher values make the connection more resilient to packet loss but slow down failure detection. The default value is 10.
OSPF (Open Shortest Path First) is a widely-used link-state routing protocol that efficiently calculates the shortest path for routing traffic through IP networks.
Configuration options:
IPv4 CIDR network range (e.g., 192.0.2.0/24) used to verify that all router-IDs in the fabric are contained within this prefix.
This specifies the OSPF area identifier, which can be either a 32-bit signed integer or an IP address. Areas are a way to organize and structure OSPF networks hierarchically, with Area 0 (or 0.0.0.0) serving as the backbone area.
A simple zone with a dedicated VRF in which the fabric routes, see Fabrics in a Zone VRF . Without one, the fabric uses the default routing table.
Optional list of source protocols whose routes are imported into OSPF. Each entry picks a source ( bgp , connected , kernel or static ) and may additionally reference a route map to filter or transform routes before they are advertised. Useful for example to leak BGP fabric routes into OSPF, or to advertise locally connected networks without configuring them per interface.
On a node, all OSPF fabrics in the same VRF, including the default VRF, their redistributions. Configure each source in just one of them. If several fabrics redistribute the same source, the first fabric in ID order sets its metric and route map.
Options that are available on every node that is part of a fabric:
Select the node which will be added to the fabric. Only nodes that are currently in the cluster will be shown.
A unique Router-ID used to identify this router within the OSPF network. Each node in the same fabric must have a different Router-ID.
Specify the interfaces used to establish peering connections with other OSPF nodes. Preferably select interfaces without pre-assigned IP addresses, then configure addresses in the IPv4 column if needed. A dummy "loopback" interface with the router-id is automatically created.
The following optional parameter can be configured per interface:
A IPv4 that should get automatically configured on this interface. Must include the netmask (e.g. /31)
WireGuard can be used for establishing a VPN between Proxmox VE nodes and / or external nodes. It does not provide dynamic routing by itself, but can be used in conjunction with dynamic routing protocols operating on layer 3 and above (OSPF, BGP) to provide a dynamically routed, encrypted transport, for example to carry EVPN or VXLAN traffic.
Configuration options:
This is the name of the WireGuard fabric and can be at most 8 characters long.
If this is set, then WireGuard will send an empty authenticated packet every N seconds to each configured peer. This can help keeping connections alive when using stateful firewalls or NAT.
There are two types of nodes: internal and external. Internal nodes are Proxmox VE nodes, external nodes everything else. They are essentially reusable peer definitions that can be used across the whole cluster.
This is the IP or hostname that other Proxmox VE nodes should use for connecting to this Proxmox VE node (e.g. 192.0.2.1 / 2001:db8::1 ). This is used together with the Listen Port configured on the separate interfaces for constructing the actual endpoint. For instance, if a node has the IP 192.0.2.1 as an Endpoint and an interface wg0 with Listen Port 51820 configured, then other nodes will use 192.0.2.1:51820 as endpoint for connecting to this node.
A comma-separated list of CIDRs (for example 198.51.100.0/24 , or 0.0.0.0/0 to tunnel all IPv4 traffic). When selecting this node as a peer on other nodes, the list is used as the AllowedIPs setting in the WireGuard peer configuration, that is, both the source filter for incoming traffic and the routing destination for outgoing traffic to this node.
The name of the external node.
The public key used by the external node.
The IP or hostname together with the port that other nodes use to connect to this external peer (e.g. 192.0.2.1:51820 ). If an endpoint uses an IPv6 address, then the address needs to be enclosed in square brackets (e.g. [2001:db8::1]:51820 ).
A comma-separated list of CIDRs (for example 198.51.100.0/24 , or 0.0.0.0/0 to tunnel all IPv4 traffic). When selecting this node as a peer on other nodes, the list is used as the AllowedIPs setting in the WireGuard peer configuration, that is, both the source filter for incoming traffic and the routing destination for outgoing traffic to this node.
The name of the network interface on the Linux host. One to eight characters that must start with an alphanumeric character; the remaining characters may be alphanumeric or hyphens.
The IPv4 address in CIDR notation that should be configured on this interface (for example 198.51.100.1/24 ).
The IPv6 address in CIDR notation that should be configured on this interface (for example 2001:db8::1/64 ).
The listening port for this interface.
A list of peers that should be configured for that interface. All nodes that are part of the fabric can be selected as peers - the peer definition will be auto-generated from the configuration in the node.
The MTU of the interface. WireGuard adds up to 80 bytes, so set it 80 bytes below the MTU of the underlying network, for example 1420 for 1500. The web interface fills in 1420 for new interfaces. Without an MTU, ifupdown2 uses its default, normally 1500. The minimum is 1280, as the kernel disables IPv6 on interfaces with a smaller MTU.
When defining an interface, Proxmox VE automatically generates a private key for it in /etc/pve/priv/wg-keys.cfg upon saving the interface, and stores the matching public key alongside the interface in the fabric configuration so it can be shown in the Web UI when editing the node. Removing an interface from a node removes the corresponding private key from wg-keys.cfg as part of the same API call.
The fabric automatically generates routes through the WireGuard interface for every peer’s allowed IPs. For example, if interface wg0 has two peers with 198.51.100.0/24 and 203.0.113.0/24 as allowed IPs, then routes for both subnets are created. If the peer references the interface of a Proxmox VE node, that interface’s configured IP address is additionally added as a host route to the allowed IPs (for example, a peer node configured with 192.0.2.10/24 gets 192.0.2.10/32 added).
The fabric will autogenerate routes in the kernel routing table for all allowed IPs of a peer. By setting this option, no routes will be inserted into the kernel routing table.
To see the status of a fabric on a node, select the fabric under the node in the resource tree . The information shown depends on the protocol of the fabric.
The tooltip of a WireGuard fabric in the resource tree shows it as ok if all of its interfaces on the node are up, use their configured public key and listen port, and have exactly the configured peers. A listen port of 0 is not checked. The check uses the applied configuration, not pending changes. It does not show whether the peers are reachable, see the Status of the neighbors for recent with them. On a node that is not part of the fabric, the interfaces and neighbors are empty.
Lists the WireGuard interfaces configured for the node, including missing ones, with the following properties:
The name of the network interface on the host.
wireguard if the interface on the node is a WireGuard interface, shown as - otherwise.
The state of the interface on the node:
up : The interface exists and has the UP flag set.
up : The interface exists and has the UP flag set.
down : The interface exists, but does not have the UP flag set.
down : The interface exists, but does not have the UP flag set.
missing : The interface does not exist on the node, for example because applying the configuration failed on the node.
missing : The interface does not exist on the node, for example because applying the configuration failed on the node.
unknown : The interface exists, but its WireGuard state could not be read.
unknown : The interface exists, but its WireGuard state could not be read.
error : The interface exists, but is not a WireGuard interface.
error : The interface exists, but is not a WireGuard interface.
The public key that can be used for communicating with the WireGuard instance on this interface. Shown as - if WireGuard does not report one, for example because the interface has no private key.
The port that can be used to reach this WireGuard instance. Shown as - if WireGuard does not report the interface.
Lists the peers that WireGuard reports for the interfaces of the node, with the following properties:
The name of the peer in the fabric configuration. For a node of the cluster, its interface follows in parentheses. A peer without a name, shown as - , has a public key that is not configured for this interface.
The endpoint that is currently used to reach this peer (e.g. 192.0.2.1:51820). WireGuard updates the endpoint to the address it last received traffic from, so this can differ from the configured endpoint, for example if the peer is behind NAT. Shown as - if the endpoint is not known yet.
The interface that has this neighbor configured.
How recently the neighbor completed a handshake:
active : The latest handshake was less than 180 seconds ago, or within the longer interval allowed with persistent keepalive.
active : The latest handshake was less than 180 seconds ago, or within the longer interval allowed with persistent keepalive.
down : Persistent keepalive is enabled, but there was no handshake within that interval. Check the connection to the neighbor.
down : Persistent keepalive is enabled, but there was no handshake within that interval. Check the connection to the neighbor.
idle : Persistent keepalive is disabled and there was no recent handshake. This is normal for an unused tunnel. To monitor neighbors also without traffic, enable Persistent Keepalive (s) on the fabric.
idle : Persistent keepalive is disabled and there was no recent handshake. This is normal for an unused tunnel. To monitor neighbors also without traffic, enable Persistent Keepalive (s) on the fabric.
The public key of the neighbor.
A comma-separated list of CIDRs. On this interface, traffic to a destination is sent to the neighbor with the most specific matching prefix, and traffic from a source address is only accepted from that neighbor. Shown as - if WireGuard reports no allowed IPs for the neighbor.
The time of the latest handshake with this neighbor. A dash means that there was no handshake yet.
The persistent keepalive interval that WireGuard currently uses for this neighbor, or off if it is disabled. This can differ from the configured interval, for example if applying the configuration failed.
The amount of traffic that has been sent to this neighbor.
The amount of traffic that has been received from this neighbor.
Prefix Lists and Route Maps
Prefix lists and route maps let you control which routes are exchanged between the Proxmox VE nodes and their BGP, EVPN, OSPF, or OpenFabric peers, and modify attributes of those routes on the way in or out. The two work together: a prefix list classifies routes by their destination CIDR, while a route map chains match conditions and actions into an ordered policy.
If you have used ip prefix-list and route-map on FRR, Cisco IOS, or Juniper before, the Proxmox VE entities behave the same way. The Proxmox VE layer manages the configuration as cluster-wide entities under /etc/pve/sdn/ and translates them to FRR prefix-list and route-map stanzas when applying the SDN configuration. The merged FRR configuration ends up in /etc/frr/frr.conf on each node; any node-local additions in /etc/frr/frr.conf.local are appended on top.
Like the rest of the SDN configuration, edits go to a pending state first and become active only after you apply changes in the main SDN panel.
A prefix list is an ordered, named list of entries that each match a single destination CIDR (or a range of prefix lengths within that CIDR) and either permit or deny it. FRR evaluates entries in order of their sequence number and stops at the first match; if no entry matches, the prefix list denies implicitly, same as plain FRR.
Prefix lists are managed under Datacenter -> SDN -> Prefix Lists . Each list has a name and contains one or more entries with the following properties:
Order in which the entry is evaluated within the list. Must be unique per list and at least 1 . If left empty on creation, Proxmox VE auto-assigns the free sequence number using the convention max + 5 , leaving room for later insertions.
Either permit or deny . There is an implicit deny at the end of each list.
Destination network in CIDR notation, for example 192.0.2.0/24 or 2001:db8::/32 . The prefix 0.0.0.0/0 (and ::/0 ) is allowed and matches the default route.
Optional minimum prefix length. If set, the entry matches any subnet of prefix whose length is at least ge .
Optional maximum prefix length. If set, the entry matches any subnet of prefix whose length is at most le .
Without le or ge an entry matches the prefix exactly. With both set, it matches any subnet within the given length range. For example 10.0.0.0/8 ge 16 le 24 matches every /16 to /24 subnet inside 10.0.0.0/8 . This is the standard FRR/Cisco semantics. Additional validation enforced by Proxmox VE: ge must not exceed le , neither may be smaller than the prefix’s own length, and both must stay within the address family bound (/32 for IPv4, /128 for IPv6).
A route map is an ordered list of entries that match incoming or outgoing routes against criteria, optionally modify attributes such as the metric or local preference, and either permit (forward the route, possibly modified) or deny (drop the route). FRR evaluates entries in order; the first match controls the action. Every route map implicitly has an otherwise empty deny as its last entry, denying all routes that did not match an entry explicitly.
Route maps are managed under Datacenter -> SDN -> Route Maps . Each entry has the following properties:
Order in which the entry is evaluated, between 0 and 65535 . Mandatory and must be unique within a route map. Leaving gaps between orders, for example assigning entries 10 , 20 , 30 , leaves room for later insertions without renumbering.
Either permit or deny . permit lets the route pass (after any set actions); deny drops it.
One or more match conditions. Available keys are: route-type , vni , ip-address-prefix-list , ip6-address-prefix-list , ip- -hop-prefix-list , ip6- -hop-prefix-list , ip- -hop-address , ip6- -hop-address , metric , local-preference , peer , and tag . The four *-prefix-list keys reference a prefix list by name. tag matches a 32-bit route tag attribute, the same value that the tag set action assigns; this lets one entry mark routes with a tag and a later entry (in the same or another map) act on them. All match conditions of an entry must be true for it to apply.
One or more attributes to set when the entry matches. Available keys are ip- -hop , ip- -hop-peer-address , ip- -hop-unchanged , ip6- -hop , ip6- -hop-peer-address , ip6- -hop-prefer-global , local-preference , tag , weight , metric , and src . The metric value supports N , +N , -N (adjust), rtt , +rtt , -rtt , igp , and aigp . The tag value accepts an integer or the literal untagged .
Controls how evaluation continues after a match. Leave empty for the default behavior (terminate on match). on-match- proceeds with the immediately following entry. on-match-goto jumps to the first entry whose order is greater than or equal to the given value. continue jumps to the entry with exactly that order. All three correspond to the FRR on-match / continue directives.
Optionally call another route map at the end of this entry’s processing. This corresponds to the FRR call directive.
Where Prefix Lists and Route Maps Are Used
The BGP and EVPN controllers each take an incoming and an outgoing route map. Incoming maps run against routes received from a peer before installing them; outgoing maps run against routes before announcing them. Both fields are optional and selected from the route maps configured in the SDN.
The OSPF and OpenFabric fabrics take a Route Filter option that references a prefix list. When set, only routes whose destinations pass the prefix list are installed in the kernel routing table. Without an explicit filter, the fabric generates a default filter from the fabric’s own IPv4 Prefix and...
The full story
This article is one source in a clustered incident — the cluster page carries the summary, timeline and every other outlet covering it.
