首页 > 代码库 > Linux菜鸟虚拟机环境centos上网解决办法,如果百度帮不到你来看下
Linux菜鸟虚拟机环境centos上网解决办法,如果百度帮不到你来看下
Before we look at this 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 machine software (VM), the 3 virtual machine (CentOS). Here is 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 is not to explain. Note: the vmware0 service is a service enabled on a physical machine in the virtual machine bridging mode.
Second: is the VM software itself, if you install the VM version you can not skip this step, because unless you hand base modified parameters of the virtual machine network editor inside the VM, or 99.9% VM is not caused by the software itself.
Third: beginning with centos7 when you need to keep in mind, centos7 than the previous version changes and its name card is not tiny but adventitious quantity, have 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 network 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 are still searching for Linux Internet access, you can look at this article.
本文出自 “12515171” 博客,请务必保留此出处http://12525171.blog.51cto.com/12515171/1892058
Linux菜鸟虚拟机环境centos上网解决办法,如果百度帮不到你来看下