Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Reprint Please specify source: http://blog.csdn.NET/l1028386804/article/details/52267554
Today brings us a little episode on VMware, OK, let's get to the point:
One, host and virtual machines ping each other
This thing is very simple. I use the VMware Station 9 virtual machine, the virtual machine installs the CentOS 6.5 operating system, the host is the WIN7 system (but what system is not important)
To ping each other, you only need to do two things:
(1) Set up VMware's network adapter as "bridge" mode, as follows:
VMware's Menu bar "VM" and "Settings", select "Network Adapter" in "Hardware" and "Network connection" on the right is set to the first "bridged". As for the tick box, there is no need to tick.
(2) Set the host to the same network segment as the virtual machine's operating system IP, for example:
Host IP is set to:
IP Address: 192.168.1.100
Subnet Mask: 255.255.255.0
Default gateway: 192.168.1.1
The virtual machine IP is set to:
IP Address: 192.168.1.101
Subnet Mask: 255.255.255.0
Default gateway: 192.168.1.1
-----------------------------------------------------------------------------------------
With the simple two steps above, the host and virtual machines can ping each other
Second, the host and another machine installed on the virtual machine between each other ping
It's easy to do this, actually. Two computers under the same LAN, then, on the basis of the above, only need to put another machine host IP is also set to the same network segment can be, for example:
IP Address: 192.168.1.102
Subnet Mask: 255.255.255.0
Default gateway: 192.168.1.1
VMware-Host and virtual machines ping each other, host Ping to another machine's virtual machine