Fix CENTOS7 virtual machine change static IP does not start

Source: Internet
Author: User

In Linuxman's edits, the problem did not occur. Repeated view of the cause of the failure, after the detection is caused by the virtual machine.
1. When you turn on the network, there is an error message:restarting network (via Systemctl): Job for Network.service failed. See ' systemctl status Network.service ' and ' journalctl-xn ' for details.
2. Follow the prompts: Systemctl status Network.service
Hint error log: 15:30:10 localhost.localdomain systemd[1]: Failed to start lsb:bring Up/down networking.
3. Use the IP addr command to view the MAC address (this line Link/ether 00:5c:33:2e:dd:10) as shown in the file/etc/sysconfig/network-scripts/ifcfg-* (this line hwaddr=00 : E3:21:3d:5d:ee) inconsistencies were found when comparing rows.
4. Comment out hwaddr= *:* in/etc/sysconfig/netwrok-scripts/ifcfg-*:*:*:*:* This trip
5. Change to Hwaddr=00:5c:33:2e:dd:10 below (that is, Mac found with the IP ADDR command)

Reprint to: http://www.centoscn.com/CentosBug/osbug/2015/0412/5155.html

Fix CENTOS7 virtual machine change static IP does not start

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.