Proxmox VE 9.1.1 dnsmasq issue

ftzh75

New Member
Feb 19, 2026
4
0
1
Hello,

I'm creating VXLAN zone. I installed the dnsmasq on all the nodes :

apt update
apt install dnsmasq
systemctl disable --now dnsmasq

But on the VXLAN UI, I can't see any option.to enable the DHCP support.

1771489693789.png

Thanks for your help !
 
DHCP is currently only implemented for the Simple Zone. We're working on it though.
 
Thanks for the reply. Is there an alternative solution to use DHCP in VXLAN zone ?

While creating a subnet in VXLAN, i can see this :

1771492287158.png
 
It should be possible to just run dnsmasq on your own, so find the vnet bridge (in this example myvnet) and run:

Code:
dnsmasq \
    --interface=myvnet \
    --bind-interfaces \
    --port=0 \
    --dhcp-range=192.168.100.10,192.168.100.200,12h \
    --dhcp-option=3,192.168.100.1
 
I tried your method. I configured the gateway in the subnet as following :

1771518397695.png

But the gateway IP was not applied to the vnet. Without the gateway on the vnet, the dnsmasq dosn't work.

I have to apply the IP manually using "ip addr add 192.168.100.1/24 dev vnet100".

Do i miss something ?

Thanks
 
I tried your method. I configured the gateway in the subnet as following :

View attachment 95961

But the gateway IP was not applied to the vnet. Without the gateway on the vnet, the dnsmasq dosn't work.

I have to apply the IP manually using "ip addr add 192.168.100.1/24 dev vnet100".

Do i miss something ?

Thanks
currently the gateway ip from gui is only apply to simple zone && evpn zone as the ip is pushed on the vnet on all hosts. (or you could have ip conflict on layer2 zones like vlan,vxlan,....)

you can add an ip with add in /etc/network/interfaces of the node
Code:
iface vnet100
     address 192.168.100.1/24

I'll be merged with the sdn configuration
 
you can add an ip with add in /etc/network/interfaces of the node
iface vnet100 address 192.168.100.1/24
I'll be merged with the sdn configuration
Yes It works and persistent thanks. The only downside is that each time I add a vnet, I have to do the same thing again, and also for the dhcpmasq service.