Oracle VM VirtualBox: Ticket #4214: VirtualBox 2.2.4 and bonded host interface with guest bridge networkinghttps://www.virtualbox.org/ticket/4214
<p>
My host has two Gigabit NICs. It runs on 64 Bit Ubuntu 8.0.4.2 Server. I have bonded the two interface to become bond0.
</p>
<p>
I created another guest using 32 Bit Ubuntu 8.0.4.2 Server and configured it to be bridged with bond0.
</p>
<p>
It seems to work for a while, but halfway through the guest networking stops responding (could not ping to the network gateway or access the Internet from the guest). The host network works well as I was accessing the guest through remote desktop.
</p>
en-usOracle VM VirtualBox/graphics/vbox_logo2_gradient.pnghttps://www.virtualbox.org/ticket/4214
Trac 0.12FlancerThu, 11 Jun 2009 10:10:29 GMTattachment sethttps://www.virtualbox.org/ticket/4214
https://www.virtualbox.org/ticket/4214
<ul>
<li><strong>attachment</strong>
set to <em>vbox-bond.zip</em>
</li>
</ul>
TicketFlancerThu, 11 Jun 2009 10:18:50 GMThttps://www.virtualbox.org/ticket/4214#comment:1
https://www.virtualbox.org/ticket/4214#comment:1
<p>
Also the bonding method I have chosen is balance-alb.
</p>
<p>
When it is in balance-alb mode, the problem is present.
</p>
<p>
Changing it to mode=1 will make the problem go away, but I no longer have the benefit of load balancing across two NICs.
</p>
TicketTechnologovTue, 01 Dec 2009 18:52:18 GMThttps://www.virtualbox.org/ticket/4214#comment:2
https://www.virtualbox.org/ticket/4214#comment:2
<p>
This bug is remotely related to bug <a class="new ticket" href="https://www.virtualbox.org/ticket/5519" title="defect: Virtualbox fatal BSOD installation (new)">#5519</a>
</p>
<p>
Flancer: Does it happen with both NAT networking and Bridge networking ?
</p>
<p>
-Technologov
</p>
TicketFlancerThu, 03 Dec 2009 08:59:29 GMThttps://www.virtualbox.org/ticket/4214#comment:3
https://www.virtualbox.org/ticket/4214#comment:3
<p>
I have only tested with Bridge networking. I no longer have access to those systems.
</p>
TicketTechnologovThu, 03 Dec 2009 09:29:05 GMThttps://www.virtualbox.org/ticket/4214#comment:4
https://www.virtualbox.org/ticket/4214#comment:4
<p>
Nם Hardware = No Test. I suggest closing this bug.
</p>
<p>
-Technologov
</p>
TicketdbmaxpayneFri, 18 Jun 2010 09:05:05 GMThttps://www.virtualbox.org/ticket/4214#comment:5
https://www.virtualbox.org/ticket/4214#comment:5
<p>
Hi,
</p>
<p>
same problem here.
</p>
<p>
I'm using Ubuntu 10.04 and also created a bond0-interface.
First I wanted to use bond_mode 6 (balance-alb) for load-balancing but unfortunately the guest-OS (Windows XP) stops responding after a few seconds. If I de- and reactivate the guest-NIC it responds again for a few seconds.
</p>
<p>
After setting bond_mode to 0 (balance-rr) the guest-OS responds better.
But after some hours it also looses connectivity.
</p>
<p>
Virtualbox Version is 3.2.4.
Guest-Network is bridged to interface bond0.
GuestAdditions are installed.
</p>
<p>
Mark
</p>
Ticketrvp_lanWed, 27 Oct 2010 10:54:44 GMThttps://www.virtualbox.org/ticket/4214#comment:6
https://www.virtualbox.org/ticket/4214#comment:6
<p>
Hi,
</p>
<p>
I also posted my message on: <a class="ext-link" href="http://www.virtualbox.org/ticket/5260#comment:24[[BR"><span class="icon"> </span>http://www.virtualbox.org/ticket/5260#comment:24[[BR</a>]]
Because the syslog of the host mentioned clearly an allocmem error of VBoxNetFlt.
</p>
<p>
But... I'm still guessing it could be related to the way network interfaces are binded between host and guest.
</p>
<p>
I noticed that, when the guest OS starts, it does something (wrong?) to the bonding, which one of the network card goes into promiscuous mode. As if the virtual card tries absolutely to bind to a physical card.
</p>
<p>
The bonding is still functionnal since both host and guest are responding to network requests. As these systems are in production, it's delicate to verify if the bonding is still really working (maybe it is working only on one physical card after the other goes into promiscuous mode).
</p>
<p>
I first thought that the vboxNetFlt allocmem error occurs because of the particular case of bridged over bonding, but I have another system (pretty much identical) with same network config which doesn't cause any allocmem error, but has 4GB real RAM.
</p>
<p>
Host:<br />
-- Linux file server (on which the vboxNetFlt allocmem error occurs), DNS secondary.<br />
-- System is OpenSuSE 11.2 x86_64 kernel 2.6.31-12.<br />
-- Vbox 3.2.10-109.3.x86_64 running in headless mode.<br />
-- Doesn't have much real memory: 2GB, backuped with a 6GB swap space.<br />
-- Main network interface is a bonding of two Broadcom BCM5780 Gigabit.<br />
-- This host doesn't do much, but as a backup server, it has an intensive activity at night when rsync script starts. Mostly, this is at this time that the vboxNetFlt allocmem error occurs.
</p>
<p>
Guest:<br />
-- System is Ubuntu 9.10 x86_64 kernel 2.6.31-20.<br />
-- Network card is bridged on this bonding with the virtual Intel 1000e driver.<br />
-- The guest OS, as opposite, has a continuous intensive network activity: access to shared files, file sharing itself and master network service for computing dispatcher.
</p>
<p>
Thanks for any clue.
</p>
TicketPegasusMon, 25 Jul 2011 21:07:14 GMThttps://www.virtualbox.org/ticket/4214#comment:7
https://www.virtualbox.org/ticket/4214#comment:7
<p>
I have this same problem on Debian Squeeze AMD64 with <a class="wiki" href="https://www.virtualbox.org/wiki/VirtualBox">VirtualBox</a> v4.1.0. Tickets <a class="new ticket" href="https://www.virtualbox.org/ticket/8866" title="defect: Guest network not able to reach beyond host's network when host bridged ... (new)">#8866</a> and <a class="new ticket" href="https://www.virtualbox.org/ticket/5747" title="defect: Bridged Networking on Ethernet and Wireless Bonded interface fails (new)">#5747</a> may be duplicates of this one.
</p>
<p>
When I switch to NAT, everything works fine. It's only in bridged mode that the problem occurs.
</p>
TicketPegasusMon, 25 Jul 2011 21:08:41 GMTattachment sethttps://www.virtualbox.org/ticket/4214
https://www.virtualbox.org/ticket/4214
<ul>
<li><strong>attachment</strong>
set to <em>vbox.log</em>
</li>
</ul>
<p>
Log of VM session on VB v4.1.0 on Debian Squeeze AMD64 wherein the problem occurred.
</p>
TicketPegasusMon, 25 Jul 2011 21:12:34 GMThttps://www.virtualbox.org/ticket/4214#comment:8
https://www.virtualbox.org/ticket/4214#comment:8
<p>
I also just tried setting Promiscuous Mode to "Allow All" but it didn't seem to help much.
</p>
TicketPegasusTue, 26 Jul 2011 09:55:05 GMThttps://www.virtualbox.org/ticket/4214#comment:9
https://www.virtualbox.org/ticket/4214#comment:9
<p>
Workaround: changing the bonding mode on the host to balance-tlb (mode 5) seems to work fine for me with VB 4.1.0. This bug still needs to be fixed though since this mode is not as fault-tolerant as balance-alb.
</p>
TicketscurvyThu, 06 Mar 2014 01:04:14 GMThttps://www.virtualbox.org/ticket/4214#comment:10
https://www.virtualbox.org/ticket/4214#comment:10
<p>
This problem is pretty easy to fix, but it is on the <a class="wiki" href="https://www.virtualbox.org/wiki/VirtualBox">VirtualBox</a> side.
</p>
<p>
The problem is that virtualbox only goes into promiscuous mode on the first device in a bond setup. If you have 2 or more active adapters, it won't turn on promiscuous for the other adapters.
</p>
<p>
If <a class="wiki" href="https://www.virtualbox.org/wiki/VirtualBox">VirtualBox</a> would enable promiscuous mode for all adapters in the bond, bonding with balance-alb would work.
</p>
Ticket