Professional Documents
Culture Documents
Vxlan Fundamentals Nanopdf - Com Presentation
Vxlan Fundamentals Nanopdf - Com Presentation
Vxlan Fundamentals Nanopdf - Com Presentation
Roadmap
1
Table of Contents
1. Data Center IP Fabric ‘Building a strong Foundation’
2. What is ‘Network Virtualization’?
3. VXLAN Overview
4. VXLAN Packet details
5. VXLAN Terminology
6. VXLAN Host Discovery
7. VXLAN BUM Traffic Handling
8. VXLAN Layer 2 & Layer 3 Terminologies
9. VXLAN Arista Architecture & Vision
10. VXLAN Roadmap
11. VXLAN Visbility
2
Data Center – ‘IP Fabric’
Building A Strong Foundation
3
Challenges with current network architecture
Oversubscription
Legacy Data Center Model Ports on devices are oversubscribed ~ 8:1
Higher Oversubscription as traffic traverses
north ~ 20:1
Scalability
Scales up and not scales out
North to South
Dependent on specific hardware (mix &
match)
Not scalable to 40GbE / 100GbE
Cost
As multiple layers, it can get $$$
Mobility
What happens if my “IP” changes?
What happens if traffic pattern changes?
Support for East/West 80:20 traffic Deploy L3 routing protocols between leaf
pattern & spine i.e. BGP, OSPF, or ISIS
Scale up to 64-way ECMP Spine designs Everything is only 3 hops away!
All uplinks from ToR are Active/Active Provide network mobility via ‘Overlay
Support 100’000s of host ports Network’
Non-blocking / Non-oversubscribed
architecture
Arista – Spine/Leaf “IP Fabric” Architecture
Spine Tier
IP Fabric
Leaf Tier VTEP3 VTEP4
VTEP1 VTEP2
HYPERVISOR 1 HYPERVISOR 2
A1 B1 A2 B2
Bare Metal Bare Metal
Storage Servers
7
What is Network Virtualization?
Network Virtualization is not the same as Server Virtualization!
8
Overlays v Underlays
Network virtualization: ability to separate, abstract and decouple the physical
topology from a ‘logical’ or ‘virtual’ topology by using encapsulated tunneling.
Overlay
Network
Physical
Infrastructure i.e.
Underlay Network
Location
Identity
10
VXLAN Overview
11
Virtual Extensible Local Area Network (VXLAN)
12
Virtual eXtensible LAN: How does it
work?
VM-2
VM-1 Layer 2 Domain between the VM
10.10.10.1/24 10.10.10.2/24
vWire- VNI 10
VTEP VTEP
Subnet-A Subnet-B
SW VTEP HW VTEP
Encap/Decap MAC&IP are UDP Encapsulated Encap/Decap
VXLAN VTEP VXLAN Frames
13
VXLAN Benefits
Feature Benefits
- Eliminates current networking challenges in the way of on-demand, virtual
environment:
- VLAN Sprawl
- Single fault domains
- Scalability beyond 4096 segments
- Proprietary fabric solutions
- IP mobility
- Physical cluster size and locality
- Enables multi-tenancy at scale
- Decouples logical networks from physical infrastructure so that applications can
be deployed without worrying about physical rack location, IP address or VLAN
- Based on open and well known standards
14
VXLAN Use Cases
Physical to Virtual internetworking
Multi-hypervisor connectivity and integration
Multi-tenant Cloud environments
HA clusters across failure domains
Dynamic growth
Dynamic resource management
15
VXLAN Packet Details
16
VXLAN Packet
VXLAN is a MAC-in-IP encapsulation
17
VXLAN Header
VXLAN Header is a 8 Byte field comprising of:
(a)Flags (8 Bits)
(b)VxLAN Network Identifier (VNI) (24 Bits)
(c)Reserved (24 & 8 Bits) – Always set to zero.
18
VXLAN Terminology
19
VXLAN Terminology – Physical Topology
VTEP1 VTEP2
A1 B1 A2 B2
Bare Metal Bare Metal
Storage Servers
VTI VTI
VXLAN Segments VXLAN Gateway
VXLAN
10001
VXLAN
10002
20
VXLAN Terminology – Logical Topology
External
Host
Data
Center
Network
VARP
VARP VARP
VXLAN Segment Default
DefaultGateway:
Gateway: Default Gateway: VXLAN Segment
10.100.1.1
10.100.1.1 10.100.2.1
VNI
VTEP 1 VTEP 3 VTEP 1 VTEP 4
.1 .1 .1 .1
10.100.1.0/24 VXLAN 10001 10.100.2.0/24
VXLAN 10002
.2 .10 .11 .2 .3 .10
B1 B2 A1 A2
Bare Metal
Storage
Bare Metal
Servers
21
VXLAN Terminology Explained
VTEP: VXLAN Tunnel End Point
- VXLAN encapsulation and decapsulation happens at the VTEP
VXLAN Gateway
- A device which bridges traffic from VXLAN and non-VXLAN environments.
- VXLAN gateways allow for physical and non virtualized devices to communicate with VXLAN
networks
- A VXLAN gateway can be either a hardware or software device
VNI: Virtual Network Identifier
- a 24-bit number is also called the VXLAN segment ID. The system uses the VNI, along
with the VLAN ID, to identify the appropriate tunnel.
VXLAN Header – is an 8-byte header that contains the 24-bit VNI value. It lives in between the UDP header
and the inner MAC frame being carried over the VTI.
VTI: VTEP Tunnel Interface - a switchport linked to a UDP socket that can be shared between many
VLANs. Packets bridged through a vlan into the VTI are sent out the UDP socket with a VXLAN header including a
VNI. The socket is bound to a fixed local port, but is not connected to any particular destination port or IP address;
logically, we use sendto() (not send()) to transmit VXLAN-encapsulated frames on the socket. Packets arriving on the VTI
(via the UDP socket, based on their UDP destination port) are demultiplexed into a VLAN for bridging. A 24-bit VNI
within the packet determines which VLAN the packet is mapped to for bridging.
VXLAN Segment - is a Layer 2 overlay network over which VMs communicate. Only VMs within the same
VXLAN segment can communicate with each other.
22
VXLAN Visibility
23
VXLAN Visibility - Arista’s vmTracer
Automated provisioning
24
Monitoring VXLANs with vmTracer
Virtualization
25
Automate Learning of VNI State
NSX Controller
Interface Ethernet 24
VXLAN VTEP VNI CalBears
Interface Loopback0
VXLAN VTEP Gateway VNI Calbears
IP Address 204.181.40.1/24
<--Network
VM- Oski
VNI - CalBears
26
Where is my VM now?
spine0: show vmtracer vxlan
VNI-Name VNI #VTEPs Learning Mcast Group Status
Subnet
Auburn 5096 4 Flood 224.0.1.95 Up
204.181.40.0/24
foo 15893425 5 Flood 224.0.4.84 Up 128.218.56.0/24
bar 65456 45 Flood 224.5.1.92 Down
192.168.10.0/20
spine0: show vmtracer vxlan vni Auburn
spine0
VNI Name: Auburn
VNI Segment ID: leaf15096 leaf2
VTEP Type Status Inside Outside Learning Mcast Grp PIM-RP
Switch Port Model
ESX1 VMware Up 3 VNICs 204.181.21.5 Flood 224.0.1.95 204.181.1.16
ar16 eth15 7050S
ar24 Arista Up/GW 204.181.40.1 204.181.1.16 Flood 224.0.1.95 204.181.1.16
ar24 loop0 7150S
ar22 Arista Up/Up 1 MAC/IPs 204.181.3.67 Flood 224.0.1.95 204.181.1.16
ar22 eth2 7150S
ESX4 VMware Up 4 VNICs 204.181.1.5 Flood 224.0.1.95 204.181.1.16
ar2 eth23 7050T
esx10 esx11
VNI ‘Test’: 224.0.0.12
128.218.10.x 128.218.11.x
esx1 esx11
VNI ‘Test’: 224.0.0.12
29