VMware 无法启动网络接口(vagrant)

VMware 无法启动网络接口(vagrant)

在某些路由器上,vagrant up会出现以下错误(或类似错误,vmnet* 号码可能会发生变化):

Vagrant failed to start the VMware network interfaces! The output
of the failed command, if any, is below. The usual cause for this
is invalid configuration of the VMware network components. If
the problem persists, please contact support.

Subnet on vmnet2 is no longer available for usage, please run the network editor to reconfigure different subnet
Failed to start some/all services

这目前发生在我家的路由器上,我有管理员访问权限 - 我可以做些什么来让它正常工作?

这是我的 Vagrantfile,一些敏感数据已被删除。

VAGRANTFILE_API_VERSION = "2"

Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
  config.vm.hostname = 'dev-vm'
  config.vm.box = 'dev-vm'
  config.vm.box_url = 'redacted'
  config.ssh.forward_agent = true
  config.vm.network :private_network, ip: "192.168.33.10"
  # VMware Workstation on Windows and Linux
  config.vm.provider :vmware_workstation do |v|
    v.gui = true
    v.vmx['memsize'] = 1024 * 10
    v.vmx['numvcpus'] = 4
  end

相关内容