1. 程式人生 > >centos7 虛擬機中,網卡不啟動

centos7 虛擬機中,網卡不啟動

centos7 連接 bubuko 開機 man failed workman mar with

使用NAT模式的虛擬centos, 只顯示兩個網卡,無法連接外網,

技術分享圖片

輸入systemctl start network後報錯信息"

Restarting network (via systemctl):  Job for network.service failed because the control process exited with error code. See "systemctl status network.service" and "journalctl -xe" for details

禁掉系統自帶的NetworkManager服務就可解決

systemctl stop NetworkManager          # 停止NetworkManager服務
systemctl disable NetworkManager      # 設置開機不啟動
systemctl start network              # 啟動網絡服務

centos7 虛擬機中,網卡不啟動