VMware cannot get IP address resolution

Source: Internet
Author: User
Tags get ip
The IP address is not available at bridge modeReason: There are more than one network card solution: 1, disable redundant network card: Some of the previously installed virtual machines, opened today found that the IP address is not available, the use of bridging mode. By grasping the packet found that the original virtual machine DHCP requests are sent to the physical machine's loopback interface (loopback), thus obtaining the IP address, delete the loopback interface after the problem solved. 2, the reason is that the host has more than one network card, in the Edit–virtual network editor inside set VMNET0 (or already have bridge type) for bridge type, bridge to the specified network card
IP Address not available in NAT modePhenomenon
Virtual Machine Network Mode configuration is NAT (network address translation mode), the first day, the system started automatically obtained an IP address, the virtual machine can be a smooth access to the host, everything is OK.
As a result, after a few days, when I started the same virtual machine again, after a period of time after the system, the IP disappeared.
Cause analysis
Results query analysis, confirmed the cause of the accident occurred.
Originally in NAT (network address translation mode), the IP address of the virtual machine must be set up for automatic acquisition, and this configuration information is provided by the DHCP server of the VMNET8 (NAT) virtual network.
When I first used the virtual machine, I found that four VMware-related processes in the process Manager are still active (Vmware-authd.exe,vmount2.exe,vmnetdhcp.exe,vmnat.exe), although the memory footprint is not very much, But the feeling is also very uncomfortable. Rage, directly within the service set the four process related services to the manual startup mode.
Then, in the second use, the Vmnetdhcp.exe did not start up, resulting in the virtual machine system can not obtain a legitimate IP address.
Solving method
Knowing the reason, the solution is always simple.
If you have recently used a common virtual machine, set the Vmnetdhcp.exe-related services to start automatically.
On the other hand, it is set to start manually, then write a script, use the virtual machine time to do a prior start on the OK.
Third, otherToday I got an XP virtual machine, the network is set to bridge mode, how can not get IP address, network connection is limited. After many tests finally solved the problem, share to everyone.
Virtual machine environment: VMware? Workstation 8.0.1 build-528992
Installed virtual machine: Windows XP This system was previously used for VMware6.0 installations, when all was used properly.

Problem, copy 6.0 XP all files below, open on 8.0, the system is normal but is the virtual machine network old problems, using bridging mode can not get the IP address, the following is the resolution process:
1, to view the software installed in the control Panel, there is a network card driver is inter network card driver, suspected is the driver of the problem, we all know that the virtual Machine network card is the use of VMware driver, so the driver uninstall, using 8.0 vmtools Reinstall, the fault remains.
2, suspected that Windows system services cause, such as DHCP did not start, and so on the Internet to download XP system services to restore batch processing, restart after the failure is still.
3, the test using NAT mode, you can automatically obtain IP address, or bridge where set wrong, look at the host virtual machine related services, all of which have been opened and normal operation.

4, suspect-driven problem, because the previous use of the green version of the virtual machine, there is the use of bridges connected to the Internet, but also considered the installation version of their own use, there is no such problem, negative.
5, look at VMware's virtual network configuration, found inside a more than a network card "MICROSEROF Virtual WiFi Miniport Adapter", test the bridge network card automatically changed to my wireless network card, the results of testing Bridge network, incredibly all normal.






6, find found MICROSEROF virtual WiFi Miniport Adapter network card is the virtual WiFi in Windows7 can be a real wireless network card on the basis of a virtual network card, realize the wireless router AP function.
In general, we will not use, use the command to turn him off on the OK. Netsh wlan set hostednetwork mode=disallow




Then we change the bridge to Automatic, so whether you use a wired or wireless virtual machine will automatically help you bridge the network ...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.