2012/03/30

ipaddr CentOS-6.2

centos-6.2-i386 'minimal desktop' env

#old
#DEVICE="eth0"
#HWADDR="00:0C:29:AF:21:B6"
#NM_CONTROLLED="yes"
#ONBOOT="no"

#new
DEVICE="eth0"
HWADDR="00:0C:29:AF:21:B6"
NM_CONTROLLED="yes"
ONBOOT="yes"

BOOTPROTO=static           
IPADDR=10.11.12.214         
NETMASK=255.255.255.0      
NETWORK=10.11.12.0         
GATEWAY=10.11.12.1      
BROADCAST=10.11.12.255    

/etc/init.d/network restart
or
service network restart

沒有留言:

張貼留言