From owner-freebsd-questions@FreeBSD.ORG  Thu Dec  9 21:55:24 2010
Return-Path: <owner-freebsd-questions@FreeBSD.ORG>
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 6C8F9106566C
	for <freebsd-questions@freebsd.org>;
	Thu,  9 Dec 2010 21:55:24 +0000 (UTC)
	(envelope-from amvandemore@gmail.com)
Received: from mail-fx0-f49.google.com (mail-fx0-f49.google.com
	[209.85.161.49])
	by mx1.freebsd.org (Postfix) with ESMTP id EDAD08FC13
	for <freebsd-questions@freebsd.org>;
	Thu,  9 Dec 2010 21:55:23 +0000 (UTC)
Received: by fxm19 with SMTP id 19so2794089fxm.36
	for <freebsd-questions@freebsd.org>;
	Thu, 09 Dec 2010 13:55:22 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:mime-version:received:received:in-reply-to
	:references:date:message-id:subject:from:to:cc:content-type;
	bh=iJMYKHB6oCd3PHRRcH4+RHxC9AQnk6NiYKY90z6Sz6s=;
	b=CN+4N5f5puSwyKTgXlwAqIiv2PlSoNdiOEJ1vy2HhpVPkDckLEuFtbKGzhMcf5sygU
	pGygQYUxkxJX+PLC0xKynTcMYl/1aMTBZyrXJR2Jj1GeUKVdy6xOy/0e3QgVDeEunwV4
	f+0YuTkAr4w3N/00lq8HYsoIe5f2lTn6tTnks=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	b=u0D3BrLzLtxkO7hB8ofmHSzQI9RUEiI4ZUWlI3FqBdp9oVjbu+brKzQ35PYMYhm37q
	AsK/dA2OcnHnk35E02OwbCIqrPWyYvD2FCXpDr3HTCBAvg9Iaevjr84OSMMZkDE6BmBk
	+OYIALPKs+Sf71H3ary/Ei3XMqtiIxEbI2byw=
MIME-Version: 1.0
Received: by 10.223.96.76 with SMTP id g12mr1578971fan.32.1291931722721; Thu,
	09 Dec 2010 13:55:22 -0800 (PST)
Received: by 10.223.107.79 with HTTP; Thu, 9 Dec 2010 13:55:22 -0800 (PST)
In-Reply-To: <F64D1AE5-48CC-4A19-9CDF-9F74ADAD9B9F@vt.edu>
References: <BD9E30A7-919D-4145-A6B6-A9A086B6D7C2@vt.edu>
	<4CF87854.1030103@mgwigglesworth.net>
	<EA5E99C7-AA29-4D8B-BBAD-F1463C7B1CDA@vt.edu>
	<1291368354.2905.19.camel@SHR-42-002>
	<9B3337B8-3F20-4369-A637-207DEE43A143@vt.edu>
	<AANLkTikqz_0hhBRjsLYQh5wUn0xvJtC9UF7u7J7zYrGy@mail.gmail.com>
	<F64D1AE5-48CC-4A19-9CDF-9F74ADAD9B9F@vt.edu>
Date: Thu, 9 Dec 2010 15:55:22 -0600
Message-ID: <AANLkTikzRuo9oWxxz9AEL47Ms9CfO+fnaAOF3ofB6+9g@mail.gmail.com>
From: Adam Vande More <amvandemore@gmail.com>
To: Weihang Wang <weihang@vt.edu>
Content-Type: text/plain; charset=ISO-8859-1
X-Content-Filtered-By: Mailman/MimeDel 2.1.5
Cc: Timm Wimmers <timm@ticore.de>, freebsd-questions@freebsd.org
Subject: Re: FreeBSD on Virtualbox: No network access
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
	<mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions>
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
	<mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 09 Dec 2010 21:55:24 -0000

On Thu, Dec 9, 2010 at 12:48 PM, Weihang Wang <weihang@vt.edu> wrote:

> I do not configure a DHCP server. When my FreeBSD 6.0 is booting, there are
> several DHCPDISCOVERY messages, finally it shows no DHCPOFFER received. Do I
> need to configure a DHCP server myself? If I need a DHCP server?


Bridged networking makes the guest behave like another physical installation
with respect to networking.  If your network doesn't have a DHCP server then
for DHCP to work one is required.  You don't need DHCP for networking
however, you could simply assign static addresses.


> Where it should be? Now I only have one test machine, Ubuntu as the host
> OS, two VMs (both are FreeBSD 6.0) on this machine. I want this two VMs
> communicate with each other.
>

Why are you using such an old version of FreeBSD?

Just go back to the DHCP stuff, when I use NAT mode, the guest OS FreeBSD
> 6.0 could get DHCPOFFER successfully. Who is the DHCP server then?
>

In NAT mode, VirtualBox provides it's internal DHCP server.

When running dhclien em0, the results are similar to the DHCPDISCOVER
> results during booting. No DHCPOFFERS received.
>



-- 
Adam Vande More