• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2310
  • Last Modified:

VMware Workstation IP address conflict

Why can't I run 2 VMware Workstation guest OS at the same and have them get an IP address from the local network?
I use Win XP Pro for both and when I run one and stat the other one I get this message
imageI use Bridged connection and if I use anthing else I get no connection to the outside world at all.

Please help.
0
Gerhardpet
Asked:
Gerhardpet
  • 13
  • 12
1 Solution
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Delete the Network Interface and Ensure that they are set to Bridged Networking.
0
 
GerhardpetAuthor Commented:
Which network interface should I delete?
0
 
GerhardpetAuthor Commented:
I'm still trying to figure this out. Where do I delete the network interface?
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Select VM Settings, HIghlight the Network Card and select Remove.

Make sure the VM is off.
0
 
GerhardpetAuthor Commented:
Now I have removed it but now when I boot up the VM I have no network card at all in the Win XP guest OS.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
You need to add another new Network Card, after removing the old one!
0
 
GerhardpetAuthor Commented:
Which I have done but my original problem is still the same. If started at the same time both get the same IP from the physical network.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
How did you create these two Guest OS Workstations? - they are not clones?
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Both virtual machines must have the same MAC Address to get the same IP address.
0
 
GerhardpetAuthor Commented:
Yes they are clones. I created one and then copied it
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
ah! that is why because they have the same MAC address on the network card!

everything is identical.

It's like having two identical PCs on the network.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Do you have the option in the Network Card to Change the MAC Address?
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Okay, I tell you want to do, shutdown VMWare Workstation.

look in the Virtual Machine folders for the <vmware. name>.VMX file, you can either copy these to *.txt files and upload here, for me to make changes, or you can edit one of the VMX files and change the MAC address slightly of the network card.

so boith MAC addresses are different.
0
 
GerhardpetAuthor Commented:
I changed on this from 00:0c:29:9c:f1:c1 to 00:0c:29:9c:f1:c2 and it changed back again after booting the VM

How can I change so that it will stay?
.encoding = "windows-1252"
config.version = "8"
virtualHW.version = "7"
numvcpus = "2"
cpuid.coresPerSocket = "2"
scsi0.present = "TRUE"
memsize = "4096"
scsi0:0.present = "TRUE"
scsi0:0.fileName = "Windows XP Professional-000001.vmdk"
ide1:0.present = "TRUE"
ide1:0.fileName = "auto detect"
ide1:0.deviceType = "cdrom-raw"
floppy0.fileType = "device"
floppy0.fileName = ""
floppy0.clientDevice = "FALSE"
usb.present = "TRUE"
ehci.present = "TRUE"
sound.present = "TRUE"
sound.fileName = "-1"
sound.autodetect = "TRUE"
mks.enable3d = "TRUE"
serial0.present = "TRUE"
serial0.fileType = "thinprint"
pciBridge0.present = "TRUE"
pciBridge4.present = "TRUE"
pciBridge4.virtualDev = "pcieRootPort"
pciBridge4.functions = "8"
pciBridge5.present = "TRUE"
pciBridge5.virtualDev = "pcieRootPort"
pciBridge5.functions = "8"
pciBridge6.present = "TRUE"
pciBridge6.virtualDev = "pcieRootPort"
pciBridge6.functions = "8"
pciBridge7.present = "TRUE"
pciBridge7.virtualDev = "pcieRootPort"
pciBridge7.functions = "8"
vmci0.present = "TRUE"
buslogic.noDriver = "FALSE"
roamingVM.exitBehavior = "go"
displayName = "Skor"
guestOS = "winxppro"
nvram = "Windows XP Professional.nvram"
virtualHW.productCompatibility = "hosted"
printers.enabled = "TRUE"
extendedConfigFile = "Windows XP Professional.vmxf"
tools.syncTime = "FALSE"
uuid.location = "56 4d 4f a2 47 ba cf e4-a0 0e 62 c7 2f 55 57 ac"
uuid.bios = "56 4d 9a 58 f0 2f e4 73-49 1c ae f5 90 9c f1 c1"
cleanShutdown = "TRUE"
replay.supported = "FALSE"
unity.wasCapable = "FALSE"
replay.filename = ""
scsi0:0.redo = ""
pciBridge0.pciSlotNumber = "17"
pciBridge4.pciSlotNumber = "21"
pciBridge5.pciSlotNumber = "22"
pciBridge6.pciSlotNumber = "23"
pciBridge7.pciSlotNumber = "24"
scsi0.pciSlotNumber = "16"
usb.pciSlotNumber = "32"
sound.pciSlotNumber = "34"
ehci.pciSlotNumber = "35"
vmci0.pciSlotNumber = "36"
vmotion.checkpointFBSize = "134217728"
usb:0.present = "TRUE"
usb:1.present = "TRUE"
vmci0.id = "-1868762686"
usb:1.deviceType = "hub"
usb:0.deviceType = "mouse"
floppy0.autodetect = "TRUE"
ide1:0.autodetect = "TRUE"
floppy0.startConnected = "FALSE"
gui.exitOnCLIHLT = "TRUE"
checkpoint.vmState = ""
ethernet0.present = "TRUE"
ethernet0.wakeOnPcktRcv = "FALSE"
ethernet0.addressType = "generated"
ethernet0.generatedAddress = "00:0c:29:9c:f1:c1"
ethernet0.pciSlotNumber = "33"
ethernet0.generatedAddressOffset = "0"

Open in new window

0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
what you will need to do is remove the VM from VMware Workstation, by clicking the X, remove from favourites.

then close VMware Workstation down, make the change, and then Open it up.

VMware Workstation still has the vmx cached.
0
 
GerhardpetAuthor Commented:
Still not working with your instructions and I did the following. It keeps on changing back to the old MAC address
http://www.vmware.com/support/ws55/doc/ws_net_advanced_mac_address.html
under heading Manually Assigning a MAC Address
And then I generated a MAC address here
http://sqa.fyicenter.com/Online_Test_Tools/Test_MAC_Address_Generator.php
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Did that work?

If you used the Clone Option in VMware Workstation, it should change the MAC Address for you, if you selected the Option Copied, at Power On?
0
 
GerhardpetAuthor Commented:
I think I copied it but turned off

Still not working. Whatever I do it just changes back to the old MAC address
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Oh, that's why you have the issue!

Would it be easier to use the Clone option under VMware Workstation?

or, you may have to change more entries in the VMX record.

ethernet0.addressType to “static”

change ethernet0.GeneratedAddress to ethernet0.Address
0
 
GerhardpetAuthor Commented:
Changing ethernet0.addressType to “static” worked on the vm setting but now in the vm Win XP I get the following message
Failed to find the source IP address to reach 67.69.159.114 - check your network settings
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Are you using DHCP server or router on your LAN, does this clone VM get a different IP address, than the other VM? (it's clone).
0
 
GerhardpetAuthor Commented:
The office has a SBS 2011 which does the DHCP

Now it is not getting an ip address at all since I changed the MAC to static.

I would clone another VM but I already what both of them fully configured for what I need and it take a lot of time to create new one
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
so this new VM does not get an IP address from DHCP, when you select

IPCONFIG /RELEASE
IPCONFIG /RENEW

Network is set to Bridged?

at the command prompt in the VM?
0
 
GerhardpetAuthor Commented:
Ok so what I have done now is just clone the VM and now it works. I have a different MAC address now
0
 
GerhardpetAuthor Commented:
Thank for your help!
0

Featured Post

Put Machine Learning to Work--Protect Your Clients

Machine learning means Smarter Cybersecurity™ Solutions.
As technology continues to advance, managing and analyzing massive data sets just can’t be accomplished by humans alone. It requires huge amounts of memory and storage, as well as high-speed processing of the cloud.

  • 13
  • 12
Tackle projects and never again get stuck behind a technical roadblock.
Join Now