// Poradnik techniczny // Sieć · EVPN/VXLAN

Sieci EVPN/VXLAN
w Proxmox VE

EVPN/VXLAN to fundament sieci nakładkowych w Proxmox VE. VXLAN rozciąga sieć warstwy 2 ponad routowanym L3, a EVPN (oparty na BGP) jest jej rozproszonym control plane. Efekt: maszyny w tej samej podsieci na różnych węzłach i lokalizacjach, izolacja wielu najemców i mobilność VM bez przepinania sieci — także po migracji z VMware NSX.

// 01 · Po co EVPN/VXLAN

Jedna sieć L2 ponad węzłami

Klasyczny VLAN wymaga, by ta sama domena L2 była rozpięta na fizycznych przełącznikach — co skaluje się słabo i wiąże sieć z topologią okablowania. VXLAN rozwiązuje to, tunelując ruch L2 w pakietach UDP/IP: dwie maszyny w tej samej podsieci mogą działać na różnych węzłach (a nawet w różnych ośrodkach), o ile węzły mają między sobą łączność IP.

Rozdziel dwie warstwy: VXLAN to data plane (jak pakiety są kapsułkowane i przenoszone), a EVPN to control plane (skąd węzły wiedzą, gdzie jest który adres MAC/IP). Razem dają skalowalną, programowalną sieć nakładkową.

// 02 · VXLAN

Tunel warstwy 2 w UDP/IP

VXLAN nadaje każdemu segmentowi unikalny identyfikator VNI i kapsułkuje ramki Ethernet w pakietach UDP między węzłami. Dzięki temu segment jest niezależny od fizycznej topologii — liczy się tylko routowalność underlay (np. fabric OpenFabric/OSPF).

⚠️

MTU: enkapsulacja VXLAN dokłada 50 bajtów, więc MTU sieci nakładkowej musi być o 50 B mniejsze niż MTU fizycznego interfejsu (domyślnie 1450 przy 1500 na łączu). Przy storage/Ceph stosuj jumbo frames i pilnuj spójnego MTU na całej ścieżce.

// 03 · EVPN

Rozproszony control plane (BGP)

EVPN to rodzina tras BGP, która roznosi po klastrze informację o adresach MAC i IP (trasy typu 2). Zamiast „zalewania” siecią, węzły uczą się lokalizacji adresów z BGP — to rozproszony kontroler (demon FRR na każdym węźle), bez pojedynczego punktu awarii, co świetnie pasuje do architektury Proxmoxa.

  • Strefa = VRF — strefa EVPN to osobna tablica routingu (VRF). Routować między sobą mogą tylko podsieci tej samej strefy — naturalna izolacja multi-tenant.
  • Anycast gateway — brama podsieci jest wypychana na każdy węzeł pod tym samym adresem, więc VM ma lokalną bramę niezależnie od tego, gdzie działa (idealne pod live migration).
  • Exit-nodes — 1–2 wskazane węzły routują ruch między VRF strefy a siecią fizyczną (default VRF), pełniąc rolę wyjścia do świata.
// 04 · Konfiguracja w Proxmox

Kontroler, strefa i VNet

Całość ustawisz w Datacenter → SDN, a po zmianach klikasz Apply:

ElementCo konfigurujesz
Kontroler EVPNinstancja BGP: numer ASN oraz peers — lista IP węzłów objętych EVPN
Strefa (EVPN)VRF izolacji; wskazujesz kontroler, VRF VXLAN ID i exit-nodes
VNetsegment z identyfikatorem VXLAN (VNI)
Subnetpodsieć z bramą — to ona staje się anycast gateway na każdym węźle

Jako underlay (łączność IP między węzłami) najwygodniej użyć SDN Fabric, a stan EVPN — nauczone MAC/IP i trasy — podejrzysz w panelu (monitoring SDN/EVPN).

💡

EVPN/VXLAN to naturalny następca segmentacji z VMware NSX po migracji — daje sieci nakładkowe, multi-tenant i mobilność VM bez zamykania się w jednym dostawcy.

Zaprojektujemy sieć nakładkową EVPN/VXLAN

Zaplanujemy strefy, VNety, anycast gateway i exit-nodes w Proxmox VE — czysto, z izolacją multi-tenant i mobilnością VM po migracji z VMware.

⚡ Bezpłatna konsultacja → SDN Fabrics
// Technical guide // Network · EVPN/VXLAN

EVPN/VXLAN networks
in Proxmox VE

EVPN/VXLAN is the foundation of overlay networks in Proxmox VE. VXLAN stretches a layer-2 network over routed L3, and EVPN (built on BGP) is its distributed control plane. The result: VMs in the same subnet across different nodes and sites, multi-tenant isolation and VM mobility without re-cabling — including after migrating off VMware NSX.

// 01 · Why EVPN/VXLAN

One L2 network across nodes

A classic VLAN requires the same L2 domain to be stretched across physical switches — which scales poorly and ties the network to the cabling topology. VXLAN solves this by tunnelling L2 traffic inside UDP/IP packets: two VMs in the same subnet can run on different nodes (or even different sites) as long as the nodes have IP connectivity.

Separate the two layers: VXLAN is the data plane (how packets are encapsulated and carried), while EVPN is the control plane (how nodes know where each MAC/IP lives). Together they give a scalable, programmable overlay.

// 02 · VXLAN

A layer-2 tunnel in UDP/IP

VXLAN gives each segment a unique VNI and encapsulates Ethernet frames in UDP packets between nodes. The segment is then independent of the physical topology — all that matters is a routable underlay (e.g. an OpenFabric/OSPF fabric).

⚠️

MTU: VXLAN encapsulation adds 50 bytes, so the overlay MTU must be 50 B smaller than the physical interface MTU (default 1450 on a 1500 link). With storage/Ceph use jumbo frames and keep a consistent MTU along the whole path.

// 03 · EVPN

A distributed control plane (BGP)

EVPN is a family of BGP routes that distributes MAC and IP reachability across the cluster (type-2 routes). Instead of network "flooding", nodes learn address locations from BGP — a distributed controller (the FRR daemon on each node), with no single point of failure, which fits Proxmox's architecture well.

  • Zone = VRF — an EVPN zone is a separate routing table (VRF). Only subnets in the same zone can route to each other — natural multi-tenant isolation.
  • Anycast gateway — the subnet gateway is pushed to every node under the same address, so a VM has a local gateway wherever it runs (ideal for live migration).
  • Exit nodes — 1–2 designated nodes route traffic between the zone VRF and the physical network (default VRF), acting as the way out.
// 04 · Configuration in Proxmox

Controller, zone and VNet

You set it all up under Datacenter → SDN, then click Apply after changes:

ElementWhat you configure
EVPN controllera BGP instance: an ASN and peers — the list of node IPs in the EVPN
Zone (EVPN)the isolation VRF; you point it at the controller, a VRF VXLAN ID and exit nodes
VNeta segment with a VXLAN identifier (VNI)
Subneta subnet with a gateway — which becomes the anycast gateway on every node

For the underlay (IP connectivity between nodes) an SDN Fabric is the easiest choice, and you can inspect EVPN state — learned MAC/IP and routes — in the UI (SDN/EVPN monitoring).

💡

EVPN/VXLAN is the natural successor to VMware NSX segmentation after a migration — it delivers overlay, multi-tenant networks and VM mobility without locking you into a single vendor.

We'll design your EVPN/VXLAN overlay

We'll plan zones, VNets, anycast gateway and exit nodes in Proxmox VE — cleanly, with multi-tenant isolation and VM mobility after your VMware migration.

⚡ Free consultation → SDN Fabrics