03 VXLAN EVPN Basics
03 VXLAN EVPN Basics
VXLAN EVPN
2:2 10.1.1.0/24
CREATED BY SALMAN ALHIARY, CCIE #56363
VXLAN BGP EVPN RD & RT
▪ VRF allows overlapping IP addresses with isolated routing
domains.
▪ MP-BGP uses the Route Distinguisher (RD) to differentiate
between routes stored in the BGP tables.
• RD is 8 bytes (64 bits) and composed of three fields.
• Assign RD to each VRF and add RD to IP address to maintain uniqueness
among identical routes in different VRFs.
▪ MP-BGP uses a Route Target (RT), which is an extended BGP
community placed on a route to control the import and export
of BGP prefixes between VRFs.
• By using RTs, VRF routes are exported from BGP VRF into VPN Address Family
and vice versa.
• RT is 8 bytes (64 bits) with prefix:suffix notation.
▪ For simplification, Cisco provides automated derivation of RDs
and RTs.
• For RD, the format is RID:VRF-ID (RD, 10.0.0.11:3).
• For RT, the format is ASN:VNI (RT, 65501:50001).
Components BGP RR
PIM enabled
Components
• IGP Underlay Routing.
• Multicast Underlay Routing. Overlay Networks
• BGP Underlay Control Plane.
• Advertise MP-BGP EVPN Routes:
VTEP IP VTEP IP VTEP IP
✓MAC to L2 VNI to VTEP mapping. 10.0.0.11/32 10.0.0.12/32 10.0.0.13/32
VRF > VXLAN L3-VNI 504030
✓IP to L3 VNI to VTEP mapping.
VLAN 10 > VXLAN L2-VNI 100010 VLAN 10 > VXLAN L2-VNI 100010 VLAN 20 > VXLAN L2-VNI 100020
• VXLAN Data Plane Encapsulation.
FCS
Outer MAC Header Outer IP Header Outer UDP Header VXLAN Header
Original Layer 2 Frame
Original Frame
Original Frame
VTEP’s Source IP
Checksum Reserved
VTEP’s Destination IP
VXLAN encapsulation adds (50) bytes of overhead 24-bits allows for 16M
20 Bytes + 8 Bytes + 8 Bytes + 14 Bytes = 50 Bytes possible segments
ICMP (Ping)
VLAN 10 VLAN 10
Host H1 Host H2
MAC- 001b.218d.3d98 MAC- 001b.2188.8075
IP- 10.0.0.11 IP- 10.0.0.12