N10-009 ยท Modern network architectures
VXLAN and data center interconnect
VXLAN as a layer 2 over layer 3 encapsulation and its use for data center interconnect.
Key points
- VXLAN wraps a layer 2 Ethernet frame inside a UDP packet (default port 4789), so layer 2 segments can be stretched across a routed layer 3 network.
- A 24-bit VNI identifies each segment (about 16 million, versus 4094 usable VLANs), and VTEPs start and end the tunnels.
- For data center interconnect (DCI), VXLAN lets two sites share one logical L2 domain over an IP link, for example to move VMs between sites without readdressing.
Source: https://www.rfc-editor.org/rfc/rfc7348
Practice questions
What does VXLAN encapsulate to carry traffic across a layer 3 network?
- Layer 2 Ethernet frames inside UDP packets
- Layer 3 IP packets inside TCP segments
- Layer 1 signals inside MPLS labels
- Layer 7 HTTP requests inside ICMP messages
Show answer
Answer: A. Layer 2 Ethernet frames inside UDP packets
VXLAN carries original Ethernet (layer 2) frames inside UDP/IP packets. It is not a VLAN tag replacement at layer 1, and it does not translate routes or IP addresses.
Which statements about VXLAN are correct?
- The VNI is 24 bits, allowing about 16 million segments
- Tunnel endpoints are called VTEPs
- It requires all sites to share one physical switch fabric
- It reduces packet size by compressing the frame header
- It limits you to 4094 segments like VLAN IDs
Show answer
Answer: A. The VNI is 24 bits, allowing about 16 million segments, B. Tunnel endpoints are called VTEPs
VXLAN uses a 24-bit VNI (about 16 million segments) and UDP transport, which makes it more scalable than 12-bit VLAN IDs. It does not need a shared physical L2 domain, and it adds header overhead rather than removing it.
True or false: Because VXLAN runs over UDP/IP, the underlay between sites can be a routed layer 3 network.
Show answer
Answer: True
True. That is the main point of the overlay: the underlay only needs IP reachability between VTEPs, while the overlay carries layer 2 segments.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
