Understanding VXLAN EVPN Route Types

BGP route types are the language of VXLAN EVPN. They carry MAC, IP, and reachability info between VTEPs. Understanding them is key for building and troubleshooting EVPN fabrics, whether for multi-homing, L2, L3, or BUM traffic.
Understanding VXLAN EVPN Route Types

On this page

Think of VXLAN EVPN as a modern data center network. To make this network work, the BGP control plane acts as the central nervous system, using different "route types" to pass around crucial information. These route types are essentially different kinds of messages that VTEPs (the devices at the edge of the network) use to tell each other about MAC addresses, IP addresses, and how to reach different network segments.

Getting a handle on these route types is key to building and troubleshooting a reliable EVPN fabric. Let's break them down.

The Five Main EVPN Route Types

Route Type 1: Ethernet Auto-Discovery (A-D) Route

  • The Gist: This is the "hello, I'm part of this club" message. It’s primarily used in setups where a server or device is connected to more than one VTEP at the same time (multi-homing). It tells other VTEPs which Ethernet Segment a device belongs to.
  • What it Carries: It advertises a unique Ethernet Segment Identifier (ESI), which is like a group ID for a multi-homed device.
  • Why it Matters:
    • Multi-Homing: It lets VTEPs in the same segment know about each other.
    • Aliasing: This is a cool trick where all VTEPs in a multi-homed segment can be used for forwarding traffic, allowing for better load balancing.
    • Mass-Withdraw: If one of the VTEPs in a segment fails, this route type allows the others to quickly remove the device's routes from their tables without having to touch every single MAC and IP address, which makes the network converge much faster.

Route Type 2: MAC/IP Advertisement Route

  • The Gist: This is the most common route type and is all about telling the network where to find a specific device. It's how VTEPs share MAC and IP address information they've learned from their connected devices.
  • What it Carries: A MAC address and, optionally, an associated IP address.
  • Why it Matters:
    • Layer 2 VXLAN: This is the basic message that lets VTEPs learn which MAC addresses are reachable through which tunnel, eliminating the need to flood traffic to find them.
    • Integrated Routing and Bridging (IRB): For Layer 3 routing, this route type is used to advertise both a device's MAC address and its corresponding IP address.
    • ARP/ND Suppression: By sharing IP-to-MAC mappings, VTEPs can respond to ARP or Neighbor Discovery requests on behalf of other devices, drastically reducing broadcast traffic on the network.

Route Type 3: Inclusive Multicast Ethernet Tag Route

  • The Gist: This route is all about handling BUM (Broadcast, Unknown Unicast, and Multicast) traffic. Since this kind of traffic can't be sent directly to a specific destination, this route type tells VTEPs how to replicate and forward it to everyone who needs it.
  • What it Carries: It announces the P-Tunnel Endpoint, which is simply the VTEP's IP address, along with an Ethernet Tag ID (the VNI).
  • Why it Matters:
    • BUM Traffic Delivery: It creates a "path" for broadcast traffic to reach all VTEPs in a given VNI (VXLAN Network Identifier).
    • Ingress Replication: This is a simple method where a VTEP sending BUM traffic just makes multiple copies and sends them as unicast packets to all the other VTEPs that are part of the same VNI.

Route Type 4: Ethernet Segment Route

  • The Gist: Similar to Route Type 1, this route type is also used in multi-homing setups, but its primary job is to elect a Designated Forwarder (DF). The DF is the VTEP responsible for handling all BUM traffic for that multi-homed segment, preventing duplicate packets from being sent.
  • What it Carries: The Ethernet Segment Identifier (ESI), which identifies the multi-homed device.
  • Why it Matters:
    • DF Election: This route type is used in a special election process to decide which VTEP will handle BUM traffic for the segment. This is crucial for avoiding duplicate traffic, which could cause a broadcast storm.
    • State Signaling: It ensures all VTEPs know which other VTEPs are part of the same segment and what their roles are.

Route Type 5: IP Prefix Route

  • The Gist: While other routes focus on Layer 2 and MAC addresses, this one is all about Layer 3 routing. It lets EVPN advertise full IP prefixes and is what turns EVPN from a bridging protocol into a full-fledged routing solution.
  • What it Carries: An IP Prefix (like a subnet) and the next-hop VTEP IP.
  • Why it Matters:
    • Distributed Anycast Gateway: This is the key to running an efficient network. It allows a subnet's gateway IP to be active on multiple VTEPs at once, providing local routing for all connected devices.
    • Inter-Subnet Routing: It lets you use EVPN as the control plane for routing between different subnets.
    • Data Center Interconnect (DCI): It's perfect for carrying IP routes between different data centers connected by VXLAN tunnels.

Quick Summary

Here's a simple table to sum it all up:

Route TypeWhat it CarriesPrimary Job
1ESI, VNIAnnouncing group membership for multi-homing
2MAC, optional IPSharing MAC and IP addresses for basic reachability
3VTEP IP, VNISetting up paths for broadcast traffic
4ESIElecting a leader to handle multi-homed broadcast traffic
5IP PrefixSharing IP subnets for Layer 3 routing

Subscribe to LevelUp I.T. newsletter and stay updated.

Don't miss anything. Get all the latest posts delivered straight to your inbox. It's free!
Great! Check your inbox and click the link to confirm your subscription.
Error! Please enter a valid email address!