Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
OrganizationAdvent CalendarQiitadon (β)
Qiita JobsQiita ZineQiita Blog
Help us understand the problem. What is going on with this article?

VirtualBoxをアップデートしたらHost-Only Ethernet AdapterのエラーでVagrantが起動しない

More than 3 years have passed since last update.



$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
    default: Adapter 2: hostonly
==> default: Forwarding ports...
    default: 80 => 8080 (adapter 1)
    default: 22 => 2222 (adapter 1)
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["modifyvm", "a469359e-1c52-4348-9a5b-d95df0f5e50d", "--natpf1", "tcp8080,tcp,,8080,,80", "--natpf1", "tcp33306,tcp,,33306,,3306", "--natpf1", "ssh,tcp,,2222,,22"]

Stderr: VBoxManage.exe: error: A NAT rule of this name already exists
VBoxManage.exe: error: Details: code E_INVALIDARG (0x80070057), component NATEngineWrap, interface INATEngine, callee IUnknown
VBoxManage.exe: error: Context: "AddRedirect(Bstr(strName).raw(), proto, Bstr(strHostIp).raw(), RTStrToUInt16(strHostPort), Bstr(strGuestIp).raw(), RTStrToUInt16(strGuestPort))" at line 1758 of file VBoxManageModifyVM.cpp
exit status 1


Failed to open/create the internal network 'HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter'

なにやらHost-Only Ethernet Adapterでエラーが出ている模様、


ネットワークと共有センター → アダプタ設定の変更 → VirtulBoxで使っているアダプタのプロパティを出す

VirtualBox Host-Only Network

VirtualBox NDIS6 Bridged Network Driver のチェックがないのでこれを入れるとエラーが出なくりました。

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away