配IP

# vim /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0"
ONBOOT="yes"
IPV6INIT="no"
IPV4_FAILURE_FATAL="no"
NM_CONTROLLED="no"
TYPE="Ethernet"
BOOTPROTO="static"
IPADDR="192.168.3.90"
PREFIX=24
GATEWAY=192.168.3.254

posted @ 2019-04-30 23:03  安于夏  阅读(128)  评论(0编辑  收藏  举报