ノブジィブログ

IT関連の少し役立つ情報・育児について雑多なブログ

【Vagrant】起動に失敗するとき。Stderr: VBoxManage.exe: error: Failed to open/create the internal network 'HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter #2' (VERR_INTNET_FLT_IF_NOT_FOUND).

vagrant up実行したらエラーになったぁぁぁ!

エラーの話

過去の記事で作成したRedmineに久しぶりにアクセスしようと思い、vagrant upコマンドを叩いたところ。
こんなエラーが出てきました!

f:id:nobuzii:20210422214558p:plain

さて、何事かとエラーメッセージを見てみると、

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

VirtualBox用のEthernet Adapterが見つからん」と出てますね。
そんなところ設定変更するわけないんですけど。。。

解決方法

参考にしたQuiitaの記事をもとに、ネットワークの設定を変更
f:id:nobuzii:20210422214841p:plain
IpV6のチェックを外す
f:id:nobuzii:20210422215424p:plain
一度無効にする f:id:nobuzii:20210422215512p:plain
もう一度有効にする
そして再度vagrant up
f:id:nobuzii:20210422215623p:plain
すると無事に起動しました
f:id:nobuzii:20210422215815p:plain