Hyper-V中Network Adapter和Legacy Network Adapter的区别

在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".

 

或许你想确保正确的启动顺序. 简单地这样做:

  1. 在Hyper-V中创建虚拟机, 选择从网络安装操作系统("install the operating system from the network"). 不要启动机器.
  2. 编辑机器, 这样你就有了2个或4个CPU.(这仅在某些Win2k8 64位上可行)
  3. 修改启动顺序, 以便于符合你的需求.
  4. 启动机器, 运行安装, 结束安装, 再安装"Integrated Components"
  5. 关掉虚拟机, 编辑虚拟机配置, 移除"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”

http://itbloggen.se/cs/blogs/micke/archive/2008/01/22/hyper-v-the-differences-between-a-the-network-adapter-and-the-legacy-network-adapter.aspx

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章