Environment:
Real Machine
VMware virtual machines equipped with REDHAT7
Demand:
Because there is no network at home, but also want to communicate with the virtual machine through the real physical machine, like to connect Redhat with Xshell, without knocking command in the Black window of the virtual machine
In the 1.vmware network editor, set the host only network segment (VMNET3), and then select the appropriate network in VMware settings.
For example: 192.168.30.0
2. The virtual machine set 30 network segment IP address (such as: 192.168.30.99), the gateway to the real machine set the IP address (such as 192.168.100.10), after the setup, you need to restart the network service
3. In the network connection of the real machine, select the corresponding virtual network card, such as Vmnet3 is the host only network card, add the corresponding address (such as: 192.168.100.10),
This article is from the "Small City Studio" blog, please be sure to keep this source http://xcroom.blog.51cto.com/7941996/1758290
Connecting virtual machines in a network-free environment