problem with Hostinf and bridge interface

Discussions related to using VirtualBox on Linux hosts.
Post Reply
KeyzerSuze
Posts: 88
Joined: 14. Aug 2008, 07:57
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: debian i386, debian amd64, Windows XP, Windows 2003 Server

problem with Hostinf and bridge interface

Post by KeyzerSuze »

Hi

I attach my VM to a bridge interface under linux, this way I can move from eth0 to wlan0 with out worrying, I have nat'ing setup. works well.

My problem is on a clean boot of linux and a clean start of the VM. the vm can't talk to the outside world. I have to ping from the host to the guest to get it started. I am guessing this has to to do with the new network driver.

<Adapter slot="0" enabled="true" MACAddress="080027FE232E" cable="true" speed="0" type="Am79C973">
<HostInterface name="brVB"/>

brctl show
bridge name bridge id STP enabled interfaces
brVB 8000.000000000000 no


This is under debian host, VB 2.1.2r41885.

Any one else seen this ?
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

As you can see in your brctl show output, there is no interface in your bridge. You don't have to use that anymore, because since 2.1.0 you can select the interface directly. You say you have HIF, but also NAT. What are you using exactly? NAT or HIF?

And you can add two NICs to the VM, one with each physical interface if you want. One will always work, because you are connected with that.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply