Windows 10 个虚拟机中没有 NIC

No NIC in Windows 10 VM

我正在尝试在我的 CentOS 主机上创建无头 Windows 10 VM。

当我登录 VM 时,我没有看到 ncpa.cpl 中列出的任何网络适配器。我确实在设备管理器中看到一个 "Other" 以太网控制器。我做了以下事情:

  1. 运行 主机上的 ifconfig -> 记下带有 IP 的网卡名称(在本例中为 enp3s0)
  2. 运行 VBoxManage modifyvm "vm1" --nic1 bridged --bridgeadapter1 enp3s0
  3. 已启动 VM -> 仍然没有 NIC

如果我查看 VM 属性,我会看到:

NIC 1: MAC: 0800278C0EB6, Attachment: Bridged Interface 'enp3s0', Cable connected: on, Trace: off (file: none), Type: Am79C973, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none

我是运行5.2.6r120293.

对我遗漏的东西有什么想法吗?谢谢

我需要在命令中添加“--bridgeadapter1 enp3s0”。现在可以使用了。