In fact, there are many similar articles on the Internet, and most of the writing is relatively fine, I write this article is to strengthen their own memory, as well as to share the solution of the method, nonsense not to say, into the topic.
Meaning: Really on the server, your network is already assigned well, so there is no need to allocate, but in the local environment, you need to deploy your environment later, and other needs, so always in the command line in VMware inconvenient, this is to SSH connect your virtual machine
Environment: WINDOW10 Notebook, vmware virtual machine, centos6.5 version.
First go to cmd and go to command line ipconfig to view your local IP address:
Set the static address of Vmware8 in the Network Sharing Center, the IP address of Vmware8 is dynamic after installing VMware by default
OK, the Windows system is set up here, set up VMware
In VMware, edit-and-Virtual network editor (if you cannot edit, the lower-right corner has change settings), select Vmware8
Apply and determine NAT mode, network adapter, virtual machine---, virtual machine interface, settings
Enter CentOS in bin mode Vim/etc/sysconfig/network-scripts/ifcfg-eth0
Last modified Vim/etc/sysconfig/network
Last Service network restart
Check the network again ifconfig
About configuring VMware virtual machine static IPs under Windows host and pinging each other, as well as the regular Internet access of the host machine