Page MenuHomeVyOS Platform

bgp: add evpn anycast gateway support
Open, NormalPublicFEATURE REQUEST

Description

Thanks to Trey Aspelund from FRR / Cumulus

Anycast-gw has MAC=00:00:5e:00:01:01 IPv4=192.0.2.1/24 and IPv6=2001:db8::1/64

# create the vlan-aware bridge
ip link add bridge type bridge vlan_filtering 1

# add ports to the bridge
ip link set eth0 master bridge

# create the SVI
ip link add link bridge name vlan1000 type vlan id 1000 protocol 802.1q

# create/configure the macvlan (used for anycast-gw)
ip link add link vlan1000 name vlan1000-v0 type macvlan mode private
ip link set dev vlan1000-v0 address 00:00:5e:00:01:01
ip addr add 192.0.2.1/24 dev vlan1000-v0 metric 1024
ip addr add 2001:db8::1/64 dev vlan1000-v0 metric 1024

# add permanent fdb entry to bridge so the SVI gets packets destined for its MAC
bridge fdb replace 00:00:5e:00:01:01 dev bridge vlan 1000 permanent self

Details

Version
-
Is it a breaking change?
Perfectly compatible

Event Timeline

dmbaturin edited projects, added VyOS Rolling; removed Restricted Project.Oct 14 2024, 9:20 AM
dmbaturin changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.
dmbaturin changed Issue type from Unspecified (please specify) to improvement.