centos6.2 IP设置

DEVICE=em1
DNS1=202.106.0.20
HWADDR=23:8f:69:dc:3b:83
NM_CONTOLLED="yes"
ONBOOT=yes
TYPE=Ethernet
BOOTPROTO=static(通过页面修默认NONE)
USERCTL=no
IPV6INIT=no
IPADDR=192.168.20.12

NETMASK=255.255.255.0
GATEWAY=192.168.20.254

你可能感兴趣的:(centos)