系统相关
首页 > 系统相关> > centOS7设置IP

centOS7设置IP

作者:互联网

 

 

BOOTPROTO=static


ONBOOT=yes
IPADDR=192.168.20.113
NETMASK=255.255.255.0
GATEWAY=192.168.20.2
DNS1=8.8.8.8

systemctl restart network

 

标签:20.2,network,IP,192.168,centOS7,systemctl,设置,8.8
来源: https://www.cnblogs.com/qq3245792286/p/16339623.html