Losing network connection

Discussions related to using VirtualBox on Mac OS X hosts.
wolfgangihloff
Posts: 1
Joined: 21. Jan 2011, 17:36
Primary OS: Mac OS X other
VBox Version: OSE self-compiled
Guest OSses: MS

Re: Losing network connection

Post by wolfgangihloff »

On CentOS 2.6.18-164.15.1.el5 5.4 with VirtualBox 3.1.6 r59338 I experience the same.
An oddity I ran into is, that I have 3 Windows 32bit XP Prof. Guests, only one of them experiences the bug as described as in #6559, the other two behave as expected.
Changing the acting up VM to static IP configuration did not resolve the issue.

Hope to hear an update on this. Let me know if something specific from my logs would be helpful.
triggerhurt
Posts: 1
Joined: 9. Feb 2011, 19:53
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Backtrack

Re: Losing network connection

Post by triggerhurt »

got this problem too. Not using dhcp does *not* solve the problem. Even constant ping into the interwebz does not help sometimes...

My data

Host:
2.6.32-5-amd64
debian testing
virtualbox ose 4.0.2-dfsg-1
guest additions 4.0.2-1
(both via standard debian repositories)

Guest:
backtrack-linux 4r2 (ubuntu based)
mfouwaaz
Posts: 8
Joined: 11. Nov 2011, 16:48
Primary OS: MS Windows Vista
VBox Version: OSE other
Guest OSses: Ubuntu

Re: Losing network connection

Post by mfouwaaz »

I have this same problem too. It is very unpredictable. The guest will be running without a problem for several days, even weeks and then all of a sudden I lose connection to it and from it. Have to restart the guest to fix.

Host: Vista Home Premium SP1
Guest: Ubuntu 10.04.4 LTS
Network setting: Bridged

ifconfig:
eth2 Link encap: Ethernet HWaddr 08:00:27:5e:d1:2d
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:45246 errors:0 dropped:0 overruns:0 frame:0
TX packets:92698 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:10557052 (10.5 MB) TX bytes:248460542 (248.4 MB)

lo Link encap: Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:16950 errors:0 dropped:0 overruns:0 frame:0
TX packets:16950 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:9016371 (9.0 MB) TX bytes:9016371 (9.0 MB)

I need to solve this somehow. Any clues or suggestions will be very helpful.
Attachments
VBox.log
(43.13 KiB) Downloaded 27 times
Repox
Posts: 1
Joined: 29. Mar 2012, 10:10

Re: Losing network connection [Possible solution]

Post by Repox »

I found a solution to this (which works for me at least).

Set up the network card as bridge in the VirtualBox setting and boot CentOS.

Edit the network config file
vi /etc/sysconfig/network
Just make sure that NETWORKING is set to yes:
NETWORKING=yes
Edit the ifcfg-eth0 config file:
vi /etc/sysconfig/network-scripts/ifcfg-eth0
Make sure that the following exist AND is set to:
ONBOOT="yes"
IPV6INIT="no"
BOOTPROTO="dhcp"
Reload the network:
/etc/init.d/network reload
Validate your ip address:
ifconfig -a
If you still haven't got internet access, try rebooting:
reboot
Now I have access to the internet.
onyx4
Posts: 1
Joined: 27. Jul 2012, 01:08

Re: Losing network connection

Post by onyx4 »

I found a reliable way to reproduce this, if I start the "transmission" bittorrent client on my host os (which is OSX), then it immediately freezes the network interface. I'm not sure how that can be possible, but maybe the client does something in terms of broadcasting a packet. I use a bridged interface in my VM.

If I reboot the linux OS, it doesn't solve the problem until I actually stop the VM completely and start it back. It seems that it hangs at the VM level and not inside the OS itself since rebooting the OS without a full shutdown of the VM doesn't resolve the issue.

I wish this bug would be resolved, as I have to completely reboot my VMs all the time when this occurs.
manhunt
Posts: 1
Joined: 6. Dec 2013, 18:19

Re: Losing network connection

Post by manhunt »

Any news on this?

Thanks!
Cank99
Posts: 1
Joined: 17. Dec 2013, 23:21

Re: Losing network connection

Post by Cank99 »

I have a mac host running ubuntu and since the last update, my network will stall. The interface is up, but all browser results in page not available. Happens about ever 3 hours and a reboot is the only fix.

Network is bridge to the ethernet port.

Mac 10.9.1

VB 4.3.4

ubuntu guest is 13.10 32 bit

torrent traffic grinds it to a halt
Post Reply