Internet access in VMware NAT static IP mode

Source: Internet
Author: User

Since I started learning Linux, it's confusing to surf the Internet using NAT mode. Specific principles, but also to verify.

Use Method (VMware):

Brief introduction:

WMware is easy to use for NAT

  1. Set the NAT mode virtual machine (one). Action: VM (Top menu)--> Setting-->network Adapter (Hardware). I chose the above Nat mode, I guess is automatically select the available VM NIC, because if it is automatically assigned, the virtual machine IP is found within 192.168.110.x, not verified.
  2. Open the network adapter. Action: Edit--Virtual Network Editor (NET adapter)
  3. Modify the Ifcfg-eth0 configuration file in the virtual machine, and the path is/etc/sysconfig/network-scripts/ifcfg-eth0. If there is a problem with the path, I may have knocked it wrong.
  4. Restart the Network service. Operation: Service network restart.
  5. Configuration ends.
  6. There are many configuration documents on the network. Most of them are correct. If there is still a problem, you have to look more, think.

If there is any problem, I hope you can raise it. I will revise it. Thanks a lot.

Internet access in VMware NAT static IP mode

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.