centos静态IP设置

[root@linux-212 ~]# cat /etc/sysconfig/network-scripts/ifcfg-em1
DEVICE=em1
HWADDR=84:2B:2B:59:92:59
BOOTPROTO=static
BROADCAST=192.168.1.212
IPADDR=192.168.1.212
NETMASK=255.255.255.0
NETWORK=192.168.1.0
ONBOOT=yes
GATEWAY=192.168.1.1
TYPE=Ethernet


你可能感兴趣的:(IP)