VMware的網(wǎng)絡(luò)配置
安裝好VMware Workstation,只能算是萬里長征走完了第一步 。在第一次運(yùn)行VMware Workstation之前,還需要對(duì)其進(jìn)行網(wǎng)絡(luò)配置,安裝必須的網(wǎng)絡(luò)組件 。這一步可以說是關(guān)鍵中的關(guān)鍵 。
安裝好tar安裝包,系統(tǒng)會(huì)提示是否需要自動(dòng)運(yùn)行vmware-config.pl配置腳本,選擇“yes”,然后接受最終用戶許可協(xié)議(EULA:End User License Agreement) 。
接下來系統(tǒng)會(huì)提示需要把vmmon模塊編譯進(jìn)系統(tǒng)內(nèi)核 。由于Fedora Core 1.0所使用的usr/bin/gcc版本(3.2.3)和所需的GCC版本(3.2.2)不符合,配置程序警告說可能導(dǎo)致VMware Workstation崩潰,不要理會(huì)VMware的警告,鍵入“yes”,并回車開始強(qiáng)行編譯 。
接下來會(huì)出現(xiàn)以下提問:
What is the location of the directory of C header files
that match your running kernel?
[/lib/modules/2.4.22-1.2115.nptl/build/include]
這是系統(tǒng)詢問匹配當(dāng)前內(nèi)核的C頭文件的存放路徑,按回車鍵接受默認(rèn)路徑/lib/modules/2.4.22-1.2115.nptl/build/include 。
然后系統(tǒng)開始編譯 。如果最后出現(xiàn)以下提示信息,則說明編譯成功,模塊已經(jīng)加載到系統(tǒng)內(nèi)核:
The module loads perfectly in the running kernel.
接下來會(huì)詢問一些配置過程所必須回答的問題,這是一個(gè)關(guān)鍵 。很多朋友抱怨他們的VMware Workstation老是不聽使喚,無法使用其網(wǎng)絡(luò)功能,究其原因是因?yàn)闆]有正確地回答這些問題 。下面就詳細(xì)解釋這些重要問題 。
1.Do you want networking for your virtual machines? (yes/no/help)
這是詢問是否需要進(jìn)行虛擬機(jī)的網(wǎng)絡(luò)配置,回答“yes” 。如果回答“no”,則中止配置過程 。鍵入“help”即可查看詳細(xì)幫助信息:
Networking will allow your virtual machines to use a virtual network.
There are primarily two types of networking available: bridged and host-only.
A bridged network is a virtual network that is connected to an existing
ethernet device. With a bridged network, your virtual machines will be able to
communicate with other machines on the network to which the ethernet
card is attached.A host-only network is a private network between your
virtual machines and host. Virtual machines connected to a host-only
network may only communicate directly with other virtual machines or the host.
A virtual machine may be configured with more than one bridged or host-only
network.
配置程序允許虛擬機(jī)使用虛擬網(wǎng)絡(luò),有兩種類型的網(wǎng)絡(luò)配置:Bridge(網(wǎng)橋)模式和Host-only(僅宿主機(jī)模式) 。網(wǎng)橋網(wǎng)絡(luò)是連接到物理網(wǎng)卡上的虛擬網(wǎng)絡(luò),虛擬機(jī)可以通過網(wǎng)橋網(wǎng)絡(luò)連接外部網(wǎng)絡(luò)──通過物理網(wǎng)卡連接的外部網(wǎng)絡(luò) 。
僅宿主機(jī)網(wǎng)絡(luò)是僅供宿主機(jī)、虛擬機(jī)通信的虛擬網(wǎng)絡(luò),Host-only網(wǎng)絡(luò)上的虛擬機(jī)只能和宿主機(jī)、或其它虛擬機(jī)直接通信 。一個(gè)虛擬機(jī)可以同時(shí)配置多個(gè)Bridged網(wǎng)絡(luò)或Host-only網(wǎng)絡(luò) 。
回答“yes”后,將會(huì)出現(xiàn)以下提示信息,表示系統(tǒng)正在配置橋接網(wǎng)絡(luò)組件(vmnet0)和NAT網(wǎng)絡(luò)組件(vmnet8):
Configuring a bridged network for vmnet0.
Configuring a NAT network for vmnet8.
2.Do you want this program to probe for an unused private subnet? (yes/no/help)
這是詢問是否需要配置程序搜索未使用的專用子網(wǎng)地址,這里可以回答“yes” 。如果不明白這個(gè)問題的具體含義,只要鍵入“help”即可查看詳細(xì)幫助信息:
Virtual machines configured to use NAT networking are placed on a
virtual network that is confined to this host. Virtual machines on
this network can communicate with the network through the NAT process,
with each other, and with the host.
虛擬專用網(wǎng)絡(luò)上的虛擬機(jī)是通過NAT進(jìn)程來和宿主機(jī)、其它虛擬機(jī)進(jìn)行通信 。
To setup NAT networking you need to select a network number that is
normally unreachable from the host. We can automatically select this
推薦閱讀
- 小米8的sn碼在哪里 小米8手機(jī)sn碼多少位
- 在手機(jī)上能往u盤上下載歌嗎 手機(jī)能往u盤下載歌嗎
- VMware實(shí)現(xiàn)一臺(tái)電腦中的網(wǎng)絡(luò)
- 牛津和劍橋現(xiàn)在哪個(gè)更好
- 交通銀行怎么改預(yù)留手機(jī)號(hào)
- 受賄多少金額會(huì)被判刑
- 如何發(fā)微信30分鐘長視頻 如何在微信發(fā)長視頻30分鐘
- 微信注銷了還能注冊(cè)嗎 微信注銷還能在注冊(cè)嗎?
- pdf轉(zhuǎn)cad文件為什么大
- 跑步機(jī)跑步減肥真的有效果嗎?
