Solved

VMware Workstation IP address conflict

Posted on 2011-09-23
25
2,191 Views
Last Modified: 2012-05-12
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
Comment
Question by:Gerhardpet
  • 13
  • 12
25 Comments
 
LVL 117
ID: 36586916
Delete the Network Interface and Ensure that they are set to Bridged Networking.
0
 
LVL 1

Author Comment

by:Gerhardpet
ID: 36587041
Which network interface should I delete?
0
 
LVL 1

Author Comment

by:Gerhardpet
ID: 36813239
I'm still trying to figure this out. Where do I delete the network interface?
0
 
LVL 117
ID: 36813938
Select VM Settings, HIghlight the Network Card and select Remove.

Make sure the VM is off.
0
 
LVL 1

Author Comment

by:Gerhardpet
ID: 36813976
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
 
LVL 117
ID: 36813994
You need to add another new Network Card, after removing the old one!
0
 
LVL 1

Author Comment

by:Gerhardpet
ID: 36814014
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
 
LVL 117
ID: 36814024
How did you create these two Guest OS Workstations? - they are not clones?
0
 
LVL 117
ID: 36814026
Both virtual machines must have the same MAC Address to get the same IP address.
0
 
LVL 1

Author Comment

by:Gerhardpet
ID: 36814027
Yes they are clones. I created one and then copied it
0
 
LVL 117
ID: 36814029
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
 
LVL 117
ID: 36814031
Do you have the option in the Network Card to Change the MAC Address?
0
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
LVL 117
ID: 36814038
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
 
LVL 1

Author Comment

by:Gerhardpet
ID: 36814089
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
 
LVL 117
ID: 36814120
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
 
LVL 1

Author Comment

by:Gerhardpet
ID: 36814871
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
 
LVL 117

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
ID: 36814887
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
 
LVL 1

Author Comment

by:Gerhardpet
ID: 36814920
I think I copied it but turned off

Still not working. Whatever I do it just changes back to the old MAC address
0
 
LVL 117
ID: 36814939
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
 
LVL 1

Author Comment

by:Gerhardpet
ID: 36815070
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
 
LVL 117
ID: 36815110
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
 
LVL 1

Author Comment

by:Gerhardpet
ID: 36815166
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
 
LVL 117
ID: 36815209
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
 
LVL 1

Author Comment

by:Gerhardpet
ID: 36817689
Ok so what I have done now is just clone the VM and now it works. I have a different MAC address now
0
 
LVL 1

Author Closing Comment

by:Gerhardpet
ID: 36817698
Thank for your help!
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now