determining ip information for eth0 .. failed

虚拟机Centos无法联网,输入ifconfig及service network restart显示如下:
这里写图片描述
查看网络配置文件:
cd /etc/sysconfig/network-scripts/
vim ifcfg-eth0
这里写图片描述
修改如下内容:
这里写图片描述
然后重启网络:service network restart
ip冲突,修改192.168.25.129为192.168.25.129成功
这里写图片描述
成功联网:
这里写图片描述

猜你喜欢

转载自blog.csdn.net/qq_14994863/article/details/79879372