1.更改網卡:
[root@www ~]# vim /etc/sysconfig/network-scripts/ifcfg-ens33
2.更改網卡配置后重啟網絡服務,提示
[root@www ~]# systemctl restart network Job for network.service failed because the control process exited with error code. See "systemctl status network.service" and "journalctl -xe" for details.
大概意思是:工作網絡。服務失敗,因為控制進程退出並帶有錯誤代碼。參見“systemctl狀態網絡”。服務”和“journalctl -xe”了解詳細信息。
簡單查詢了下沒發現解決辦法就reboot重啟了機器,然后就好了..... 😂