Host-only Network Adapter conflict with WSL2

Discussions related to using VirtualBox on Windows hosts.

Host-only Network Adapter conflict with WSL2

Postby gbuday » 4. Mar 2021, 14:54

I installed VirtualBox Version 6.1.18 r142142 (Qt5.6.2) onto my Windows 10 box. It worked seamlessly.

Then I installed WSL2 and some guest Linuxes onto it. For that, I installed the October 2020 latest version of Windows 10.

Now, when I try to run a VirtualBox VM, I get

Failed to open/create the internal network
'HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter'
(VERR_INTNET_FLT_IF_NOT_FOUND).
Failed to attach the network LUN (VERR_INTNET_FLT_IF_NOT_FOUND).

Result Code:
E_FAIL (0x80004005)
Component:
ConsoleWrap
Interface:
IConsole {872da645-4a9b-1727-bee2-5585105b9eed}

I re-installed VirtualBox and also the Host-only Network Adapter to no avail.

What should I do?
gbuday
 
Posts: 2
Joined: 4. Mar 2021, 14:52

Re: Host-only Network Adapter conflict with WSL2

Postby scottgus1 » 4. Mar 2021, 23:14

I think you can go to the network adapters in the Windows host OS and disable/enable the Host Only adapter shown there.

FWIW WSL2 enables Hyper-V, which can cause trouble for Virtualbox, see HMR3Init: Attempting fall back to NEM (Hyper-V is active).
scottgus1
Site Moderator
 
Posts: 11351
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Host-only Network Adapter conflict with WSL2

Postby gbuday » 8. Mar 2021, 09:47

But can I run WSL2 without the Hypervisor?

In other words: am I not able to run VirtualBox and WSL2 simultaneously?
gbuday
 
Posts: 2
Joined: 4. Mar 2021, 14:52

Re: Host-only Network Adapter conflict with WSL2

Postby BillG » 8. Mar 2021, 11:15

At the moment, no. The devs are working on a way to achieve this, but it is far from perfect!
Bill
BillG
Volunteer
 
Posts: 4724
Joined: 19. Sep 2009, 04:44
Location: Sydney, Australia
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows 7,8,Server


Return to VirtualBox on Windows Hosts

Who is online

Users browsing this forum: Google [Bot] and 25 guests