summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleksandr Kuchmystyi <o.kuchmystyi@vyos.io>2026-04-30 16:20:51 +0300
committerOleksandr Kuchmystyi <o.kuchmystyi@vyos.io>2026-05-13 11:33:32 +0300
commit8077b3cd06b8ee4597041998ef94abe709075655 (patch)
treec873110e2bfadeb5d0dd436162a1e70b7cd0789b
parent2b18f0a0acf337c1672fbc1dffb5f393d1149325 (diff)
downloadvyos-documentation-8077b3cd06b8ee4597041998ef94abe709075655.tar.gz
vyos-documentation-8077b3cd06b8ee4597041998ef94abe709075655.zip
pseudo-ethernet: T8540: Add anycast-gateway support for EVPN
Introduce 'anycast-gateway' option for pseudo-ethernet interfaces. When set, a local FDB entry is installed on the parent bridge to prevent the shared anycast MAC from leaking over the VXLAN overlay.
-rw-r--r--docs/configuration/interfaces/pseudo-ethernet.md32
1 files changed, 32 insertions, 0 deletions
diff --git a/docs/configuration/interfaces/pseudo-ethernet.md b/docs/configuration/interfaces/pseudo-ethernet.md
index fc8833eb..4ac198bf 100644
--- a/docs/configuration/interfaces/pseudo-ethernet.md
+++ b/docs/configuration/interfaces/pseudo-ethernet.md
@@ -44,6 +44,38 @@ Pseudo-Ethernet interfaces may not work in environments that require a
Assign a physical Ethernet interface to the specified pseudo-Ethernet interface.
```
+```{eval-rst}
+.. cfgcmd:: set interfaces pseudo-ethernet <interface> anycast-gateway
+
+ **Enable EVPN anycast gateway mode on the specified pseudo-Ethernet interface.**
+
+ In this mode, VyOS installs a local Forwarding Database (FDB) entry on the
+ pseudo-Ethernet interface's parent bridge. This ensures traffic destined
+ for the pseudo-Ethernet's anycast MAC address is terminated locally rather
+ than forwarded across the VXLAN overlay.
+
+ VyOS automatically removes the FDB entry when you disable EVPN anycast
+ gateway mode or delete the pseudo-Ethernet interface.
+
+ .. note::
+
+ The following requirements must be met to enable EVPN anycast gateway
+ mode:
+
+ * The MAC address must be explicitly configured on the pseudo-Ethernet
+ interface.
+ * The pseudo-Ethernet interface's ``source-interface`` must be a bridge
+ or bridge sub-interface (e.g., ``br0`` or ``br0.100``). VyOS always
+ installs the FDB entry on the base bridge (e.g., ``br0``), even if the
+ ``source-interface`` is a sub-interface like ``br0.100``.
+
+ Example:
+
+ .. code-block:: none
+
+ set interfaces pseudo-ethernet peth0 anycast-gateway
+```
+
### VLAN
```{cmdincludemd} /_include/interface-vlan-8021q.txt