VirtualBox

Opened 11 years ago

Closed 6 years ago

#11371 closed defect (obsolete)

Host-only networking not working on Windows 8 host

Reported by: vnicolici Owned by:
Component: network/hostif Version: VirtualBox 4.2.6
Keywords: host-only newtorking Cc:
Guest type: Linux Host type: Windows

Description

Windows 8 64 bit host, VMs refuse to start after I add a network adapter mapped to a host-only network.

Bridged and NAT work fine.

Relevant section from the log:

00:00:03.203210 IntNet#0: szNetwork={HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter} enmTrunkType=4 szTrunk={\DEVICE\{6C789649-F840-44A4-945E-D378B238FCFB}} fFlags=0x8000 cbRecv=325632 cbSend=196608 fIgnoreConnectFailure=false
00:00:03.203266 VMSetError: D:\tinderbox\win-4.2\src\VBox\Devices\Network\DrvIntNet.cpp(1718) int __cdecl drvR3IntNetConstruct(struct PDMDRVINS *,struct CFGMNODE *,unsigned int); rc=VERR_INTNET_FLT_IF_NOT_FOUND
00:00:03.203282 VMSetError: Failed to open/create the internal network 'HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter'
00:00:03.203336 VMSetError: D:\tinderbox\win-4.2\src\VBox\Devices\Network\DevE1000.cpp(7680) int __cdecl e1kConstruct(struct PDMDEVINS *,int,struct CFGMNODE *); rc=VERR_INTNET_FLT_IF_NOT_FOUND
00:00:03.203340 VMSetError: Failed to attach the network LUN
00:00:03.203351 PDM: Failed to construct 'e1000'/1! VERR_INTNET_FLT_IF_NOT_FOUND (-3600) - The networking interface to filter was not found.
00:00:03.206982 AIOMgr: Preparing flush failed with VERR_NOT_SUPPORTED, disabling async flushes
00:00:03.249384 NAT: zone(nm:mbuf_cluster, used:0)
00:00:03.250144 NAT: zone(nm:mbuf_packet, used:0)
00:00:03.250155 NAT: zone(nm:mbuf, used:0)
00:00:03.250303 NAT: zone(nm:mbuf_jumbo_pagesize, used:0)
00:00:03.250960 NAT: zone(nm:mbuf_jumbo_9k, used:0)
00:00:03.251297 NAT: zone(nm:mbuf_jumbo_16k, used:0)
00:00:03.251480 NAT: zone(nm:mbuf_ext_refcnt, used:0)
00:00:03.380627 ERROR [COM]: aRC=E_FAIL (0x80004005) aIID={db7ab4ca-2a3f-4183-9243-c1208da92392} aComponent={Console} aText={Failed to open/create the internal network 'HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter' (VERR_INTNET_FLT_IF_NOT_FOUND).
00:00:03.380668 Failed to attach the network LUN (VERR_INTNET_FLT_IF_NOT_FOUND)}, preserve=false
00:00:03.473543 Power up failed (vrc=VERR_INTNET_FLT_IF_NOT_FOUND, rc=E_FAIL (0X80004005))

and the relevant section from ipconfig showing that the host-only network adapter on the host exists:

Ethernet adapter VirtualBox Host-Only Network:

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::59fb:fbe:619f:1ed8%60
   IPv4 Address. . . . . . . . . . . : 192.168.1.200
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . :

Other issues:

  • the configuration dialog for host-only networking shows two host-only network adapters instead of one after you reopen the dialog. Deleting one of them deletes both (if you try to delete both it complains that the second one doesn't exist after you delete the first one).
  • I can only set the correct IP address for the adapter from the Windows network configuration UI, changing the IP from the VirtualBox UI assigns a different IP from the one selected (for example 169.254.0.55 instead of the 192.168.1.200 I specified).
  • random errors that it cannot rename the network adapter when managing the host-only network.

Attached the VM log and some screenshots.

Attachments (2)

VBox.log (30.8 KB ) - added by vnicolici 11 years ago.
VM log
5.png (29.8 KB ) - added by vnicolici 11 years ago.
Screenshot, duplicate items in the VirtualBox management UI

Download all attachments as: .zip

Change History (10)

by vnicolici, 11 years ago

Attachment: VBox.log added

VM log

by vnicolici, 11 years ago

Attachment: 5.png added

Screenshot, duplicate items in the VirtualBox management UI

comment:1 by ESDFTW, 11 years ago

This is confirmed still an issue for Windows 8 64-bit Host with Linux guests on VirtualBox version 4.2.10r84104.

I need a closed, controlled environment to run a three host lab; host-only networking seems to be the only way to do this. This issue is several months old now, if I can help in any way please let me know.

comment:2 by grzesiub, 11 years ago

I confirm this is still unresolved issue in VirtualBox version 4.2.16

comment:3 by Tarnschaf, 9 years ago

I experience the same issue using VirtualBox version 4.3.16 on Windows 8.1 64-bit. Strange enough, creating a second host only interface manually seems to work better - at least VMs can start with it assigned.

comment:4 by MartinS, 9 years ago

I found a solution: Win 8.1 x64 VirtualBox 4.3.18

Go to Device Manager --> Network adapters --> Uninstall network adapter (on which setting Bridged adapter is not working) --> Click on Scan for harware changes --> Restart PC --> after restart go to Device Manager --> Network adapters --> uninstalled network adapter will be marked with "!", again uninstall this network adapter --> Click on Scan for harware changes - now network adapter will be installed and restart will not be required. It is all, test Bridged adapter in VirtualBox ...

comment:5 by Jim Klimov, 8 years ago

Got a similar problem with VirtualBox 5.0.16 on Windows 7: updated from 4.3.28 today and existing vboxes stopped booting and reported this error. Checking or un-checking the Brided option did not help.

In the end, found that the installer has an option to install NDIS5 rather than the (new?) default NDIS6, and that a repair-reinstall did not work for me. But removing VBox and then installing "from scratch" with the option did work; existing VM definitions did not get lost ;)

@REM https://caffinc.github.io/2015/11/fix-vbox-network/
VirtualBox-5.0.16-105871-Win.exe  -msiparams NETWORKTYPE=NDIS5

in reply to:  5 ; comment:6 by tazmon95, 8 years ago

This fix saved me on a Vagrant install. Thanks.

Replying to jimklimov:

Got a similar problem with VirtualBox 5.0.16 on Windows 7: updated from 4.3.28 today and existing vboxes stopped booting and reported this error. Checking or un-checking the Brided option did not help.

In the end, found that the installer has an option to install NDIS5 rather than the (new?) default NDIS6, and that a repair-reinstall did not work for me. But removing VBox and then installing "from scratch" with the option did work; existing VM definitions did not get lost ;)

@REM https://caffinc.github.io/2015/11/fix-vbox-network/
VirtualBox-5.0.16-105871-Win.exe  -msiparams NETWORKTYPE=NDIS5

in reply to:  6 comment:7 by wesruv, 8 years ago

This also saved my bacon, Virtualbox Version 5.0.18 r106667

For the less tech savvy, here's some clearer instructions (for Windows 7+):

  1. Uninstall Virtualbox
  2. Download installer (if you haven't already)
  3. Open up folder where file is (e.g. Downloads), hold down the SHIFT key and right click in some empty space in the folder window (not on top of any file)
  4. Click "Open command window here"
  5. Type in "VirtualBox" and press tab, it should auto-complete the file name. Make sure it auto-completes the version of the installer you want. If it's not the version you want, continue pressing tab until the correct file name comes up.
  6. Copy this text:
    -msiparams NETWORKTYPE=NDIS5
    
  7. In your command prompt window, hit the icon in the top right, in the dropdown hit Edit > Paste, you should have something like this:
    VirtualBox-#.#.##-######-Win.exe  -msiparams NETWORKTYPE=NDIS5
    
  8. Press Enter, it should launch the install process, continue as usual.

Replying to tazmon95:

This fix saved me on a Vagrant install. Thanks.

Replying to jimklimov:

Got a similar problem with VirtualBox 5.0.16 on Windows 7: updated from 4.3.28 today and existing vboxes stopped booting and reported this error. Checking or un-checking the Brided option did not help.

In the end, found that the installer has an option to install NDIS5 rather than the (new?) default NDIS6, and that a repair-reinstall did not work for me. But removing VBox and then installing "from scratch" with the option did work; existing VM definitions did not get lost ;)

@REM https://caffinc.github.io/2015/11/fix-vbox-network/
VirtualBox-5.0.16-105871-Win.exe  -msiparams NETWORKTYPE=NDIS5
Last edited 8 years ago by wesruv (previous) (diff)

comment:8 by Aleksey Ilyushin, 6 years ago

Resolution: obsolete
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use