[root@localhost Desktop]# systemctl status network.service ● network.service - LSB: Bring up/down networking Loaded: loaded (/etc/rc.d/init.d/network) Active: failed (Result: exit-code) since Sun 2016-10-30 10:16:58 CST; 3min 12s ago Docs: man:systemd-sysv-generator(8) Process: 11052 ExecStop=/etc/rc.d/init.d/network stop (code=exited, status=0/SUCCESS) Process: 11318 ExecStart=/etc/rc.d/init.d/network start (code=exited, status=1/FAILURE) Oct 30 10:16:13 localhost.localdomain network[11318]: Could not load file '/e... Oct 30 10:16:13 localhost.localdomain network[11318]: Could not load file '/e... Oct 30 10:16:13 localhost.localdomain network[11318]: [ OK ] Oct 30 10:16:58 localhost.localdomain network[11318]: Bringing up interface W... Oct 30 10:16:58 localhost.localdomain network[11318]: [FAILED] Oct 30 10:16:58 localhost.localdomain network[11318]: Bringing up interface e... Oct 30 10:16:58 localhost.localdomain systemd[1]: network.service: control pr... Oct 30 10:16:58 localhost.localdomain systemd[1]: Failed to start LSB: Bring ... Oct 30 10:16:58 localhost.localdomain systemd[1]: Unit network.service entere... Oct 30 10:16:58 localhost.localdomain systemd[1]: network.service failed. Hint: Some lines were ellipsized, use -l to show in full.
[root@localhost Desktop]# ip addr -----------------------------------------------------------------
注意上面加粗加红的字,这就是新的mac地址。 接下来就剩下修改ifcfg-XXX文件了,只修改HWADDR就可以了。接下来执行service network restart就正常了。 ---------------------------------------------------------------
TYPE="Ethernet" (责任编辑:IT) |