Octet

What is inside an EVPN type 2 route, and what does a remote leaf do with it?

Show the answer

Say this first

It carries the RD, the ESI, an Ethernet tag, the host MAC and optionally its IP, a label for the L2VNI and, for symmetric IRB, a second label for the L3VNI. Extended communities add the route targets, the encapsulation type (VXLAN), the advertising leaf's router MAC, and a MAC mobility sequence number after a move. The remote leaf imports it by route target: the MAC goes into the MAC table pointing at the VTEP, the IP becomes a /32 host route in the tenant VRF, and the binding fills the ARP suppression cache.

Go deeper

Fields, with example values

FieldExampleMeaning
RD10.0.0.11:32777Makes the route unique per leaf and MAC-VRF
ESI0Zero for a single-homed host
Ethernet tag0Zero for VLAN-based service
MAC0050.56a1.0011The host
IP10.10.10.11Optional, learned from ARP or ND
Label 110010L2VNI, for bridging
Label 250001L3VNI, for routing (symmetric IRB)
Route targets65000:10010, 65000:50001Import into MAC-VRF and IP-VRF
EncapsulationVXLAN (type 8)Data plane to use
Router MACthe leaf's MACInner destination MAC for routed packets

Two routes per host

Leaves often send a MAC-only route and a MAC+IP route for each host. The first is enough for bridging. The second drives routing and ARP suppression.

What the receiver installs

  • MAC table: 0050.56a1.0011 in VLAN 10, next hop VTEP 10.0.1.11, VNI 10010.
  • VRF table: 10.10.10.11/32 via 10.0.1.11, VNI 50001, inner destination MAC set to that leaf's router MAC.
  • ARP suppression cache: 10.10.10.11 is at 0050.56a1.0011.

Traps

  • Saying the IP field is mandatory. It is optional; MAC-only routes are normal.
  • Thinking a type 2 route sets up a tunnel. VXLAN tunnels are stateless.
How did you do?