Network settings for virtual machine VMware workstations

Source: Internet
Author: User

Generally encountered in the virtual machine is not the problem of the network, you can solve:

1. In the terminal input command: Ifconfig. --See if there is an IP address on the Eth0 interface.

No IP address was found on the Eth0 interface.

2. Enter Cat/etc/sysconfig/network-scripts/ifcfg-eth0. --View the configuration on the Eth0 interface.

Dnboot=yes

Bootproto=dhcp. See if the IP address of the Eth0 interface is DHCP (auto) acquired.

If not, through the Baidu query will own virtual machine in the operating system IP address set to become a DHCP acquisition, the general use of graphical interface settings is good.

3. Click the settings icon in the lower right corner of the virtual machine:

Click Settings

Configure the virtual machine network to status and click OK.

4. Right-click My Computer--Properties--Control Panel-Network and Sharing center--Change adapter settings:

Right-click the above icon-Properties:

Double-click the icon:

Configure the IP protocol as shown, OK, OK.

5. If this is the case, the network in the virtual machine is still unavailable:

The Windows+r key opens the service, or the cmd command line opens the service, viewing the service as shown in the beginning of the VM, whether it is started or not. Here the virtual machine does not get the IP automatically because the DHCP service is disabled and right-click Start.

After startup:

6. Under Virtual machine terminal, do the following:

The network configuration was successful.

Dhclient: Opens the DHCP client.

Service Network restart: networking restart.

Ping www.baidu.com: See if the network is a pathway.

The above 1 error is because the current user permissions are not enough to use the command, you should switch to the root user.

Network settings for virtual machine VMware workstations

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.