如何在运行 Vista x64 的虚拟机上启用网络?
我正在运行带有 Hyper-V 的 Server 2008 64 位。 我已经创建了一个 Vista 64 位的虚拟机并安装了它。 我无法让 Vista 虚拟机看到网络适配器。
我已在虚拟网络管理器 (Hyper-V) 上设置了外部网络,并将其与虚拟机 (Vista) 关联。 我也尝试过使用旧版网络适配器,但这也不起作用,尽管当时 Vista 机器看到了网卡,但无法通过它进行连接。
这是(显然)我第一次尝试设置虚拟机。
有任何想法吗?
编辑:我注意到这个问题已被否决了几次。 我知道这不是一个编程问题,但我是一名开发人员,正在设置虚拟机来测试我的 C#/ASP.NET 代码,并认为其他开发人员在执行此操作时也可能会遇到此问题...
I'm running Server 2008 64bit with Hyper-V. I've created a virtual machine with Vista 64bit and installed it. I can't get the Vista virtual machine to see the network adapter.
I've set-up an external network on the Virtual Network Manager (Hyper-V) and associated that with the virtual machine (Vista). I've also tried using a Legacy Network Adapter but that didn't work either although that time the Vista machine saw the network card but couldn't connect through it.
This is (obviously) the first time I've tried to set-up a virtual machine.
Any ideas?
EDIT: I notice that this question has been voted down a couple of times. I know that it's not a programming question but I'm a developer setting up a virtual machine to test my C#/ASP.NET code on and thought that other developers may hit this problem as well when they're doing this...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我不了解 Hyper-V,但我知道在 VMWare 中,您可以在桥接模式(这意味着虚拟机将通过 DHCP 获取其自己的 IP 地址,如果启用了该模式)或仅主机模式(这意味着虚拟机只能与主机通信)。 当 Vista 可以看到该卡时,它是否可以与主机通信(这表明指定了仅主机连接)? 它有什么样的 IP 地址(我猜 Hyper-V 有一个像 VMWare 一样的内置 DHCP 服务器?)——这可能会提供更多线索。
抱歉,我不太了解 Hyper-V...
I don't know Hyper-V, but I know in VMWare you can create a network connection in Bridged mode (meaning the VM will get it's own IP address via DHCP if that's enabled) or host-only mode (meaning the VM can only communicate with the host). When Vista could see the card, could it communicate with the host machine (which would indicate a host-only connection was specified)? What kind of IP address did it have (I would guess Hyper-V has a built-in DHCP server like VMWare does?) -- that might give additional clues.
Sorry I don't know Hyper-V better...
确保来宾 VM 上安装了 Hyper-V 工具。 您不应该需要旧适配器。
您可能还想确保您拥有可能解决您的问题的所有最新更新。 特别是 KB950050
http://support.microsoft.com/kb/950050
Make sure you have the Hyper-V Tools installed on the Guest VM. You shouldn't need the legacy adapter.
You also may want to make sure you have all of the latest updates which may have addressed your issue. Particularly, KB950050
http://support.microsoft.com/kb/950050
事实证明,通过 Hyper-V 作为 VM 运行的 Vista x64 不支持虚拟网络连接/卡,您必须将其设置为旧网卡。 当我最终获得正确的旧网络配置设置并禁用它连接的虚拟网络时。
感谢大家的帮助 - 非常感谢!
It turns out that Vista x64 running as a VM through Hyper-V doesn't support the virtual network connection/card and that you have to set it up as a legacy network card. When I eventually got the config settings correct for the legacy network and disable the virtual network it connected.
Thanks for the help guys - much appreciated!