Introduction to Virtual Extensible LAN (VXLAN)
Introduction to Virtual Extensible LAN (VXLAN)
Introduction to Virtual
Virtual eXtensible Local Area Network (VXLAN) is a tunneling MP-BGP EVPN VXLAN ARP
Suppression
protocol that tunnels Ethernet (layer 2) tra!c over an IP
VXLAN Underlay OSPF
(layer 3) network.
https://networklessons.com/vxlan/introduction-to-virtual-extensible-lan-vxlan Page 1 of 14
Introduction to Virtual Extensible LAN (VXLAN) 07/02/25, 4:49 PM
14:47
Spanning tree.
Limited amount of VLANs.
Large MAC address tables.
https://networklessons.com/vxlan/introduction-to-virtual-extensible-lan-vxlan Page 2 of 14
Introduction to Virtual Extensible LAN (VXLAN) 07/02/25, 4:49 PM
In this lesson, I’ll explain what VXLAN is, how it works, and
how it solves the above layer 2 issues.
1. Overlay vs Underlay
VXLAN uses an overlay and underlay network:
https://networklessons.com/vxlan/introduction-to-virtual-extensible-lan-vxlan Page 3 of 14
Introduction to Virtual Extensible LAN (VXLAN) 07/02/25, 4:49 PM
2. VNI
The VXLAN Network Identi!er (VNI) identi#es the VXLAN
and has a similar function as the VLAN ID for regular VLANs.
We use 24 bits for the VNI, which means we can create
16,777,215 ( ~16 million) VXLANs. That’s a lot, compared to
those 4094 VLANs with a 12-bit VLAN ID. We can create
plenty of VXLANs, which means a large service provider with
even thousands of customers can use as many VXLANs per
customer as needed.
3. VTEP
The VXLAN tunnel endpoint (VTEP) is the device that’s
responsible for encapsulating and de-encapsulating layer 2
tra!c. This device is the connection between the overlay and
the underlay network. The VTEP comes in two forms:
https://networklessons.com/vxlan/introduction-to-virtual-extensible-lan-vxlan Page 4 of 14
Introduction to Virtual Extensible LAN (VXLAN) 07/02/25, 4:49 PM
Software (host-based)
Hardware (gateway)
3.1. Software
When I’m talking about hosts, I mean hypervisors like
VMWare’s ESXi or Microsoft’s Hyper-V. These hypervisors use
virtual switches, and some of them support VXLAN. Here’s an
illustration:
3.2. Hardware
A hardware VTEP is a router, switch, or #rewall which
supports VXLAN. We also call a hardware VTEP a VXLAN
gateway because it combines a regular VLAN and VXLAN
segment into a single layer 2 domain. Some switches have
VXLAN support with ASICs, o"ering better VXLAN
performance than a software VTEP. Here’s what it looks like:
https://networklessons.com/vxlan/introduction-to-virtual-extensible-lan-vxlan Page 5 of 14
Introduction to Virtual Extensible LAN (VXLAN) 07/02/25, 4:49 PM
3.3. Interfaces
Each VTEP has two interfaces types:
https://networklessons.com/vxlan/introduction-to-virtual-extensible-lan-vxlan Page 6 of 14
Introduction to Virtual Extensible LAN (VXLAN) 07/02/25, 4:49 PM
https://networklessons.com/vxlan/introduction-to-virtual-extensible-lan-vxlan Page 7 of 14
Introduction to Virtual Extensible LAN (VXLAN) 07/02/25, 4:49 PM
5. Packet Walkthrough
Let’s look at an example of how VXLAN encapsulates and de-
encapsulates an Ethernet frame. Here’s the topology:
https://networklessons.com/vxlan/introduction-to-virtual-extensible-lan-vxlan Page 8 of 14
Introduction to Virtual Extensible LAN (VXLAN) 07/02/25, 4:49 PM
6. Control Plane
In the packet walkthrough example, I explained that the
VTEP device looks up the mapping to #gure out what VTEP IP
address to use to reach the destination MAC address. I didn’t
explain how VTEP1 learned this mapping information. Let’s
see how this works.
https://networklessons.com/vxlan/introduction-to-virtual-extensible-lan-vxlan Page 9 of 14
Introduction to Virtual Extensible LAN (VXLAN) 07/02/25, 4:49 PM
7. Conclusion
Let’s summarize what we have learned:
https://networklessons.com/vxlan/introduction-to-virtual-extensible-lan-vxlan Page 10 of 14
Introduction to Virtual Extensible LAN (VXLAN) 07/02/25, 4:49 PM
https://networklessons.com/vxlan/introduction-to-virtual-extensible-lan-vxlan Page 11 of 14
Introduction to Virtual Extensible LAN (VXLAN) 07/02/25, 4:49 PM
Next Lesson
VXLAN Static Ingress
Replication
»
Forum Replies
https://networklessons.com/vxlan/introduction-to-virtual-extensible-lan-vxlan Page 12 of 14
Introduction to Virtual Extensible LAN (VXLAN) 07/02/25, 4:49 PM
davide.concio
Hi Rene, this is a very good lesson on VXLAN, straight to the point and well written.
I’m particularly passionate to this topic because I worked on a VXLAN EVPN Fabric the last year and love
this technology.
If I had done a lesson like this when I started It would have been easier to learn the topic…
bikram.na
Hi Rene,
How can we con#gure vxlan. Could you please explain.
lagapidis
Hello Bikram
Take a look at the following lesson in order to further understand how to implement a VXLAN topology.
https://networklessons.com/cisco/ccnp-encor-350-401/vxlan-%ood-and-learn-with-multicast
Laz
syedabrar_8055
https://networklessons.com/vxlan/introduction-to-virtual-extensible-lan-vxlan Page 13 of 14
Introduction to Virtual Extensible LAN (VXLAN) 07/02/25, 4:49 PM
lagapidis
Hello Syed
Thanks so much for your positive feedback, it gives us the drive to continue to do our best!
Laz
58 more replies! Ask a question or join the discussion by visiting our Community Forum
https://networklessons.com/vxlan/introduction-to-virtual-extensible-lan-vxlan Page 14 of 14