Proxmox + dnsmasq. Windows VM finds a new network on every reboot

plastilin

Renowned Member
Oct 9, 2012
109
5
83
Ukraine
Hello everyone. Faced the following problem. Configured NAT and DHCP for virtual machines on Proxmox. After each reboot, when receiving an IP address via DHCP, the virtual machine with Windows constantly finds a new network. Although the network parameters are correct. What could be the reason for this and how to fix it?
 
hi,

the virtual machine with Windows constantly finds a new network.
what do you mean exactly? does it receive a different IP address at every boot?

how is the windows VM network configured?

do you assign "static" addresses to VMs via DHCP using the mac addresses?
 
Every time the Windows virtual machine is rebooted. The network connection manager is discovering a new network. For example, there was network 1, and after a reboot, the dispatcher showed network 2 and so on. The machine receives the ip address from the network that is configured for dnsmasq. I saw this when the physical router was changing and the network parameters issued via dhcp remained the same. Perhaps I associate this with a change in the MAC address of the router. in the case of Proxmox, this is the bridge in which the virtual machines are included.
 
Thanks for reply. Thread that you post fix my problem. What do you think about the correct use of options

hwaddress ether ab:cd:12:34:56:78 or bridge_hw ab:cd:12:34:56:78
 
Last edited: