Running copied virtual machine at the same time?

Mucip

Renowned Member
Apr 4, 2016
71
7
73
Hi,
I have Win server virtual machine. I need to get some files from it. I copied backup file as new VM and try to run at the same time with the original VM.
But in this case both IP's are same and conflict if I run copied VM now.
How can I run doubled (just created copy of original VM) at the same time? I think I need to change IP of new VM but how?
Can I change VM IP address while VM is closed?

Regards,
Mucip:)
 
Change the MAC address on the network interface. Those changes can be made either on or offline. After that you can set a reservation on the router to snag a fresh IP or DHCP will do it for you.
 
  • Like
Reactions: Mucip
Hi,
I think VM adjusted as static IP unfortunatelly.

Regards,
Mucip:)
 
Hi,
No way?!... :(

I affraid sole solution is close original VM and open clone VM and change IP very fast than open original again?...

Regards,
Mucip:)
 
I run multiple (linked) cloned VMs with DHCP (and they get different MAC during cloning automatically by Proxmox). Why do you need two VMs with the same static IP?
 
Hi,
No I don't need same IP infact. I need to run both on same time and copy one table of sqlserver from one to other...

Regards,
Mucip:)
 
No I don't need same IP infact. I need to run both on same time and copy one table of sqlserver from one to other...
Give one a fixed MAC, configure your DHCP server to assign it the regular IP address and configure the VM to use DHCP. Then the close will get a different IP (but unknown) automatically and work fine (except that you might need to lookup the IP from the router to connect to the VM).
 
Hi,
Well, I shut down the first VM. Than start the second (copied) VM and change IP address. Than restart and start first VM too...
Now both of them are started and different IP address.

I could copy from one sqlserver to other with PHP...

Thanks to all.

Regards,
Mucip:)
 

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!