After hours of investigation and ChatGPT-ing, I have found the solution.
Basically, you need to alter the dnsmasq configuration for your selected Vnets or Zones.
To do so, first you need to disable the line dhcp-ignore=tag:!known
by commenting the line with the hashtag like so # dhcp-ignore=tag:!known
in the file /etc/dnsmasq.d/<your vnets@zone folder>/00-default.conf
.
What the line does? ChatGPT replied to me with this answer:
After disabling the dhcp-ignore,
you need to change the dhcp-range
configuration on 10-<your vnets@zone name>.conf
. This is because the default configuration is giving the static IP from the Proxmox SDN configuration. To do so, change the line dhcp-range from the file:
dhcp-option=tag:<vnets@zone name>-192.168.x.0-24,option:router,192.168.x.1
dhcp-option=tag:<vnets@zone name>-192.168.x.0-24,option:dns-server,8.8.8.8
dhcp-range=set:<vnets@zone name>-192.168.x.0-24,192.168.x.0,static,255.255.255.0,infinite
Please take note at the line 192.168.x.0,static
. Change it like so 192.168.x.2,192.168.x.254
. What this does is, we are stating the start IP address and the last of IP address to give out. So basically, we are giving the IP range starting from 192.168.x.2 till 192.168.x.254. You might want to change this accordingly to your environment.
Last but not least, restart the service by entering this command systemctl restart dnsmasq@<your vnets@zone name>
. If you are not sure on the vnets or zone name, you can press Tab so it will populate the list you currently have.
However, I have not yet tried to re-apply the SDN configuration on the WebUI. As I concern, this will rewrite back the configuration you edited. Let me know if it is reverted back to default Proxmox SDN configuration.