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

2023-11-09 Thread Stefan Hanreich
On 11/8/23 18:18, DERUMIER, Alexandre wrote: > 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 ? That sounds like a good idea and would simplify stuff a lot. I'll tr

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

2023-11-08 Thread DERUMIER, Alexandre
>>/etc/default/dnsmasq. >>This file specifies the configuration directory for the dnsmasq >>instance (/etc/dnsmasq.d/). It also sets the configuration >>file to /dev/null so the default configuration from the package has >>no influence on the dnsmasq configuration. >> >>/etc/dnsmasq.d//00-default.c

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

2023-10-18 Thread DERUMIER, Alexandre
>>Adding new MAC address mappings is done with a simple reload that >>does >>not disrupt the dnsmasq daemon in any way. Don't have read the code yet, but note that dhcp-hostsfile= for mac reservation (different than dynamic leases), can be modify without any reload of dnsmasq. _

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

2023-10-17 Thread Stefan Hanreich
The plugin generates several dnsmasq configuration files from the SDN configuration. /etc/default/dnsmasq. This file specifies the configuration directory for the dnsmasq instance (/etc/dnsmasq.d/). It also sets the configuration file to /dev/null so the default configuration from the package has