Before we article, we first talk about the idea of solving this problem.
Virtual machines can not access the Internet, leading to only 3 reasons, the 1 physical Machine (Windows), the virtual Mac Hine Software (VM), the 3 virtual machine (CentOS). Here are tentatively called the Troubleshooting ideas to solve the problem of Internet virtual machine.
Explain the following simple physical machine debugging order ... First you physical machine can be normal? Second, do you limit the launch of the VM software vmware0 service? WIN8 system can also look at whether the limitations of the VMWARE0 networking. The above problems can be Google, here are not to explain. Note:the VMWARE0 Service is a service-enabled on a physical, the virtual machine bridging mode.
Second:is The VM software itself, if you install the VM version of your can not skip this step, because unless you hand base Modified parameters of the virtual Machine network editor inside the VM, or 99.9% VMS is not caused by the software itself.
Third:beginning with Centos7 If you need to keep on mind, centos7 than the previous version changes and its name card I s not tiny but adventitious quantity, with changed, CENTOS7 card default name is eno1677736. As a beginner Linux I can only follow the general idea of Windows, such as whether the network card is enabled, the Networ K Card configuration is normal
After the main network card to see the configuration error
Correct configuration information
# vi/etc/sysconfig/network-scripts/ifcfg-eno16777736
Bootproto=static
Onboot=yes
ipaddr=192.168.1.204
gateway=192.168.1.2
netmask=255.255.255.0
dns1=192.168.1.2
If you is still searching for Linux Internet access, you can look at this article.
This article is from the "12515171" blog, please be sure to keep this source http://12525171.blog.51cto.com/12515171/1892058
Linux Novice Virtual Machine Environment CentOS Internet solution, if Baidu can not help you to see