In the asymmetric IRB forwarding model used with EVPN-VXLAN, inter-subnet routing is performed entirely at the ingress leaf, while the egress leaf only bridges the already-routed frame. This is why it is called 'asymmetric' — more lookups occur at the ingress node than at the egress node. The flow starts when the source host sends a frame addressed to its default gateway's IRB MAC. The ingress leaf classifies the frame with a MAC lookup on the source MAC-VRF, which points to its local IRB interface; this triggers an IP lookup in the IP-VRF that yields a longest-prefix match toward the destination subnet's IRB interface. The ingress leaf then performs an ARP/MAC lookup on the destination MAC-VRF to learn the destination host's MAC address together with the remote VTEP and VNI where that MAC was learned via EVPN. The routed packet is then encapsulated with a new inner MAC header (source = local IRB MAC, destination = resolved host MAC) and an outer VXLAN header carrying the destination VNI, and sent across the IP underlay to the egress VTEP. The egress leaf simply decapsulates the VXLAN header and performs a MAC lookup in the destination MAC-VRF to bridge the frame out to the destination host, without any additional IP-VRF routing lookup.
Community Discussion