Home > Operation and Maintenance > CentOS > The network card cannot be started under centos7

The network card cannot be started under centos7

王林
Release: 2020-04-03 11:36:57
Original
3017 people have browsed it

The network card cannot be started under centos7

Problem:

Restart the network card

systemctl restart network
Copy after login

Return error:

Restarting network (via systemctl): Job for network.service failed. See 'systemctl status network.service' and 'journalctl -xn' for details.

Checking the network card status at this time

systemctl status network.service
Copy after login

will return an error: rtnetlink answers file exists

Cause analysis:

Network card mac conflict caused by virtual machine cloning.

Solution:

1. Check mac

ip addr
Copy after login

2. Open ifcfg-eth0 network card configuration file

3. Modify HWADDR = new mac or Delete and restart the machine. It is best to delete or comment out.

4. Restart the system

Recommended related tutorials: centos tutorial

The above is the detailed content of The network card cannot be started under centos7. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template