[pve-devel] [WIP v2 pve-network 05/10] dhcp: add DHCP plugin for dnsmasq

DERUMIER, Alexandre alexandre.derumier at groupe-cyllene.com
Wed Nov 8 18:18:14 CET 2023

>>This file specifies the configuration directory for the dnsmasq
>>instance (/etc/dnsmasq.d/<dhcp_id>). It also sets the configuration
>>file to /dev/null so the default configuration from the package has
>>no influence on the dnsmasq configuration.

About <dhcp_id>,  

I think we should have 1 dhcp_id by zone. (or it could even be the zone

As we can have multiple zone, with same subnet, but in differents vrf.

(this also need a different dnsmasq process in a different vrf)

Also, currently, I'm not sure why we need to define the dhcp in
/etc/pve/sdn/dhcp.cfg ?

couldn't we simply add something like : "dhcp:1"  or "dhcp:dnsmasq"  on
the zone ?

More information about the pve-devel mailing list