Page 1 of 1

Bridged Adapter Error

Posted: 16. Dec 2023, 21:19
by DBench712309
I thought I'd start a new thread for this issue as the old one is 8 years old and it doesn't look like it's being worked on https://www.virtualbox.org/ticket/14374 ... um_hist=66.
Seems like it's still a common problem across multiple platforms. I always re-test it after every application update.

Version 7.0.12 r159484 (Qt5.15.2)
Guest Additions information report: Version 7.0.12 r159484 '7.0.12'
Logs attached.

Host: Windows 10 22H2 64-bit
Guest: Debian GNU/Linux 12 64-bit
2 CPU's, 4 GB RAM and 128MB Video assigned.

The guest ceases to have internet after the host resumes from hibernate - others have reported the same for sleep.

The workaround is to run the following batch file triggered by these events:
events.PNG
events.PNG (5.79 KiB) Viewed 10380 times

Code: Select all

@echo off
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" controlvm "Debian 12.1.0" nicpromisc1 allow-all
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" controlvm "Debian 12.1.0" nicpromisc1 deny
The code itself simply enables/disables promiscuous mode which then brings the guest internet back to life.
prom.png
prom.png (4.15 KiB) Viewed 10380 times
debian_logs.7z
(37.96 KiB) Downloaded 86 times

Re: Bridged Adapter Error

Posted: 23. Apr 2024, 20:47
by DBench712309
Seems like I may have resolved my issue by running both of these commands (followed by a reboot).
Seems that having any underlying hyper-v components plays havoc with VBox.

Code: Select all

bcdedit /set hypervisorlaunchtype off
DISM /Online /Disable-Feature:Microsoft-Hyper-V