linux 配置ip地址

 

etc -sysconfig-network-scripts -ifcfg-eth0

DEVICE=eth0
TYPE=Ethernet
UUID=1e8afd4c-fa74-43fb-ab96-4a369d9b4938
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=static
DNS1=192.168.1.1
IPADDR=192.168.1.200
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
HWADDR=00:0C:29:26:97:C3
PREFIX=24
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="System eth0"
LAST_CONNECT=1471691644

posted @ 2016-08-27 18:51  haifeng_0712  阅读(193)  评论(0编辑  收藏  举报