Friday, January 27, 2017

VirtualBox: VERR_INTNET_FLT_IF_NOT_FOUND

Environment:
VirtualBox 5.1.14-112924
Vagrant 1.9.1
Guest OS: Ubuntu 14.04
Host OS  : Windows 7

Today, when I tried to boot up Ubuntu VM via vagrant command line, I faced below mentioned error.

Error:
==> workstation: Booting VM...
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["startvm", "42d481dc-5dc9-4edd-ab81-0575e8c935ff", "--type", "headless"]

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


Fix:
You need to try out two options

Option 1:
Go to Control Panel --> Network and Sharing Center --> Manage Adapter Settings --> Right click on 'VirtualBox Host-Only Network' and click Properties.

Make sure that item “VirtualBox NDIS6 Bridged Networking Drive” is checked. 

Option 2: 
The NDIS6 driver is default for Windows Vista and later. Reinstall VirtualBox with NDIS5 host network filters drivers during the installation. 

VirtualBox-5.1.14-112924-Win.exe -msiparams NETWORKTYPE=NDIS5