Skip to content

Commit 3ff70d1

Browse files
committed
vxlan: In EVPN mode, disable ARP/NDP learning
FRR populates the FDB via BGP EVPN, so kernel data-plane learning is redundant and counterproductive. Static ARP (IPv4) and NDP (IPv6) entries are added on startup of the Instance and remove on shutdown. FRR populates the FDB/neighbor table via control plane, and neigh_suppress tells the kernel bridge to use that information instead of flooding. This will vastly reduce BUM traffic with static ARP/NDP entries.
1 parent 642f086 commit 3ff70d1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

scripts/vm/network/vnet/modifyvxlan-evpn.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ addVxlan() {
8181
bridge link show|grep ${VXLAN_BR}|awk '{print $2}'|grep "^${VXLAN_DEV}\$" > /dev/null
8282
if [[ $? -gt 0 ]]; then
8383
ip link set ${VXLAN_DEV} master ${VXLAN_BR}
84+
bridge link set dev ${VXLAN_DEV} neigh_suppress on
85+
bridge link set dev ${VXLAN_DEV} learning off
8486
fi
8587
}
8688

0 commit comments

Comments
 (0)