在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