Solve the problem that the CENTOS7 virtual machine cannot start after changing the static IP address
Source: Internet
Author: User
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, the following error occurs: Restartingnetwork (viasystemctl): Jobfornetwork. servicefailed. see & #39; systemctlstatusnetwork. service & #39; and & #39; journalctl is being edited by linuxman without any problems. 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)
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.