# EVPN-VXLAN with Distributed Anycast Gateway on VyOS

DevFeed: [EVPN-VXLAN with Distributed Anycast Gateway on VyOS](<https://devfeed.tech/articles/evpn-vxlan-with-distributed-anycast-gateway-on-vyos-129263.md>)

Original publisher: [Read original article](<https://blog.vyos.io/evpn-vxlan-distributed-anycast-gateway-vyos>)

Author: f.maidana@vyos.io (Fernando Maidana)

Published: 2026-11-11T10:09:01Z

Content type: article

Language: en

Sources: [VyOS](<https://devfeed.tech/sources/vyos-blog.md>)

Topics: [gateway](<https://devfeed.tech/topics/gateway.md>), [evpn](<https://devfeed.tech/topics/evpn.md>), [VXLAN](<https://devfeed.tech/topics/vxlan.md>), [control-plane](<https://devfeed.tech/topics/control-plane.md>)

Tags: [anycast-gateway](<https://devfeed.tech/tags/anycast-gateway.md>), [arp](<https://devfeed.tech/tags/arp.md>), [bfd](<https://devfeed.tech/tags/bfd.md>), [bgp](<https://devfeed.tech/tags/bgp.md>), [bgp-evpn](<https://devfeed.tech/tags/bgp-evpn.md>), [border-router](<https://devfeed.tech/tags/border-router.md>), [boundary](<https://devfeed.tech/tags/boundary.md>), [bridge](<https://devfeed.tech/tags/bridge.md>), [control-plane](<https://devfeed.tech/tags/control-plane.md>), [data-center](<https://devfeed.tech/tags/data-center.md>), [distributed-routing](<https://devfeed.tech/tags/distributed-routing.md>), [ebgp](<https://devfeed.tech/tags/ebgp.md>), [edge-routing](<https://devfeed.tech/tags/edge-routing.md>), [evpn](<https://devfeed.tech/tags/evpn.md>), [fabric](<https://devfeed.tech/tags/fabric.md>), [failover](<https://devfeed.tech/tags/failover.md>), [firewall](<https://devfeed.tech/tags/firewall.md>), [flow](<https://devfeed.tech/tags/flow.md>), [high-availability](<https://devfeed.tech/tags/high-availability.md>), [ibgp](<https://devfeed.tech/tags/ibgp.md>), [identity](<https://devfeed.tech/tags/identity.md>), [interface](<https://devfeed.tech/tags/interface.md>), [ip](<https://devfeed.tech/tags/ip.md>), [location](<https://devfeed.tech/tags/location.md>), [mobility](<https://devfeed.tech/tags/mobility.md>), [multihoming](<https://devfeed.tech/tags/multihoming.md>), [route-maps](<https://devfeed.tech/tags/route-maps.md>), [routing-policy](<https://devfeed.tech/tags/routing-policy.md>), [traffic](<https://devfeed.tech/tags/traffic.md>), [vrrp](<https://devfeed.tech/tags/vrrp.md>), [vxlan](<https://devfeed.tech/tags/vxlan.md>), [vyos](<https://devfeed.tech/tags/vyos.md>)

## AI overview

VyOS places the same gateway IP and MAC on a pseudo-Ethernet interface on each participating leaf/VTEP, avoiding Duplicate Address Detection issues from configuring the shared address directly on multiple interfaces. VLANs map to VXLAN VNIs, while BGP EVPN distributes endpoint reachability. For inter-subnet traffic, the local leaf routes the packet and uses EVPN-VXLAN to reach the destination, avoiding a centralized gateway path. When a workload moves between leaves within its VLAN, it retains its IP and gateway settings; EVPN updates its attachment location. The text summarizes the architecture and behavior but points to a separate deployment guide for complete configuration and validation steps.

## Source excerpt

Modern data center fabrics commonly combine BGP EVPN as the control plane with VXLAN as the data plane. In this architecture, a distributed anycast gateway places Layer 3 gateway functionality directly on multiple leaf switches (VTEPs), bringing routing closer to connected workloads. This post summarizes how VyOS implements the anycast gateway, how traffic moves through the fabric, and why the model matters for workload mobility. For the complete configuration and validation steps, see the EVPN-VXLAN Anycast Gateway Deployment Guide.