--- David Murphy <[EMAIL PROTECTED]> wrote:

> Hi folks. I have the following setup:
> 
> - Broadband router (CompUSA-branded cheapy) running DHCP
>   - PC running OpenSUSE 10.2
>     - VirtualBox 1.3.8 VM with Windows 2000 Pro
> 
> I'm trying to set up the VM's network via bridging, a la section 5.3.3.2
> of
> the user manual. I run the following commands as root:
> 
> # tunctl -t tap1 -u <my username>
> # brctl addbr br0
> (At this point I kill dhcpcd to avoid problems DHCPing the bridge)
> # ifconfig eth0 0.0.0.0 promisc
> # brctl addif br0 eth0
> # dhclient br0
> # brctl addif br0 tap1
> # ifconfig tap1 up
> 
> At this point my host is talking to the router again just fine.
> 'ifconfig'
> and 'brctl show br0' show what I would expect. I then went into the Win2k
> VM's settings and changed the Network Adapter 0 setup to "Host
> Interface",
> Interface Name "tap1", Setup and Terminate Applications blank.
> 
> When I boot up the guest, though, it's not getting configured. The
> network
> interface exists and is set to DHCP, but after trying for a bit, it fails
> out and comes up with one of those autoconfiguration (169.x.x.x)
> addresses.
> 
> Is this a DHCP issue? Is the guest unable to see the router at this
> point?
> 
> For what it's worth, I'm pretty sure this isn't a permission issue on the
> host. I chowned /dev/net/tun to :vboxusers, of which my user is a member.
> And I ran "chmod g+rw" on it too. As a final check, I also rebooted,
> logged
> in as root, and ran through the whole process again. Same result.

Thanks all for the helpful suggestions. I finally found the answer here:

http://linux-net.osdl.org/index.php/Bridge#No_traffic_gets_trough_.28except_ARP_and_STP.29

-----
No traffic gets trough (except ARP and STP)

Your kernel might have ethernet filtering (ebtables, bridge-nf, arptables)
enabled, and traffic gets filtered. The easiest way to disable this is to
go to /proc/sys/net/bridge. Check if the bridge-nf-* entries in there are
set to 1; in that case, set them to zero and try again. 
-----

Indeed, once I echoed a 0 into the four files there, the guest OS was able
to pick up an address, and now it's happily downloading software updates.

Is this something that should be in the official documentation? (Or maybe
it is, but I didn't see it?)

Thanks again,

-David Murphy


 
____________________________________________________________________________________
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html 

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

Reply via email to