Virtual Machine (VMWare) NAT mode, configuring static IP Internet access problem __nat mode

Source: Internet
Author: User
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

    

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.