Showing results for 
Search instead for 
Did you mean: 

VXLAN BGP EVPN: Traceroute test issues due to anycast gateway configuration



We are implementing VXLAN BGP EVPN in our Datacenter. Our VXLAN Fabric consists of two Nexus 9364c Switches (Spines) and four Nexus C93108TC Switches (Leafs). The Leaf switches are forming two pairs of vPC VTEP Switches (Leaf1 with Leaf2) and (Leaf3 with Leaf4).

The problem is that when we perform a traceroute test from the external network to a connected server in the second pair of Leaf (Leaf 3 and Leaf 4) the path is not completed. We assume that it is because it stays in the gateway of the first pair of Leaf (Leaf 1 and Leaf 2).

Since the traceroute test is very important for troubleshooting, do we need to know if there is any way to solve this behavior?

What other configuration option would be recommended to use to replace anycast gateway?


VXLAN Trace issues.jpg




MHM Cisco World

I dont think so becuase of vpc vtep, i think this is becuase the border leaf can not know mac address of vtep to build arp to ask the mac.

Do you config the mac address of fabric?


Hi MHM, 


yes, We configure the mac address of fabric in every Leaf as we show below:


feature fabric forwarding
fabric forwarding anycast-gateway-mac 0000.2222.3333


interface Vlan30
description Backup-Database
no shutdown
mtu 9216
vrf member TENANT-1
no ip redirects
ip address
no ipv6 redirects
ip ospf passive-interface
ip router ospf 440 area
fabric forwarding mode anycast-gateway


Is this a normal behavior of VXLAN BGP EVPN deployment?

Is there any way of solve this issues?

Hi Carlos,


You stated that the traceroute completes successfully for Server A, however Server B does not.


If traceroute is working between the default VRF and TENANT-1 VRF on LEAF-1 and LEAF-2, it sounds like you may have an issue advertising that external network into the EVPN fabric. Can you confirm that we have a route to the host sending the traceroute in the TENANT-1 VRF on LEAF-3 and LEAF-4?

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: