在Hyper-V的虛擬網絡中, 有兩種類型的網絡適配器(network adapter), 第一種是""Network Adapter", 另一種是"Legacy Network Adapter".
這兩者之間的區別非常簡單.
- 在你需要PXE啓動, 或者在安裝integrate components之前你的虛擬機OS需要訪問網絡, 你就需要Legacy Network Adapter.
- 在你安裝了integrate components(是的, 這個組件裏包含了Network Adapter正常工作所需要的虛假驅動)之後, 你需要Network Adapter.
所以, 如果你想要百分百地確保在安裝階段虛擬機能訪問網絡, 你就應該使用"Legacy Network Adapter"
============華麗的分割線==============
OS安裝好以後, 你應該添加integrated components. 使用Hyper-V工具來插入Integrated Components ISO鏡像, 然後安裝Integrated Components, 然後重啓. 最簡單的方法是在整個安裝階段都使用Legacy Network Adapter, 然後添加Integrated Components, 關機, 編輯虛擬機配置, 移除掉Legacy Network Adapter並替換爲一個"Network Adapter".
或許你想確保正確的啓動順序. 簡單地這樣做:
- 在Hyper-V中創建虛擬機, 選擇從網絡安裝操作系統("install the operating system from the network"). 不要啓動機器.
- 編輯機器, 這樣你就有了2個或4個CPU.(這僅在某些Win2k8 64位上可行)
- 修改啓動順序, 以便於符合你的需求.
- 啓動機器, 運行安裝, 結束安裝, 再安裝"Integrated Components"
- 關掉虛擬機, 編輯虛擬機配置, 移除"Legacy Network Adapter", 然後添加一個"Network Adapter".
你也許會問一個問題"爲什麼要替換?", 答案很簡單. Legacy Network Adaapter有點慢, 因爲他運行在parent partition的ring 3的工作進程下, 而"Network Adapter"使用新的高速vmbus.
注意: "The new server solutions"並不被Hyper-V支持. 未來可能會支持.
注意2: 記住一點, 如果你選擇從網絡安裝(創建虛擬機時), Hyper-V會選擇Legacy Network Adapter, 其他情況下, 會選擇Network Adapter
譯自:
Hyper-V : The Differences between a the “Network adapter “and the “Legacy Network adapter”