watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvzgvmyxvsddc=/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/southeast ">
watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvzgvmyxvsddc=/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/southeast ">
Vim/etc/sysconfig/network
networking=yeshostname=localhost.localdomaingateway=192.168.29.1
Vim/etc/sysconfig/network-scripts/ifcfg-eth0
Device= "eth0" #BOOTPROTO = "DHCP" bootproto= "Static" ipaddr=192.168.29.100netmask=255.255.255.0gateway= 192.168.29.1broadcast=192.168.29.255hwaddr= "00:0c:29:38:cb:90" ipv6init= "no" nm_controlled= "yes" ONBOOT= "yes" TYPE = "Ethernet" uuid= "3237f851-d158-44ca-a811-ce0afa451e52" dns1=192.168.29.1
Vim/etc/resolv.conf
# Generated by Networkmanagernameserver 192.168.29.1
[Email protected] network-scripts]# Ping Www.baidu.comping:unknown host www.baidu.com
(I follow the online step-by-step setup, the result is still a failure, it is more sad that I reverted to DHCP but not the Internet, default7#zbphp.com)
Vwmare CentOS 6.5 Static IP settings