Home » EVPN-VXLAN: Modern Data Center Fabric Architecture
EVPN-VXLAN: Modern Data Center Fabric Architecture
EVPN-VXLAN: Modern Data Center Fabric Architecture
EVPN-VXLAN เป็น architecture มาตรฐานสำหรับ modern data center fabric ที่ใช้ VXLAN (Virtual Extensible LAN) เป็น data plane สำหรับ overlay networking และ EVPN (Ethernet VPN) เป็น control plane สำหรับ MAC/IP learning และ distribution แทนที่ flood-and-learn แบบเดิมด้วย BGP-based control plane
Data centers แบบดั้งเดิมที่ใช้ STP + VLAN มีข้อจำกัดมาก: STP block redundant links, VLAN limit 4094, broadcast storms และ scalability issues EVPN-VXLAN แก้ทุกปัญหานี้ด้วย Layer 3 underlay + overlay tunnels ที่ scale ได้ดีกว่า, ใช้ ECMP multipath และรองรับ multi-tenancy
Traditional vs EVPN-VXLAN
Feature
Traditional (STP+VLAN)
EVPN-VXLAN
Spanning Tree
จำเป็น (block links)
ไม่จำเป็น (L3 underlay, ECMP)
VLAN Scale
4094 max
16 million VNIs
Multipathing
จำกัด (STP blocks)
Full ECMP (ทุก link active)
MAC Learning
Flood-and-learn (data plane)
BGP EVPN (control plane)
Multi-tenancy
จำกัด (VLAN-based)
VNI per tenant (scalable)
L2 Extension
ภายใน STP domain
ข้าม L3 network (VXLAN tunnel)
Workload Mobility
จำกัด (same L2 domain)
ย้าย VM ข้าม racks/DCs ได้
VXLAN Data Plane
Feature
รายละเอียด
Encapsulation
Original L2 frame → VXLAN header → UDP → outer IP → outer L2
VNI (VXLAN Network Identifier)
24-bit ID (16 million segments) แทน 12-bit VLAN ID
VTEP (VXLAN Tunnel Endpoint)
Device ที่ encap/decap VXLAN (leaf switches)
UDP Port
4789 (destination port)
Overhead
50 bytes (VXLAN + UDP + outer IP + outer Ethernet)
MTU
ต้อง ≥ 1550 (9000+ recommended สำหรับ jumbo frames)
EVPN Control Plane
Feature
รายละเอียด
Protocol
MP-BGP (Multi-Protocol BGP) with EVPN address family
MAC/IP Advertisement
BGP EVPN advertise MAC + IP bindings (ไม่ต้อง flood)
Route Types
Type 1-5 (MAC, MAC/IP, Inclusive Multicast, ES, IP Prefix)
BUM Handling
Ingress replication หรือ multicast group per VNI
ARP Suppression
Proxy ARP จาก local VTEP (ลด broadcast)
Multihoming
Active-Active ESI (Ethernet Segment Identifier)
EVPN Route Types
Type
ชื่อ
ใช้สำหรับ
Type 1
Ethernet Auto-Discovery
Multihoming (ESI), fast convergence, aliasing
Type 2
MAC/IP Advertisement
Advertise MAC + optional IP (หลัก!)
Type 3
Inclusive Multicast
VTEP discovery, BUM traffic handling
Type 4
Ethernet Segment
DF (Designated Forwarder) election สำหรับ multihoming
Type 5
IP Prefix
L3 routing (inter-VXLAN routing, external prefixes)
Spine-Leaf + EVPN-VXLAN
Component
Role
Leaf Switches
VTEP (VXLAN tunnel endpoints), connect servers/hosts
Spine Switches
IP transport (underlay routing), ไม่ทำ VXLAN encap
Border Leaf
เชื่อมต่อ external networks (WAN, internet, other DCs)
Underlay
eBGP หรือ OSPF/IS-IS สำหรับ VTEP reachability
Overlay
iBGP EVPN (with route reflectors) สำหรับ MAC/IP distribution
Routing Models
Model
วิธีทำงาน
ข้อดี/ข้อเสีย
Centralized (CRB)
Inter-VXLAN routing ที่ border leaf/spine เท่านั้น
ง่าย แต่ traffic ต้อง hairpin
Distributed (ERB/Asymmetric)
ทุก leaf ทำ routing (ingress leaf route)
Optimal path แต่ทุก leaf ต้องมีทุก VNI
Distributed (Symmetric)
Ingress + egress leaf ทำ routing (L3 VNI)
Best: optimal + leaf ไม่ต้องมีทุก VNI
Vendor Implementations
Vendor
Platform
จุดเด่น
Cisco
Nexus 9000 (NX-OS/ACI)
ACI = policy-driven, NX-OS = open EVPN-VXLAN
Arista
7000/7500 series (EOS)
Clean CLI, strong EVPN, CloudVision automation
Juniper
QFX series (Junos)
Apstra automation, strong EVPN standards
Nokia
SR Linux
Modern NOS, container-based, strong SR+EVPN
SONiC
Open-source NOS
Open-source, hyperscaler-proven
Design Best Practices
Practice
รายละเอียด
eBGP underlay
eBGP สำหรับ underlay (unique ASN per leaf/spine)
iBGP EVPN overlay
iBGP + route reflectors (spine) สำหรับ EVPN
Symmetric IRB
ใช้ symmetric routing model + L3 VNI (best scalability)
ARP suppression
Enable ARP suppression ลด broadcast
Jumbo MTU
9000+ MTU บน underlay (รองรับ VXLAN overhead)
Loopback per VTEP
ใช้ loopback IP เป็น VTEP source
ทิ้งท้าย: EVPN-VXLAN = DC Fabric Standard
EVPN-VXLAN = modern data center fabric standard VXLAN = data plane (16M segments), EVPN = control plane (BGP) Spine-Leaf + EVPN-VXLAN = ECMP, no STP, scalable Symmetric IRB = best routing model สำหรับ inter-VXLAN eBGP underlay + iBGP EVPN overlay = recommended design
อ่านเพิ่มเติมเกี่ยวกับ Spine-Leaf Architecture และ VXLAN Overlay ที่ siamlancard.com หรือจาก icafeforex.com และ siam2r.com