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

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Unspecified (please specify)