First of all, I am apology for the pictures, because I can not connect to the issue-machine, so I can not copy the code, only can post the photograph.

I use systemctl restart network, get fail.

So, I use the systemctl status network.service -l to check the error message:

enter image description here

I use journalctl -xe to check error message:

enter image description here

The /var/log/message error log:

enter image description here

My /etc/sysconfig/network-scripts/ifcfg-enp2s0:

enter image description here

This is my network-interfaces:

enter image description here

I tried add the HWADDR= in my ifcfg-enp2s0, but still do not work.


This is the journalctl -u network.service:

enter image description here

  • For a text form of this question, see the four-year-old question at unix.stackexchange.com/questions/100588 . – JdeBP Jan 24 '18 at 6:41
  • OMG - Oh My GNU! Screenshot ... then scp to another computer to make that correct .. or ... scp a text copy ... that is weird! – aurelien Jan 24 '18 at 20:38
  • @aurelien You know the network-interface is down, I can not connect to it. – fanhualuojin154873 Jan 25 '18 at 2:34

According to ip, enp2s0 is showing as NO-CARRIER (i.e. the cable is not plugged in.) Are you sure that the cable is securely connected and working correctly? DHCP won't try to obtain an address until the interface is fully up, and setting the MAC address isn't usually required (especially if you're setting it to the default value for the card.)


you maybe use the solution according to the following thread

Centos 7: failed to bring up/down networking: configure interface for a trunk interface

systemctl stop NetworkManager systemctl disable NetworkManager systemctl start NetworkManager

  • Be careful, this will prevent NetworkManager from starting on boot. – Panki Nov 21 '19 at 16:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.