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)