0
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

vagrant up時にStderr: VBoxManage.EXE: error: Failed to open/create the internal network 'HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter #〇'が出た時の解決法

Posted at

背景

vagrant upをしたら以下のエラーが起きた

Stderr: VBoxManage.EXE: error: Failed to open/create the internal network 'HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter #2' (VERR_INTNET_FLT_IF_NOT_FOUND).
VBoxManage.EXE: error: Failed to attach the network LUN (VERR_INTNET_FLT_IF_NOT_FOUND)
VBoxManage.EXE: error: Details: code E_FAIL (0x80004005), component ConsoleWrap, interface IConsole

調べてみると、windowsでアダプターの設定の変更が必要らしい。

解決方法(アダプターの設定変更)

ネットワークと共有センターを開く

001キャプチャ.PNG

アダプターの設定の変更をクリック。
ネットワーク接続設定ページに飛びます。

エラーログに記載の番号のものを選択。

今回はログには

Stderr: VBoxManage.EXE: error: Failed to open/create the internal network 'HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter #2' (VERR_INTNET_FLT_IF_NOT_FOUND).

とあったので、#2を選択し右クリックでプロパティを開いてください。

002キャプチャ.PNG

プロパティの設定変更

  • VirtualBox NDIS6 Bridged Networking Driver にチェックを入れる(私の場合はすでに外れてました)
  • インターネットプロトコル バージョン6(TCP/IPv6) のチェックを外す

この2つでOKです。

003キャプチャ.PNG

設定の反映

#2のネットワーク設定を右クリックで「無効」にしてください。
その後、再度「有効」にしてください。

004キャプチャ.PNG

これでvagrant upが正常に進むはずです!

0
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?