[pve-devel] [PATCH pve-network 0/3] add dhcp support for evpn

Alexandre Derumier aderumier at odiso.com
Mon Dec 18 14:04:28 CET 2023


Hi,
This patch serie add dhcp support for evpn.

Dnsmasq need to run in specific vrf for each evpn zone.


Dnsmasq is currently buggy with ipv6 && vrf (no crash but it's not listening), and need to be patched with:
https://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=a889c554a7df71ff93a8299ef96037fbe05f2f55

I have tested it, just applying this patch on current debian source is enough to get is working.


Alexandre Derumier (3):
  dhcp: add vrf support
  dnsmasq service: run service in vrf
  zones: evpn: add dhcp support

 src/PVE/Network/SDN/Dhcp.pm             |  3 ++-
 src/PVE/Network/SDN/Dhcp/Dnsmasq.pm     |  3 ++-
 src/PVE/Network/SDN/Zones.pm            | 10 ++++++++++
 src/PVE/Network/SDN/Zones/EvpnPlugin.pm |  7 +++++++
 src/PVE/Network/SDN/Zones/Plugin.pm     |  6 ++++++
 src/services/01-dnsmasq-vrf.conf        |  4 ++++
 src/services/Makefile                   |  1 +
 7 files changed, 32 insertions(+), 2 deletions(-)
 create mode 100644 src/services/01-dnsmasq-vrf.conf

-- 
2.39.2




More information about the pve-devel mailing list