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

相關內容