Problem Description:
Feel the problem solved back to think it is very simple, but did not solve how can not find problems, knowledge reserves stretched. In response to this problem I have a long time to get things done, all kinds of information, but also to prove my ability to screen useful blog is relatively low, first let me cry will go ...
In the virtual experiment, especially in the distributed cluster environment, we need to configure static IP address, we want to surf the internet, often we are not both, but this is obviously a solution, but we just can't find, below I find from the Internet blog set success, special thanks.
Set up
1, Windows. First look, there is no more than Windows VMware1 (hostonly use), VMware8 (Nat use):
2, VMWare. Menu bar Edit--> virtual Network editor:
3, click Nat Settings
IP address: 192.168.38.xxx # #只要是这个网段的就行了
Subnet mask: 255.255.255.0 # #这个大家都知道, there's nothing to talk about.
Gateway: ip:192.168.38.2 # #就是这玩意, has been set before. 1, and then all kinds of connection.
4, the configuration of Ubuntu below:
5, disconnect reconnect or restart the NIC on the line