EVPN control plane
EVPN is a control plane
Ethernet VPN (EVPN) uses BGP to distribute Layer 2 and Layer 3 VPN reachability. VXLAN is one possible data-plane encapsulation; EVPN also works with MPLS in other designs. A route reflector can distribute EVPN routes without acting as a VXLAN data-plane endpoint. A BGP session being established is not evidence that the remote MAC, prefix or tunnel is installed. A VTEP needs both relevant reachability information and a working data plane.
Read the route types
Type 2 advertises a MAC with an optional IP binding, allowing a remote VTEP to learn endpoint reachability. Type 3 (IMET) helps signal membership and delivery information for BUM traffic. Type 5 advertises an IP prefix independently of a specific host MAC advertisement. Types 1 (Ethernet Auto-Discovery) and 4 (Ethernet Segment) support multihoming procedures such as aliasing, mass withdrawal and designated-forwarder election. Do not treat all route types as host routes. In this example only single-attached endpoints and Types 2, 3 and 5 are modeled; multihoming behavior is described but not simulated.
Distinguish RD, RT and VNI
A route distinguisher (RD) makes otherwise overlapping VPN route identities distinct. Route targets (RTs) are BGP extended communities used by import/export policy. A receiving MAC-VRF or IP-VRF imports eligible routes whose targets match its configured policy; matching is not a guarantee of installation. A VNI is the data-plane segment identifier. In the fictional Blue segment, L1 and L2 import RT 65000:10100, and Red imports 65000:10200. A Type 2 route for B carries RD 198.51.100.12:100 and RT 65000:10100. Even if Red reuses B’s IP, this Blue route is not imported by the Red policy. RDs need not equal RTs or VNIs. The numbers here are explicit design choices, not a universal derivation formula.
Route between segments without centralizing every packet
A distributed anycast gateway may present the same gateway IP and MAC to hosts on multiple VTEPs, within the intended subnet. Integrated routing and bridging (IRB) combines routing between subnets with bridging within a subnet. In a common symmetric IRB design, the ingress VTEP routes into the tenant IP-VRF, sends across an L3 VNI to the egress VTEP, and the egress routes toward the destination L2 segment. The Blue tenant here uses L2 VNIs 10100 and 10110 and L3 VNI 50100. A Type 5 route for 203.0.113.0/24 uses the Blue IP-VRF target 65000:50100. Different designs may advertise host routes or prefixes differently. With multihoming, the same Ethernet segment attaches to multiple participating VTEPs; loop prevention, designated-forwarder behavior and supported combinations of features matter. The gateway does not replace firewall enforcement.
Follow import before forwarding
For the table below assume exact RT matching, an eligible BGP route, no competing path, and globally consistent VNI values. The Blue MAC-VRF imports the Type 2 and Type 3 entries for its L2 segment. The Blue IP-VRF imports the Type 5 entry. Red imports neither. Even after import, next-hop resolution, local VNI association, forwarding programming and security controls must be checked. EVPN can reduce unknown destination discovery but does not guarantee delivery.
Type Payload RT VNI2 MAC B / 192.0.2.20 65000:10100 101003 L2 BUM membership 65000:10100 101005 203.0.113.0/24 65000:50100 50100Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
EVPN control plane Quiz
Reason about VXLAN encapsulation, EVPN policy and offline forwarding state.
Which EVPN route type advertises a MAC with optional IP?
Which type helps signal BUM membership?
What controls VPN route import in the simple policy model?
Which route type advertises an IP prefix?
Which is a common role of an L3 VNI in symmetric IRB?