Recurring intermittent loss of network

Discussions related to using VirtualBox on Windows hosts.
Post Reply
gfreeman
Posts: 3
Joined: 12. Nov 2015, 22:44

Recurring intermittent loss of network

Post by gfreeman »

Periodically my Linux guest loses network connectivity. Sometimes it can go a couple of weeks without an issue, other times just a few days. I've found no pattern to it nor external cause.

Details:
VirtualBox v5.2.6 r120293
Host: Windows 10 (laptop, wired Ethernet)
Physical NIC: Intel I219-LM
Network Mode: Bridged Adapter
Guest: Xubuntu 16.04.4 LTS

I've been struggling with this issue for some time, back several versions of VB, one major release of Guest OS, and even back one hardware refresh. I've checked everything on the Linux side, and conclude the issue must be with VirtualBox.

Rebooting the guest restores network connectivity, of course, but I eventually found a tip that gets me back on the network without rebooting: switch the network mode from Bridged to NAT, and then back to Bridged.

There is nothing telling in the logs on the guest. The network just stops working. It's not a DHCP renewal issue, as far as I can tell. Here's the latest example:

Code: Select all

syslog:
Mar  9 15:49:26 pc-x dhclient[536]: DHCPREQUEST of 10.0.0.147 on eth0 to 10.0.0.1 port 67 (xid=0x407a10a1)
Mar  9 15:49:26 pc-x dhclient[536]: DHCPACK of 10.0.0.147 from 10.0.0.1
Mar  9 15:49:26 pc-x root: /etc/dhcp/dhclient-enter-hooks.d/avahi-autoipd returned non-zero exit status 1
Mar  9 15:49:26 pc-x root: /etc/dhcp/dhclient-enter-hooks.d/samba returned non-zero exit status 1
Mar  9 15:49:26 pc-x dhclient[536]: bound to 10.0.0.147 -- renewal in 259831 seconds.
...
Mar 10 04:54:44 pc-x whoopsie[1067]: [04:54:44] Cannot reach: https://daisy.ubuntu.com
Mar 10 04:55:24 pc-x whoopsie[1067]: [04:55:24] Cannot reach: https://daisy.ubuntu.com
Mar 10 04:56:36 pc-x whoopsie[1067]: [04:56:36] Cannot reach: https://daisy.ubuntu.com
Mar 10 04:57:16 pc-x whoopsie[1067]: [04:57:16] Cannot reach: https://daisy.ubuntu.com
There are no other log entries during above time frame; nothing in kern.log. As you can see, the DHCP was successfully renewed for 72 hours just a while before the network was lost.

Appreciate any ideas, insight into the cause, or even better a solution. Thanks!
arQon
Posts: 228
Joined: 1. Jan 2017, 09:16
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Ubuntu 16.04 x64, W7

Re: Recurring intermittent loss of network

Post by arQon »

Post Reply