centos7.3下配置网卡重启出错

系统:centos7.3

问题:配置网卡,service network restart报错;

错误提示:Restarting network (via systemctl):  Job for network.service failed because the control process exited with error code. See "systemctl status network.service" and "journalctl -xe" for details.

原因:配置的etho网卡的HWADDR有问题,直接百度的,不是虚拟机上的

解决:ifconfig -a 查看对应网卡eth0下 ether 00:0c:29:88:ae:b7 这个值才是咱们要配置的HWADDR的值

你可能感兴趣的:(linux)