Page 1 of 1

Guest connected to 2 host-only networks can send only on one

Posted: 17. Jul 2009, 14:08
by moriarty
I have a Gentoo host, and two Ubuntu 8.04 Server guests, using VB 3.0.2. One of the guest is configured with two cards, connected to vboxnet0 and vboxnet1 respectively. However, traffic from the guest card configured for vboxnet1 is sent to vboxnet0 also. No traffic from vboxnet1 on the host shows up on any card on the guest either. I even configured different card models, so I can be sure which card is connected to which virtual network.

Anyone else had this problem? Or several networks is an uncommon usage pattern?

Re: Guest connected to 2 host-only networks can send only on one

Posted: 17. Jul 2009, 14:14
by Sasquatch
Is the IP config the same for both networks, or different? If one card has 192.168.1.3 and the other has 192.168.1.6, then you're getting what you set.

Re: Guest connected to 2 host-only networks can send only on one

Posted: 17. Jul 2009, 14:48
by moriarty
Yes, I disabled DHCP and manually set 192.168.204/24 for vboxnet0 and 10.9.8/24 for vboxnet1.

Re: Guest connected to 2 host-only networks can send only on one

Posted: 17. Jul 2009, 19:30
by Sasquatch
Ok, now we need the full network config of your host (those two adapters), the Guests and the output from them of ifconfig and route.

Re: Guest connected to 2 host-only networks can send only on one

Posted: 21. Jul 2009, 09:15
by virta
moriarty wrote:Anyone else had this problem? Or several networks is an uncommon usage pattern?
I have the same problem. I'm running on Ubuntu 9.04. Also it seems that I have to create vboxnet1 again after every boot.

Also could be somehow connected to problem that I seem to loose connection to all virtual machines from GUI when I'm creating new vboxnet. Running vms show offline as status on GUI and I have to restart them.

Re: Guest connected to 2 host-only networks can send only on one

Posted: 21. Jul 2009, 16:19
by hmw
Hi,

I might have a similar problem on a Debian host system. A had created two (or more) host only networks with disjunct subnets. If I start a VM that has it's NIC bound to the second host only network, the IP adress of the corresponding virtual adapter on the host system changes to the IP adress of the virtual adapter of the first host only network. So both share the same IP configuration. I guess this might be a bug. Can you verify if the virtual host interfaces are configured correctly after starting up the VMs, please? Any hints how to work around this are welcome, too.

Regards
hmw

Re: Guest connected to 2 host-only networks can send only on one

Posted: 21. Jul 2009, 20:48
by Sasquatch
Confirmed. The second Host-Only adapter is not configured correctly. Please open a bug report in the Bugtracker (separate account needed).

Re: Guest connected to 2 host-only networks can send only on one

Posted: 22. Jul 2009, 09:33
by hmw
Hi,

thank you for the reply. Meanwhile I've found a bug report (http://www.virtualbox.org/ticket/4493) that seems to be similar, except that the IP addresses in the report seem to be in the same subnet. But I guess the bug is triggered by the same mechanism.

Regards
hmw

Re: Guest connected to 2 host-only networks can send only on one

Posted: 22. Jul 2009, 20:29
by Sasquatch
You can add additional data to the current bug report. The more information they get, the better.