VMware Workstation virtual machines cannot be networked solutions

Source: Internet
Author: User

For later use.

First step: Set up VMware's edit-virtual network editor, enable Vmnet8,nat mode, as shown in.

In fact, VMware default settings, no changes, if you accidentally changed, click Restore Default settings.

The second step: virtual machine settings-the network adapter, set to NAT mode, as shown in.

It is also the default and does not need to be changed.

Step three: Edit the network configuration file for the Linux system.

Under the/etc/sysconfig/network-scripts folder, edit the NIC configuration file ifcfg-**, each system is different, depending on their own circumstances.

Change the contents of the ifcfg-** file as shown in. The focus is on Onboot=yes.

such as: CENTOS7 system commands are as follows:

  Cd/etc/sysconfig/network-scripts (Locate the network configuration file directory)

VI Ifcfg-ens33 (settings related to network ENS33)

  Service Network Restart (Restart Network Service)

After setting up the above operation, ping localhost under the root directory, if the connection is successful.

VMware Workstation virtual machines cannot be networked solutions

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.