centos7 - 网络问题
服务启动失败:
systemctl start network
需要查看:systemctl status NetworkManager
若其运行,则需要终止。
systemctl stop NetworkManager
systemctl disable NetworkManager
硬件地址参考:https://raksmart.idcspy.com/3248
静态IP修改:
vim /etc/sysconfig/network-scripts/enf33
TYPE="Ethernet"
PROXY_METHOD="none"
BROWSER_ONLY="no"
BOOTPROTO="static"
DEFROUTE="yes"
IPV4_FAILURE_FATAL="no"
IPV6INIT="yes"
IPV6_AUTOCONF="yes"
IPV6_DEFROUTE="yes"
IPV6_FAILURE_FATAL="no"
IPV6_ADDR_GEN_MODE="stable-privacy"
NAME="ens33"
UUID="093ec5cb-e305-4e42-aec3-d2975154bbd9"
DEVICE="ens33"
ONBOOT="yes"
DNS1=114.114.114.114
DNS2=8.8.8.8
IPADDR=192.168.233.143
NETMASK=255.255.255.0
GATEWAY=192.168.233.2
有朝一日同风起,扶摇直上九万里