Solved

Vista hosting VMWare gets IP address conflict when MS Guest OS is running

Posted on 2009-06-27
5
1,226 Views
Last Modified: 2012-05-07
I have a physical machine running Vista Ultimate 64bit.  This machine has a static IP of 192.168.1.100.  There are maybe 10 nodes on the entire network, and the DHCP scope runs from .75-.99 off of the gateway, which is 192.168.1.1, is a PIX, and it's a /24 network

On this machine, I have have VMware Server 2.0.0, Build 122956.  I have 2 Ubuntu VMs, an XP Pro VM, a Server 2008 VM, and a Server 2003 VM all created on this machine.  I have not had an issue with the Ubuntu VMs, though I do not use them frequently.  I built VMs for XP, 2003, and 2008 for studying/testing purposes.  The servers have static IPs, and they are .10 and .11.  XP is DHCP.

Anytime I leave the XP VM or the Server 2003 VM running for any length of time (sorry, I do not know precisely how long, but I'd say longer than 20-30 minutes), my Vista OS loses at a minimum, internet connectivity, DNS resolution, and I get a Network Error, "Windows has detected an IP address conflict."  I have not tested the XP VM, but the 2003 VM still has internet connectivity.  It cannot ping the Vista host by name or IP.

This ONLY happens on this Vista machine when the VM hosts are running.  Once I close the hosts, I can reset the adapter, and everything is fine again.

Any ideas?
0
Comment
Question by:jasondimaio
5 Comments
 
LVL 3

Expert Comment

by:qualipsoft
Comment Utility
Would you be using bridged networking for your VM and use a wireless adapter on the host?
If that's the case, it is normal that both the host and guest get the dame IP from DHCP since most wireless adapters cannot send ethernet packets with a MAC address different than their own.

If you really want to use bridged networking, use a static IP.
I'd consider using NAT instead.
0
 

Author Comment

by:jasondimaio
Comment Utility
Thanks for taking time to reply, qualipsoft.

I did set up bridged networking on all of the guests, but the host is not wireless.  Also, the host has a static IP address, as mentioned in the original post.  The Server VMs have static IPs.  It still happens.

I changed the configuration of the 2003 Server VM for the NIC to be NAT'ed, and now I have no network connectivity on the VM.  I can ping nothing with the NAT configuration.

I do confess, I do not know how to properly use NAT as it pertains to configuring VMware.
0
 
LVL 90

Expert Comment

by:John Hurst
Comment Utility
Bridged Networking gets its IP from the DHCP source, in this case the PIX gateway. I do not see why this should cause a loss in connectivity and indeed, if my host machine is wirelessly connected, any VM in bridged mode will get a different IP than the host machine.

You can try NAT to see if it helps. VMware uses NAT Networking when it provides its own internal DHCP server. You go into the VM Machine Settings before starting the machine and set the networking to NAT. You need to (initially at least) set your VM's to use DHCP so they can get an IP address. It will look like 192.168.045.1 where 045 is assigned by NAT.
... Thinkpads_User
0
 
LVL 4

Expert Comment

by:WestCoastJohn
Comment Utility
Have you tried changing the way the networking works in VMWare? If you're using bridged mode right now, perhaps you could try using NAT instead?

John Jennings
MCP, MCDST, MCITP, MCTS
0
 

Accepted Solution

by:
jasondimaio earned 0 total points
Comment Utility
Well, I was not able to determine why I have to use DHCP on Vista, and not on Server 2008.  Closing this question.
0

Featured Post

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

Suggested Solutions

Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.
In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:
Teach the user how to configure vSphere Replication and how to protect and recover VMs Open vSphere Web Client: Verify vsphere Replication is enabled: Enable vSphere Replication for a virtual machine: Verify replicated VM is created: Recover replica…

763 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

6 Experts available now in Live!

Get 1:1 Help Now