How Win7 in a VMware virtual machine in host-only mode enables host and parasitic network connectivity

Source: Internet
Author: User

Lab Environment: How Win7 in a VMware virtual machine in host-only mode can interconnect the host to the parasitic network.


Requirements: VMware Workstation12 Pro or above, and a win7 system is installed.


---------------- steps to connect the host to the parasitic Machine network -------------

1 open Control Panel in host - Network and internet- Network and Sharing Center, and click Change adapter settings.

2 in the network connection, double-click VMware Network Adapter VMnet1 .

3 in the VMware Network Adapter VMnet1 Click Properties in the Status window.

4 in the Properties status bar, double-click Protocol version IPV4.

5 choose to use the following IP after the address bar, edit the correct IP address, do not contact the host IP address conflict, after clicking on the subnet mask will automatically eject the value, the default gateway General host segment is 1 , the previous network segment is exactly the same. the DNS server address below can not be written. Click OK to assign the IP address.



6 back to the virtual machine, open Control Panel - Network and internet- Network and Sharing Center, and click Change adapter settings.

7 Double-click Local Area Connection in the network connection.

8 in the Local Area Connection Status window, click Properties.

9 in the Properties status bar, double-click Protocol version IPV4.

Ten Configure the same subnet mask as the host, the default gateway, but IP the host at the end of the address does not have to be different from the host and is not 1 or 255 or 0."255 is the broadcast address,1 is the gateway, and0 is the network number"

One Use win=r shortcut key to open the Run window input CMD Click OK.

A in the window that appears, after the green character, type PING "You host set the IP address to verify that the host is connected to the virtual machine network. The data within the red box is the success of Unicom.

=========== some problems and errors that may be encountered in this article =============

If a ping is not on the host, and the host computer does not ping the virtual machine, check that the NIC option is selected in host mode only (Host-only).

also, both sides of the firewall must be closed! Step is Control Panel\System and Security\ WindowsFirewall\Custom Settings


in theVM12the editing-Virtual Network Editor, tick to use localDHCP. Check the subnet .IPaddress is correct. Maintaining a virtual machine as staticIPto ensure stability.




How Win7 in a VMware virtual machine in host-only mode enables host and parasitic network connectivity

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.