配置虚拟机虚拟网络

Centos7 静态ip配置
Centos7 静态ip配置

开启centos后利用命令查看配置文件信息:ls /etc/sysconfig/network-scripts
Centos7 静态ip配置
需要配置 ifcfg-ens33文件
vi /etc/sysconfig/network-scripts/ifcfg-ens33
Centos7 静态ip配置Centos7 静态ip配置
重启网络服务 service network restart 后再次查看
Centos7 静态ip配置
ping 192.168.25.100 看能不能 ping 通

至此结束!

相关文章: