Virtualbox issue - frequent Network disconnects

Discussions related to using VirtualBox on Windows hosts.
Bibin
Posts: 10
Joined: 8. May 2018, 10:04

Virtualbox issue - frequent Network disconnects

Post by Bibin »

Hello Team,
I am using VBox ver 5.2.10 now on my Windows 10 laptop, earlier it was 5.2.8. I am facing the issue with both these versions. I have installed 2 virtual guests Windows 7 and Ubntu and I realized that my network connection is getting disconnected in every 5 minutes and it lasts for 20-30 seconds. After this, it will reconnect automatically. I have tried using NAT and Bridged as well and the same result. Due to this, my VPN is getting reconnecting and unable to do any work properly. But if I connect my laptop to any wired (LAN connection), then the Virtual Box is working fine. But Only when I connect from home networks like WIFI or other data card providers, I am facing this issue. I have tried to install the extension pack too but that too did not help. Could some one please check and update?

My VBox version:-
VirtualBox Graphical User Interface
Version 5.2.10 r122406 (Qt5.6.2)

Thanks,
Bibin
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Virtualbox issue - frequent Network disconnects

Post by socratis »

  1. The ExtPack has nothing to do with networking.
  2. If it works with Bridged-over-wired, but not with Bridged-over-WiFi, that can be expected. It's got nothing to do with VirtualBox, only to do with the combination of your WiFi card, its drivers and the router. It's not supposed to work according to the specification, so you're lucky if it does.

    But NAT? Are you sure about that? Can you double-check?
  3. You mentioned that it happens with 5.2.8 and 5.2.10. What if you downgrade to a lower version? Does it work? What version?
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Bibin
Posts: 10
Joined: 8. May 2018, 10:04

Re: Virtualbox issue - frequent Network disconnects

Post by Bibin »

I will try with older version. Till 2 months back I was using OLDER version and everything was good. Since after re-installing laptop, I am facing this issue as I installed the new version on VirtualBIx,

NAT also I tried many times.. and facing the same issue.. And there is no issues with Wifi or router settings as other network/internet services and browing working well without any diconnects. This issue is only with the VMs inside Virtualbox. Is there any known bug ?

thanks!!
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Virtualbox issue - frequent Network disconnects

Post by socratis »

I'm afraid you didn't read it well. Bridging-over-WiFi is supposed to fail, it's a bonus if it works. That doesn't affect your laptop, it affects Bridged-over-WiFi, i.e. your VMs. It's not a bug, it's the way things are.

We're going to need a complete VBox.log, from a complete VM run, while you're using NAT:
  • Gathering the necessary information:
    1. Start the VM from cold-boot (not from a paused or saved state).
    2. Observe the error, i.e. what you seem to think as connecting/disconnecting. If you can measure the time since you started the VM, that would help. For example, "I saw a disconnect at 3:45 after I started the VM".
    3. Shutdown the VM (force close it if you have to).
  • With the VM completely shut down (not paused or saved), right-click on the VM in the VirtualBox Manager and select "Show Log".
  • Save only the first "VBox.log", ZIP it and attach it to your response. See the "Upload attachment" tab below the reply form.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Bibin
Posts: 10
Joined: 8. May 2018, 10:04

Re: Virtualbox issue - frequent Network disconnects

Post by Bibin »

Hello,

I have downgraded the version to 5.1.26 and still facing the issue. Attaching the log file of my ubuntu guest for your reference. Please check and advise.

Thanks,
Bibin
Attachments
Ubuntu-2018-05-08-logs.zip
(26.64 KiB) Downloaded 107 times
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Virtualbox issue - frequent Network disconnects

Post by socratis »

VirtualBox VM 5.1.26 r117224 win.amd64 (Jul 27 2017 12:32:13) release log
00:00:02.916315 Oracle VM VirtualBox Extension Pack (Version: 5.2.10 r122406; VRDE Module:
                VBoxVRDP unusable because of 'VBoxExtPackRegister returned VERR_VERSION_MISMATCH,
                pReg=0000000000000000 ErrInfo='VirtualBox version mismatch - expected 5.2 got 5.1'')
When you upgrade/downgrade VirtualBox, always do the same for the ExtPack. Always!

On to your problem, the only time I saw a change of address, was during the first minute after booting, and at 1 hr 3 min, when you paused and resumed the VM. Nothing else going on. Maybe you should look at the specifics of your software? And I don't particularly like the VPN factor meddling in there...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Bibin
Posts: 10
Joined: 8. May 2018, 10:04

Re: Virtualbox issue - frequent Network disconnects

Post by Bibin »

Hello,

I have downgraded extension packs too. Still the same issue exists.. NAT network link is going down and UP. I am attaching the logs from my Windows VM, which I experienced the same issue many times in last 24 hours. attaching the logs for your reference. Please check and advise if any fix is there.. thanks,
Attachments
Win_7_logs-2018-05-10-23-01-04.zip
(24.13 KiB) Downloaded 20 times
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Virtualbox issue - frequent Network disconnects

Post by socratis »

I see the NAT getting offered an address. All the time.

Code: Select all

00:03:27.647732 NAT: DHCP offered IP address 10.0.2.15
00:03:52.489234 NAT: DHCP offered IP address 10.0.2.15
00:11:01.179815 NAT: DHCP offered IP address 10.0.2.15
00:11:04.461437 NAT: DHCP offered IP address 10.0.2.15
00:12:04.619467 NAT: DHCP offered IP address 10.0.2.15
00:13:05.872453 NAT: DHCP offered IP address 10.0.2.15
00:16:07.155217 NAT: DHCP offered IP address 10.0.2.15
00:19:13.157411 NAT: DHCP offered IP address 10.0.2.15
00:23:41.985805 NAT: DHCP offered IP address 10.0.2.15
00:25:24.294117 NAT: DHCP offered IP address 10.0.2.15
00:29:34.777765 NAT: DHCP offered IP address 10.0.2.15
00:30:50.807655 NAT: DHCP offered IP address 10.0.2.15
00:33:40.388778 NAT: DHCP offered IP address 10.0.2.15
00:38:40.018293 NAT: DHCP offered IP address 10.0.2.15
00:44:05.676533 NAT: DHCP offered IP address 10.0.2.15
00:48:09.893575 NAT: DHCP offered IP address 10.0.2.15
00:49:25.043878 NAT: DHCP offered IP address 10.0.2.15
00:52:14.493042 NAT: DHCP offered IP address 10.0.2.15
00:53:29.820692 NAT: DHCP offered IP address 10.0.2.15
00:56:28.982323 NAT: DHCP offered IP address 10.0.2.15
The thing is I don't know why. There's nothing else in the logs, there's no one else reporting this with "The" most commonly used network option, so my logical conclusion is that something's wrong with your guest. I don't know what could possibly be wrong there, only you could. Maybe it's your VPN thingy interfering...

As a test, download one of the pre-made VMs by Microsoft: Internet Explorer compatibility VMs, try the Win7 one. See if you can replicate it.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Bibin
Posts: 10
Joined: 8. May 2018, 10:04

Re: Virtualbox issue - frequent Network disconnects

Post by Bibin »

HI,

Before connecting to VPN itself I am facing Link down issue.. and not only with this Windows 7 VM, same issue for my Ubuntu VM too.. So it is not an issue with the guest.

It is definitely an issue with Oracle Virtualbox. When I connect to office LAN network and use VM, there is no issues. But only when I use my personal Data card or any WIFI, I am facing this issue. Though, the speed is good and no interrupts on any other internet services.

Please help if someone got any clue!!! else will have to go back to Vmware, which I dont like.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Virtualbox issue - frequent Network disconnects

Post by socratis »

Bibin wrote:When I connect to office LAN network and use VM, there is no issues. But only when I use my personal Data card or any WIFI, I am facing this issue.
Bibin wrote:It is definitely an issue with Oracle Virtualbox.
I'm sorry, but what you're saying doesn't compute... When you connect to A, no problem. When you connect to B, problem. And you think it's a VirtualBox issue, not the differences between A and B? How is that logical?

I don't know what your "personal Data card" is, but WiFi has issues. None with NAT however, that's why it's so troubling with your case. NAT depends on the host network, so something's going on with the host network. And, as I said, I don't know what you've done in terms of your guest setup or not.

An easy way to test this would be to download a pre-made Win7 VM from Microsoft: Internet Explorer compatibility VMs. Change the configuration to NAT (if not already set to that) and try it out. See if you get constant disconnects or not.

And I would look at your host's Event Viewer at the same time the "disconnects" are taking place. See if anything weird is happening on your host, like a forced renewal of its IP address, because of a short, timed-out, DHCP lease for example...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Bibin
Posts: 10
Joined: 8. May 2018, 10:04

Re: Virtualbox issue - frequent Network disconnects

Post by Bibin »

Hello,

I have downloaded IE image and configured and captured the logs. Can you please check and advise? I am still facing the issue.

Thanks,
Bibin
Attachments
IE10 - Win7-2018-07-05-01-15-23.log
(103.47 KiB) Downloaded 20 times
Bibin
Posts: 10
Joined: 8. May 2018, 10:04

Re: Virtualbox issue - frequent Network disconnects

Post by Bibin »

if it is forced by DHCP, I mean to release and renew the IP, Is there any way to edit and stop this behavior?
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Virtualbox issue - frequent Network disconnects

Post by socratis »

Bibin wrote:I have downloaded IE image and configured
What does the "and configured" mean? If you did anything more than switching the network mode to NAT, we should know.

For reference, here are the times/renewals of your IP:

Code: Select all

00:02:40.210653 NAT: DHCP offered IP address 10.0.2.15
00:02:45.261004 NAT: DHCP offered IP address 10.0.2.15
00:02:45.261422 NAT: DHCP offered IP address 10.0.2.15
00:02:48.801341 NAT: DHCP offered IP address 10.0.2.15
00:03:51.792798 NAT: DHCP offered IP address 10.0.2.15
00:05:42.530412 NAT: DHCP offered IP address 10.0.2.15
00:09:03.952476 NAT: DHCP offered IP address 10.0.2.15
00:10:33.993338 NAT: DHCP offered IP address 10.0.2.15
Not as frequent as the previous logs, but still too many.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Bibin
Posts: 10
Joined: 8. May 2018, 10:04

Re: Virtualbox issue - frequent Network disconnects

Post by Bibin »

Thanks, Yes configured means I added to Virtual box and set as NAT. Is there any way to disable this DHCP ip renew? Why this is happening ? Is there anything else left to trouble shoot?
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Virtualbox issue - frequent Network disconnects

Post by socratis »

Not that I know of. You seem to be the only one having this issue. Let's see if someone else has any ideas, I'm out of them...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Locked