[EMAIL PROTECTED] wrote:
> 
> On Jul 19, 2008, at 3:32 PM, Michael Eager wrote:
> 
>> I've had trouble configuring bridged networking
>> on VirtualBox.  All of the examples show how to
>> set it up using dynamic IP supplied by DHCP.
>>
>> I came close to getting this to work, but it
>> seems that when I got the guest OS to connect
>> to the network, the host was no longer able to connect.
>>
>> Any suggestions?
>>
>> (What I really want is the no-problem configuration
>> that VMWare has -- just click "Bridged Network," assign
>> a static IP address in the guest OS, and it simply works.)
>>
>> -- 
>> Michael Eager [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>> 1960 Park Blvd., Palo Alto, CA 94306  650-325-8077
> 
> 
> Check out these two links:
> 
> http://samiux.wordpress.com/2007/07/11/bridge-network-interface-on-virtualbox/
> http://www.linuxfoundation.org/en/Net:Bridge
> 
> 
> The key is creating a bridge and placing your eth0 connection in 
> promiscuous mode.  Then reassign the IP.

Yes, this was helpful, but I'm still getting an error from VirtualBox
when it starts:  -3100 (VERR_HOSTIF_INIT_FAILED).

I resolved one problem: retaining access to the host system when
configuring the bridge.  Most instructions say to do "ifconfig eth0
0.0.0.0 promisc" or similar.  Replacing this with "ifconfig eth0 promisc"
retains the IP for the host.

I did the following:
   brctl addbr br0
   brctl addif br0 eth0
   ifconfig eth0 promisc
   ifconfig br0 192.168.20.140 netmask 255.255.255.0 up
   tapctl -t tap0 -u vbox
   brctl addif br0 tap0
   ifconfig tap0 up

In VirtualBox, the settings have Host Networking and interface
set to 'tap0'.  When I start the VM, I get the above error message.

-- 
Michael Eager    [EMAIL PROTECTED]
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077

_______________________________________________
vbox-users mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-users

Reply via email to