RFC 7348: Virtual eXtensible Local Area Network (VXLAN): A Framework for Overlaying Virtualized Layer 2 Networks over Layer 3 Networks
IETF / RFC Editor (Independent Submission) · M. Mahalingam, D. Dutt et al.
A 2014 informational IETF RFC defining VXLAN, which overcomes the 4094 VLAN limit with a 24-bit segment ID and carries L2 frames over L3 inside UDP (destination port 4789).
On this page
Overview
RFC 7348 defines the VXLAN encapsulation that addresses the inadequacy of VLANs in multi-tenant data centres. The document highlights three problems: limits imposed by Spanning Tree and the 4094 VLAN range, the need for isolation in multi-tenant environments, and inadequate MAC table sizes in top-of-rack switches. VXLAN wraps an L2 frame in a UDP packet to build virtual L2 segments over an existing L3 infrastructure.
Each VXLAN segment is identified by a 24-bit VXLAN Network Identifier (VNI), allowing far more segments on the same physical network than the 4094 VLAN limit. VTEP endpoints perform encapsulation and decapsulation. Frames with unknown destination, broadcast and multicast frames travel over an IP multicast group tied to each VNI; protocols such as PIM-SM are mentioned for multicast routing.
The frame format section defines the outer headers: the UDP destination port is assigned by IANA as 4789, the UDP source port is computed from a hash of inner packet headers to give ECMP entropy, and the UDP checksum should be sent as zero. Because encapsulation enlarges the frame, VTEPs must not fragment VXLAN packets, and larger MTUs across the physical infrastructure are recommended.
The document also covers deployment scenarios (VM to VM, VXLAN gateways) and inner VLAN tag handling, and notes for security that encapsulation alone provides neither confidentiality nor authentication. It defines no control plane; address learning is done in the data plane, a gap later filled by solutions such as EVPN.
Key points
- The existing VLAN limit is 4094; VXLAN exceeds it with a 24-bit VNI.
- The UDP destination port is assigned by IANA as 4789.
- The UDP source port is computed from a hash of inner frame headers, which provides entropy for ECMP load balancing.
- The UDP checksum should be transmitted as zero; packets with a zero checksum must be accepted.
- VTEPs must not fragment VXLAN packets; infrastructure MTU should accommodate the encapsulation overhead.
- Unknown unicast, broadcast and multicast frames travel over an IP multicast group mapped to the VNI.
- Multicast routing protocols such as PIM-SM can build the multicast trees.
- Address learning is by source-address learning in the data plane; the document defines no separate control plane.
Using it in design
- Raise physical interface MTU by the VXLAN encapsulation overhead above the inner frame and add end-to-end MTU verification to commissioning tests.
- In the leaf-spine fabric, confirm in the specification that ECMP exploits UDP source port entropy and that the switch includes this field in its hash.
- In a multicast-based underlay, plan the VNI-to-group mapping and PIM-SM scale; if multicast is not wanted, choose a control-plane solution (EVPN).
- Write the VNI numbering plan in advance according to tenant and environment structure.
Who should read it
Data centre network architects, engineers designing overlay and multi-tenant networks, and teams writing switch hardware specifications.
Document contents
- Introduction
- VXLAN Problem Statement
- VXLAN
- VXLAN Frame Format
- VXLAN Deployment Scenarios
- Security Considerations
- IANA Considerations
Related standards
- RFC 8365
- RFC 7938
Publication details
- Authors
- M. Mahalingam; D. Dutt; K. Duda; P. Agarwal; L. Kreeger; T. Sridhar; M. Bursell; C. Wright
- Publisher
- IETF / RFC Editor (Independent Submission)
- Year
- 2014
- Document number
- RFC 7348
- Document language
- English
- Source type
- Expert / community
- Access
- Free to read
- Licence
- Copyright retained; citation only: the publisher’s terms apply to the original document
Original licence note
IETF Trust copyright under the Trust Legal Provisions; link and cite.
Citation
M. Mahalingam; D. Dutt; K. Duda; P. Agarwal; L. Kreeger; T. Sridhar; M. Bursell; C. Wright (2014). RFC 7348: Virtual eXtensible Local Area Network (VXLAN): A Framework for Overlaying Virtualized Layer 2 Networks over Layer 3 Networks. IETF / RFC Editor (Independent Submission). RFC 7348. https://doi.org/10.17487/RFC7348
All content and rights belong to the respective authors and publishers. SoSo CAD provides only the citation, its own summary and a link to the source, and is not responsible for the sources' content.
