首页 > 代码库 > linux 配置ip地址

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

linux 配置ip地址