After Win7 is upgraded to Win10, CentOS cannot be connected to the Internet when the VM is installed.

Source: Internet
Author: User
Solution to the problem that CentOS cannot be connected to the Internet when VMware is installed after Windows 10 is upgraded to Windows 10

In the past few days, Microsoft launched a new version of Windows 10 operating system, so I also tried Win10, which is a highlight of Windows 10 over Windows 10, it provides great convenience for users who start multiple programs to switch back and forth. Moreover, the online banking installed on Win7 can also be used normally, which is very good. Edge browsers are much faster than IE, and the multi-tag design is a bit similar to Chrome. The home page buttons are placed in the advanced settings like Chrome, which seems to be not supported by some websites, these websites can be opened with IE in the Edge browser.

Now, let's focus on it. after installing Win10, we also found some minor problems. for example, during each boot, WLAN connections are sometimes unstable and cannot automatically connect to the wireless network, as a result, you may have to set the network to select a network. Sometimes, when you enable multiple tasks, a crash occurs. you must force the shutdown to solve the problem. The "network config sample" dialog box is always displayed when the previously installed WiFi sharing wizard enables wireless sharing. as a result, no solution is available. CentOS 6.5 installed in VMware workstation cannot connect to the network. The solution is provided below.
Two services are not installed: VMware DHCP Service and VMware Net Service.

1. what are DHCP and NAT?

DHCP: I understand it as a network protocol. it is used to automatically assign IP addresses for automatic connection, instead of entering IP addresses manually.

NAT: When some hosts in the private network have already been assigned a local IP address (that is, only the private IP address used in the private network ), however, if you want to communicate with hosts on the Internet (encryption is not required), you can use the NAT method. A physical machine is equivalent to a host server, while a virtual machine is equivalent to a client. They are in an intranet, and virtual machines need to go through the host to access the Internet. Therefore, NAT is required.

II. solution:

1. go to "control panel"> "network and Internet"> "view network connection" to see if it is set to automatically obtained (P.S or directly in the search box of the Win10 taskbar

Then select VMware Virtual Ethernet Adapt, which is the one listed in the figure. right-click the attribute, select the one with IPv4, and double-click, then, "automatically retrieve IP addresses" and "automatically retrieve DNS servers" are set ". Then confirm. In the same step, set "local connection" (if connected with a network cable) or "wireless network connection" (if connected with a wireless network) it is also set to "automatically retrieve IP addresses" and "automatically retrieve DNS servers"

2. open the options page from VMWare to CentOS, and set "network connection" in the "network adapter" column to "NAT mode"

3. choose "edit"> "virtual network editor"> "restore default settings" from the menu bar of the VM"

4. have you installed the above two services? Win + R: Enter services. msc to enter the service:

5. next we will enter CentOS. if this is an internal error when the VM power key is enabled, this is because some VMware services are not enabled, in this case, open the following service in "service.

6. let's go to CentOS to see if it is connected?

References:

Http://bbs.kafan.cn/thread-1288693-1-1.html

Http://blog.sina.com.cn/s/blog_4ed32a400100sxmc.html

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.