"Reinitialize the MAC address of all network cards"?
-
cgwaters
- Posts: 15
- Joined: 12. Apr 2011, 15:40
- Primary OS: MS Windows XP
- VBox Version: OSE other
- Guest OSses: Windows XP
"Reinitialize the MAC address of all network cards"?
I'm attempting to clone a VM (Windows 7) using the VirtualBox GUI. The first page of the cloning wizard contains an option to "Reinitialize the MAC address of all network cards". The default is to NOT perform this action. What are the repercussions of cloning a VM with--and without--this option being selected? The Help feature doesn't seem to mention it and I couldn't find any references on the forums nor Internet-wide via Google.
-
BillG
- Volunteer
- Posts: 5106
- Joined: 19. Sep 2009, 04:44
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows 10,7 and earlier
- Location: Sydney, Australia
Re: "Reinitialize the MAC address of all network cards"?
It is necessary if you plan to run the cloned vm on the same network as the original. Two machines on the same network cannot have the same MAC address. If the clone will never see the original on the network it is not required. I would not expect to find much discussion online yet since this option only beame available with the latest release (4.1.0) recently.
Bill
-
bogstad
- Posts: 3
- Joined: 9. Apr 2010, 04:17
- Primary OS: Ubuntu other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows 7, Windows XP, KnoppMyth, Fedora
Re: "Reinitialize the MAC address of all network cards"?
The result of not reinitializing the MAC addresses is that both VMs will have virtual Ethernet cards with the same Ethernet (MAC) address. If both VMs are ever run at the same time while connected to the same Ethernet, then they and the other machines (real or virtual) connected to the same Ethernet will get very confused. The only network mode which probably won't have a problem is NAT. Under the wrong setup; Bridged, Internal, and Host-only will definitely have problems. Even if you only run one VM at a time, it would be like calling your home phone number and if no one was home at your house it would ring at your neighbor if they were home. Maybe that's okay or maybe not. On the other hand, if you have software licenses that use your Ethernet cards address to enforce licensing restrictions then you might want to use the same MAC if your were cloning the system before doing updates which you might want to rollback. (I would probably do a snapshot instead myself.) Hopefully, this gives you some idea of the issues you should consider. The right decision is going to be dependent on exactly what you plan to do with the original as well as cloned VM as well as your operating system. Unfortunately, I believe that the network card figures prominently on when Microsoft OSes decide if you need to reactivate your license. If you leave everything else the same besides the network card you might get away with it. Start changing other things and expect to need to reactivate.
-
cgwaters
- Posts: 15
- Joined: 12. Apr 2011, 15:40
- Primary OS: MS Windows XP
- VBox Version: OSE other
- Guest OSses: Windows XP
Re: "Reinitialize the MAC address of all network cards"?
Thanks for the replies. So if the cloned VM will be active on the same network at the same time, the MAC address should be configured to be reinitialized; but that could cause licensing issues, at least with Windows.
I have an MSDN license--which provides a handful of unique product keys, so I don't have to worry too much about licensing issues It is my intention to run, at the same time, the original VM and one or two cloned VMs. So I should have reinitialized the MAC address. Is there a way to do that to the cloned VM *after* it has been created?
I have an MSDN license--which provides a handful of unique product keys, so I don't have to worry too much about licensing issues It is my intention to run, at the same time, the original VM and one or two cloned VMs. So I should have reinitialized the MAC address. Is there a way to do that to the cloned VM *after* it has been created?
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: "Reinitialize the MAC address of all network cards"?
Yes there is. Go to the settings for the new guest (while shutdown) and the network section. Open the advanced section and you will see the MAC address. Click the dbl arrow to the right to generate a new MAC address.Is there a way to do that to the cloned VM *after* it has been created?
-
cgwaters
- Posts: 15
- Joined: 12. Apr 2011, 15:40
- Primary OS: MS Windows XP
- VBox Version: OSE other
- Guest OSses: Windows XP
Re: "Reinitialize the MAC address of all network cards"?
Great! Thanks for the information, everyone.
Re: "Reinitialize the MAC address of all network cards"?
Hello. Not sure if you are still responding to this message thread, but can you please elaborate why you feel there "might" not be a problem if the port is attached to a NAT.bogstad wrote: If both VMs are ever run at the same time while connected to the same Ethernet, then they and the other machines (real or virtual) connected to the same Ethernet will get very confused. The only network mode which probably won't have a problem is NAT. .
Thank you,
A.
Re: "Reinitialize the MAC address of all network cards"?
I do not believe this is the case as MANY users have changed NICs without having to reactivate, at least in the past when a NIC was a separate card. If this is the only thing that has changed I think Windows will ignore it. I think the CPU ID is mainly what really counts.bogstad wrote: Unfortunately, I believe that the network card figures prominently on when Microsoft OSes decide if you need to reactivate your license.
The MAC plays a part in the DHCP request for an IP, if it has the SAME MAC the DHCP server cannot tell it is a different machine and will assign the same IP address to it and create an IP conflict.
-
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: "Reinitialize the MAC address of all network cards"?
In XP the MAC address had a high weighting, however it still needed something else to change. It's possible the MAC was downgraded since then, I've had no reason to investigate.