Creating a clone VM with a different ip address

This is for discussing general topics about how to use VirtualBox.
Post Reply
nessa
Posts: 1
Joined: 10. Nov 2015, 17:03

Creating a clone VM with a different ip address

Post by nessa »

Hey guys! I have been trying to figure this out for the longest.. I have created a vm and cloned it but it is using the same ip. I have reinitialized the mac address, changed the original vm to static ip before cloning, disabled ipv6, etc.. What can I do to make it easier to make multiple machines that are indeed separate but identical with out creating them one by one?
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Creating a clone VM with a different ip address

Post by mpack »

You can't "create a clone with a different IP address", because an IP address is negotiated or configured at run time. You can however easily create a clone with a different MAC address (network card ID), in fact you are given the option to reset MAC addresses during cloning.

If you have created a clone with a different MAC address but the IP addresses are the same, then I assume they must be on different networks - e.g. every NAT connection between the host and a guest is a distinct network.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Creating a clone VM with a different ip address

Post by mpack »

Cross posting is against the forum rules, hence I deleted your other copy of this post. In any case the topic you posted into was discussing host-only networking, which is presumbly inappropriate for your purposes - and there's no way that the host only DHCP server gives the same IP to two different VMs.
Post Reply