操作另一臺(tái)linux虛擬主機(jī),由于網(wǎng)卡設(shè)置問題,導(dǎo)致ping內(nèi)網(wǎng)能夠成功就是外網(wǎng)一直ping不通; 索性直接把虛擬網(wǎng)絡(luò)編輯器中的兩塊VMnet刪除,但沒有重新創(chuàng)建; 然后linux主機(jī)內(nèi)ifconfig連ip都沒有了,dhclient報(bào)錯(cuò); 以為是網(wǎng)卡問題,刪除,重新添加一個(gè); dhclient還不行; 找到另一臺(tái)linux主機(jī),也沒有ip地址,systemctl restart network.service報(bào)錯(cuò); Job for network.service failed. See \'systemctl status network.service\' and \'journalctl -xn\' for deta; 根據(jù)錯(cuò)誤查找網(wǎng)絡(luò)相關(guān)文章,根據(jù)建議輸入systemctl status network.service; 輸出類似
十多年的惠山網(wǎng)站建設(shè)經(jīng)驗(yàn),針對設(shè)計(jì)、前端、開發(fā)、售后、文案、推廣等六對一服務(wù),響應(yīng)快,48小時(shí)及時(shí)工作處理。全網(wǎng)營銷推廣的優(yōu)勢是能夠根據(jù)用戶設(shè)備顯示端的尺寸不同,自動(dòng)調(diào)整惠山建站的顯示方式,使網(wǎng)站能夠適用不同顯示終端,在瀏覽器中調(diào)整網(wǎng)站的寬度,無論在任何一種瀏覽器上瀏覽網(wǎng)站,都能展現(xiàn)優(yōu)雅布局與設(shè)計(jì),從而大程度地提升瀏覽體驗(yàn)。創(chuàng)新互聯(lián)從事“惠山網(wǎng)站設(shè)計(jì)”,“惠山網(wǎng)站推廣”以來,每個(gè)客戶項(xiàng)目都認(rèn)真落實(shí)執(zhí)行。systemctl status network network.service - LSB: Bring up/down networking Loaded: loaded (/etc/rc.d/init.d/network) Active: failed (Result: exit-code) since Sun 2014-11-23 22:09:08 EST; 15min ago Process: 597 ExecStart=/etc/rc.d/init.d/network start (code=exited, status=1/FAILURE) Nov 23 22:09:07 hdcoe02 network[597]: Bringing up loopback interface: Could not load file \'/etc/sysconfig/network-scripts/ifcfg-lo\' Nov 23 22:09:07 hdcoe02 network[597]: Could not load file \'/etc/sysconfig/network-scripts/ifcfg-lo\' Nov 23 22:09:08 hdcoe02 network[597]: Could not load file \'/etc/sysconfig/network-scripts/ifcfg-lo\' Nov 23 22:09:08 hdcoe02 network[597]: Could not load file \'/etc/sysconfig/network-scripts/ifcfg-lo\' Nov 23 22:09:08 hdcoe02 network[597]: [ OK ] Nov 23 22:09:08 hdcoe02 network[597]: Bringing up interface enp0s25: Error: Connection activation failed: Connection \'enp0s25\' is not available on the device enp0s25 at this time. Nov 23 22:09:08 hdcoe02 network[597]: [FAILED] Nov 23 22:09:08 hdcoe02 systemd[1]: network.service: control process exited, code=exited status=1 Nov 23 22:09:08 hdcoe02 systemd[1]: Failed to start LSB: Bring up/down networking. Nov 23 22:09:08 hdcoe02 systemd[1]: Unit network.service entered failed state.
建議解決方法systemctl enable NetworkManager-wait-online.service; 還是不行,根據(jù)網(wǎng)友們討論得知Windows中的服務(wù)VMWare NaT Service和VMWare DHCP Ser沒有開啟; 查看服務(wù)果不其然,嘗試開啟,卻是被禁止的,屬性中找到手動(dòng)或自動(dòng),開啟則報(bào)錯(cuò); Windows無法啟動(dòng)VMware NAT Service服務(wù)(位于 計(jì)算機(jī) 上)。錯(cuò)誤 1068:依賴服務(wù)或組無法啟動(dòng)。 根據(jù)錯(cuò)誤查找相關(guān)文章,這個(gè)問題最終還是落在了虛擬機(jī)中的虛擬網(wǎng)絡(luò)編輯器; 由于沒有重新添加網(wǎng)絡(luò)導(dǎo)致的一系列問題。 在嘗試中我將原來報(bào)有錯(cuò)誤的linux主機(jī)刪除,導(dǎo)致最終ping不通外網(wǎng)的問題還沒有得到解決,就這么沒了?