On 08/31/2010 03:22 AM, Inti Legrá Torres wrote: > >> I experience a strange problem with VBox 3.2.8_OSE r64453 built from >> source on Linux from Scratch. With bridged networking (on eth0) and the >> guest OS configured to use DHCP, the guest sends DHCPDISCOVER, dhcpd (on >> the host) receives it and replies with a DHCPOFFER, which does not get >> to the guest. I verified this with wireshark both on the host and the >> guest. The most interesting part is that when I connect a physical >> mashine to eth0 (also configured to use DHCP and having no problem to >> get an IP address) the guest starts receiving the DHCPOFFER's from the >> host. >> >> Does anyone have a similar problem or know what might be happening? >> >> Regards, >> Angel Tsankov > > Hello. > Excuse me if I have some grammatical error. I am Spanish speaker. > What operating system do you have as host? > If you have Linux as host try this ... > 1. Load module "vboxnetflt" > sudo modprobe vboxnetflt > 2. Install bridge-utils > sudo apt-get install bridge-utils > 3. Declare bridge. > First you have to make a copy to the current interface > cp /etc/network/interfaces /etc/network/interfaces.bak > 4. Edit the interfaces file in the host to declare bridge > auto eth0 > iface the0 inet manual > auto br0 > iface br0 inet dhcp > bridge_ports eth0 vbox0 > auto lo > iface lo inet loopbak > where: > eth0 .Is the name of interface. > br0 .name of the bridge. > vbox0 .name of virtual machine. > if you want to add more VMs you have to add at the end of the line that > begin with bridge the name of VM with space. > foe example: bridge_ports eth0 vbox0 vbox1 vbox2 ... etc > 5. Restart networking. > sudo /etc/init.d/networking restart > You have to ignore the messages. > 6. Declare virtual interfaces used for vbox. > sudo gedit /etc/vbox/interfaces > vbox# username br0 > 7. restart vbox networking > sudo /etc/init.d/virtualbox-ose restart > or > sudo /etc/init.d/vboxnet restart
Well, thanks for your reply. The host is Linux from Scratch (with Linux 2.6.30+) and the instructions you suggest are not quite applicable to this system as I don't use bridge-utils (and I'm not sure if VBox needs it for bridged networking to function properly). Regards, Angel Tsankov ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ VBox-users-community mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/vbox-users-community
