Has appeared many times before the question, Hey, white, noway.
The premise that ping Tong host.
Libxml2 library and encounter is to use yum upgrade CentOS host could not be resolved. Are generally gateway and CentOS,DNS is not set up.
2. check network settings for Windows
Get parameter in CentOS corresponding settings
3. view the CentOS gateway is set correctly
[[email protected] ethan]# grep GATEWAY /etc/sysconfig/network-scripts/ifcfg*
[[email protected] Ethan]#/resolv.conf as follows:
See if using DNS resolution file, general use
[[email protected] Ethan]#. conf is as follows:
#hosts: db files nisplus nis dns
hosts: files dns
Set the gateway:
[[email protected] Ethan]#/sysconfig/network as follows:
[[email protected] Ethan]#/sysconfig/network-scripts/ifcfg-eth0 is as follows:
4. restart the network service
service network restart
General finish can ping ….
Baidu is not enough on its own …