Home > OS >  Linux centos7
Linux centos7

Time:10-01

In a virtual machine to install cnetos7, just can install, ping, then restart after ping impassability, ping www.baidu.com is to display unknown host www.baidu.com

CodePudding user response:

Is powered up for network card is not set well,
With IP addr view nic have access to the IP,
Ping baidu, may be unable to get to the Internet, or the DNS configuration, see the nameserver configured yet?

CodePudding user response:


Sets the network at the vmware bridge model, the Linux set the network configuration (mainly IP) can surf the Internet,

CodePudding user response:

Dhclient to obtain the dynamic IP,
Vim/etc/sysconfig/network - modify configuration scripts/ifcfg - XXX
  • Related