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

plastilin

Renowned Member
Oct 9, 2012
108
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:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!