centOS7安装完成之后无法联网的问题:vim /etc/sysconfig/network-scripts/ifcfg-ens33,将ONBOOT=no改成yes,然后service network restart重启下network即可。
配置centOS7固定IP
DEVICE=ens33
BOOTPROTO=DHCP
ONBOOT=yes
IPADDR=172.16.107.130
NETMASK=255.255.255.0
BROADCAST=172.16.107.255
GATWAY=172.16.107.1
ZONE=public
https://blog.csdn.net/w605283073/article/details/81545763
网友评论