[root@controller yaowl]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0"
BOOTPROTO="static"
ONBOOT="yes"
IPADDR=192.168.15.15
NETMASK=255.255.255.0
GATEWAY=192.168.15.2
DEFROUTE=yes
DNS1=192.168.15.2
[root@controller yaowl]# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=controller
[root@controller log]# chkconfig NetworkManager off
[root@controller log]# chkconfig network on
[root@controller log]# service NetworkManager stop
[root@controller log]# service network start
阅读(1478) | 评论(0) | 转发(0) |