cloudstack-mirror/scripts
Wido den Hollander 4816e05938
KVM: add configurable MAC/IP script hook for static ARP/NDP and routes (#13495)
* KVM: add configurable MAC/IP script hook for static ARP/NDP and routes

Introduces a new agent.properties option `vm.network.macip.static`
(false by default) that makes BridgeVifDriver invoke on modifymacip.sh
on every NIC plug (VM start) and unplug (VM stop).

This is very useful in EVPN+VXLAN environments as it can reduce BUM
traffic. By setting static ARP/NDP entries bridges can be configured
using 'neigh_suppress on' as the ARP/NDP entries are already set
statically by CloudStack.

Setting 'neigh_suppress on' requires a manual change in the modifyvxlan.sh
script as this is not the default behavior.

* 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.
2026-07-10 11:40:20 +02:00
..
installer removed code in comments (#11145) 2025-12-08 16:31:48 +01:00
network Enhance DHCP functionality by adding lease timeout support (#12410) 2026-07-09 21:57:14 +02:00
storage CLVM enhancements and fixes (#12617) 2026-06-16 16:16:51 +05:30
util Remove realhostip references from the code (#12856) 2026-06-10 11:39:39 +05:30
vm KVM: add configurable MAC/IP script hook for static ARP/NDP and routes (#13495) 2026-07-10 11:40:20 +02:00
coverage-grade.sh Add code coverage grading workflow (#13140) 2026-06-18 11:48:56 +02:00