Solved

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

Posted on 2009-06-27
5
1,229 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
ID: 24729688
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
ID: 24729735
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 92

Expert Comment

by:John Hurst
ID: 24729783
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
ID: 24729859
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
ID: 24971176
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…

929 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

14 Experts available now in Live!

Get 1:1 Help Now