centos5.8裝完系統後配置網絡信息
--centos修改網絡信息 www.2cto.com
vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
IPADDR=192.168.10.11
NETMASK=255.255.255.0
#DHCPCLASS=HWADDR=00:0C:29:97:72:9B
ONBOOT=yes
--centos上網設置
vi /etc/resolv.conf
search localdomain
nameserver 8.8.8.8
vi /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=yes
HOSTNAME=localhost.localdomain
GATEWAY=192.168.10.1