Page 1 of 1

issues with "bridging" and DHCP

Posted: 2. May 2009, 08:12
by rctay
I'm running VB 2.2.2 on a Windows XP host. In my Ubuntu guest, I can't get it to reach the Internet.

I've enabled VB's dhcp server, and the VirtualBox Host-Only Adapter is enabled.

Here's the guest's /etc/network/interfaces:

Code: Select all

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp
It can't seem to find the dhcp server (no DHCPOFFERS received).

What could be the problem?

Re: issues with "bridging" and DHCP

Posted: 2. May 2009, 14:03
by vbox4me2
Use Bridge mode, not host-only.

Re: issues with "bridging" and DHCP

Posted: 2. May 2009, 17:18
by rctay
Hi,

upon re-reading the manual, I'd like to check if a physical network switch is required for bridging to work. I'm not connected to one.

Re: issues with "bridging" and DHCP

Posted: 2. May 2009, 17:22
by vbox4me2
Yes, otherwise install the MS loopback adapter, see the FAQ's.