Solve the problem that the CENTOS7 virtual machine cannot start after changing the static IP Address

Source: Internet
Author: User

Solve the problem that the CENTOS7 virtual machine cannot start after changing the static IP Address
There is no problem in editing linuxman. The reason for repeated viewing failed, and then found out that it was caused by a virtual machine.
1. When the network is enabled, an error message is displayed:Restarting network (via systemctl): Job for network. service failed. See 'systemctl status network. service' and 'journalctl-xn 'for details.
2. Run systemctl status network. service as prompted.
Error Log: 15: 30: 10 localhost. localdomain systemd [1]:Failed to start LSB: Bring up/down networking.
3. run the ip addr command to view the MAC address (link/ether 00: 5c: 33: 2e: dd: 10) it is inconsistent with the line shown in/etc/sysconfig/network-scripts/ifcfg-* (HWADDR = 00: e3: 21: 3d: 5d: ee.
4. Comment out HWADDR = *: * in/etc/sysconfig/netwrok-scripts/ifcfg -*.
5. Change it to HWADDR = 00: 5C: 33: 2E: DD: 10 (that is, the MAC found using the ip addr command)

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.