I installed the Linux virtual machine in VMware, bridge network no problem, want to try to use host-only way to connect the network, from the Internet to find some information, combined with their own practice, summed up the use of host-only way to connect the network probably process.
In host-only mode, the virtual system and your host system can communicate with each other, the equivalent of the two machines connected by twisted-pair wires. But a virtual machine can only communicate with a virtual machine, a host, and a host other than a virtual machine. In host-only mode, the TCP/IP configuration information (such as IP address, gateway address, DNS server, etc.) of the virtual system is implemented by the VMNET1 (host-only) virtual network. Select host-only mode in the virtual machine to connect to the network, use VMware network Adapter VMnet1 to connect with the virtual machine in your host. At this time the host is a host with multiple network cards, local network replication and extranet connectivity,VMware network Adapter VMnet1 is responsible for the virtual machine (intranet) connection. 1. You need to share the local network, share it with the VMware network Adapter VMnet1, Local Area Connection properties share, and check the "Allow other networks to connect through this computer" as shown below:
2. Edit VMware Virtual Network
VMware Edit Virtual Network Editor, configure host-only mode subnet IP and mask. (This address is usually generated automatically, or can be manually modified)
I am automatically generated here, IP segment: 192.168.220.0 Mask: 255.255.255.0
3. Configure virtual machine IP and VMware network Adapter VMnet1 IP
My virtual machine IP configuration is 192.168.220.2,VMware network Adapter VMnet1 IP configuration is 192.168.220.1
Test to connect the virtual machine using the SSH remote tool, OK.