激活网卡: [root@dynamic ~]# ifconfig eth0 up 网卡配置: [root@dynamic ~]# vi /etc/sysconfig/network-scripts/ifcfg-eth0  DEVICE="eth0" BOOTPROTO="static" HWADDR="34:40:B5:AB:16:E4" NM_CONTROLLED="yes" ONBOOT="yes" TYPE="Ethernet" UUID="4456b5f3-1e66-42b7-bbcf-a902a15115c1" IPADDR="192.168.1.88" NETMASK="255.255.255.0" GATEWAY="192.168.1.1" DNS1="192.168.1.1" IPV6INIT=no [root@dynamic ~]# vi /etc/resolv.conf nameserver 192.168.1.1 [root@dynamic ~]# vi /etc/sysconfig/network  NETWORKING=yes HOSTNAME=dynamic 启用网络服务: [root@dynamic ~]# service network start