From owner-freebsd-questions@FreeBSD.ORG Thu Dec 9 04:47:50 2010 Return-Path: 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 08E91106564A for ; Thu, 9 Dec 2010 04:47:50 +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 8C50D8FC27 for ; Thu, 9 Dec 2010 04:47:49 +0000 (UTC) Received: by fxm19 with SMTP id 19so1805601fxm.36 for ; Wed, 08 Dec 2010 20:47:48 -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=VAy/Yd2VLpTme6C6iMf908n9S7CmcIBGOoyW8ugnSwo=; b=qaBycqMu9Nt6GlUd2XBkeROWgKizBOJHPWzb8tZqpEYSJPgVB/e8Ix4KIUKj24rLeI RdoPAGaVHqobcy/rCacg6lMgTGwZfjehmxSgfpoMiIpONT3+13NDbQKn1A+h7cEKRsZY YMGUJDipEtk9SO1MQMtCIp2Ok+rQOk6XLvlkI= 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=CxhEaFeqXV21s6wtcJ2CVQWsPCfTWvXSSDDsSZ6YQZv+ORRG10E912yI/TnjBdojBN h/kpfb8pYUPSbzox+MnnPJbACnEZjbU9WGcCmdu4BniHaq7A09bKuC2ypPLngHFzAer5 GjhdI7F6GNl93W3NPFQ/rE2EbGbH1es9X8Yj0= MIME-Version: 1.0 Received: by 10.223.106.210 with SMTP id y18mr2608983fao.108.1291870068482; Wed, 08 Dec 2010 20:47:48 -0800 (PST) Received: by 10.223.107.79 with HTTP; Wed, 8 Dec 2010 20:47:48 -0800 (PST) In-Reply-To: <9B3337B8-3F20-4369-A637-207DEE43A143@vt.edu> References: <4CF87854.1030103@mgwigglesworth.net> <1291368354.2905.19.camel@SHR-42-002> <9B3337B8-3F20-4369-A637-207DEE43A143@vt.edu> Date: Wed, 8 Dec 2010 22:47:48 -0600 Message-ID: From: Adam Vande More To: Weihang Wang Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Timm Wimmers , 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Dec 2010 04:47:50 -0000 On Wed, Dec 8, 2010 at 10:34 PM, Weihang Wang wrote: > Hi, > > Could someone tell me how to enable Bridge mode? > Seems like you already know how since you do it below. > I just change the network settings of my virtual machine, change it to > bridged mode. I also select the eth0, which is the physical interface of my > system. > Then in my virtual machine, I add one line: > ifconfig_em0="DHCP" in /etc/rc.conf file. > I have changed each of the five virtual interfaces Intel and ..., but I > could not get network access. > ifconfig_em0="DHCP" would only work for the intel adapters, not amd ones. > If I use NAT mode, one of these five interfaces works fine. But now I do > need the Bridged mode because one of my machine would be a server in my > experiment. > You do have a DHCP server correct? What happens when you do "dhclient em0"? Does bridged networking work with a different guest OS as maybe it's some problem with your host. -- Adam Vande More