When I bridge Hyper-V Virtual Ethernet Adaptor start a virtual machine,It crash with null point exception. Can someone help me with the question.
Pictures show the question.
Virtualbox on windows11 and Hyper-v
Virtualbox on windows11 and Hyper-v
- Attachments
-
- 微信图片_20220114095556.png (23.71 KiB) Viewed 1862 times
-
- 微信图片_20220114095547.png (36.32 KiB) Viewed 1862 times
-
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Mostly XP
Re: Virtualbox on windows11 and Hyper-v
The Hyper-v Ethernet adapter is designed to be used by Hyper-v, not by VirtualBox.
The purpose of VirtualBox's bridging feature is to connect the virtual NIC inside a VM to a physical NIC on the host. Those are the realms being bridged. As far as I'm aware, connections to third party virtual NICs are not supported - and make no sense (VirtualBox has its own virtual NICs if that's what you want).
The purpose of VirtualBox's bridging feature is to connect the virtual NIC inside a VM to a physical NIC on the host. Those are the realms being bridged. As far as I'm aware, connections to third party virtual NICs are not supported - and make no sense (VirtualBox has its own virtual NICs if that's what you want).
-
- Volunteer
- Posts: 5104
- Joined: 19. Sep 2009, 04:44
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows 10,7 and earlier
- Location: Sydney, Australia
Re: Virtualbox on windows11 and Hyper-v
This is a bit of a puzzle. How does the OP see a Hyper-V Ethernet adapter to bridge to? Is he perhaps running VirtualBox inside a Hyper-V vm? Or does he simply have Hyper-V installed on the host so that the host has a Hyper-V Ethernet adapter?
I have not run Hyper-V for a while so I am not sure whether a VirtualBox host with Hyper-V installed would offer a Hyper-V adapter as a choice for bridging. I guess it could.
I have not run Hyper-V for a while so I am not sure whether a VirtualBox host with Hyper-V installed would offer a Hyper-V adapter as a choice for bridging. I guess it could.
Bill
-
- Volunteer
- Posts: 5104
- Joined: 19. Sep 2009, 04:44
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows 10,7 and earlier
- Location: Sydney, Australia
Re: Virtualbox on windows11 and Hyper-v
Answering my own question - yes it does.
I enabled Hyper- V on my test machine. VirtualBox does indeed offer the Hyper-V adapter as an option to bridge to.
I enabled Hyper- V on my test machine. VirtualBox does indeed offer the Hyper-V adapter as an option to bridge to.
Bill
-
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Mostly XP
Re: Virtualbox on windows11 and Hyper-v
If Windows offers that NIC to all apps that ask, and I don't see how else it could work, then yes - it would have to appear in VirtualBox. VirtualBox must have code to suppress its own host-only adapter.