From owner-freebsd-questions@FreeBSD.ORG Thu Dec 9 04:34:57 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 A230F106564A for ; Thu, 9 Dec 2010 04:34:57 +0000 (UTC) (envelope-from weihang@vt.edu) Received: from lennier.cc.vt.edu (lennier.cc.vt.edu [198.82.162.213]) by mx1.freebsd.org (Postfix) with ESMTP id 58B548FC14 for ; Thu, 9 Dec 2010 04:34:56 +0000 (UTC) Received: from steiner.cc.vt.edu (steiner.cc.vt.edu [198.82.163.51]) by lennier.cc.vt.edu (8.13.8/8.13.8) with ESMTP id oB94YQou027542; Wed, 8 Dec 2010 23:34:26 -0500 Received: from auth3.smtp.vt.edu (EHLO auth3.smtp.vt.edu) ([198.82.161.152]) by steiner.cc.vt.edu (MOS 4.2.2-FCS FastPath queued) with ESMTP id MOB82538; Wed, 08 Dec 2010 23:34:24 -0500 (EST) Received: from [172.16.1.105] (green.cs.vt.edu [128.173.236.72]) (authenticated bits=0) by auth3.smtp.vt.edu (8.13.8/8.13.8) with ESMTP id oB94YNDT004215 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed, 8 Dec 2010 23:34:23 -0500 Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii From: Weihang Wang In-Reply-To: <1291368354.2905.19.camel@SHR-42-002> Date: Wed, 8 Dec 2010 23:34:22 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <9B3337B8-3F20-4369-A637-207DEE43A143@vt.edu> References: <4CF87854.1030103@mgwigglesworth.net> <1291368354.2905.19.camel@SHR-42-002> To: Timm Wimmers X-Mailer: Apple Mail (2.1081) X-Mirapoint-Received-SPF: 198.82.161.152 auth3.smtp.vt.edu weihang@vt.edu 2 pass X-Mirapoint-IP-Reputation: reputation=neutral-1, source=Fixed, refid=n/a, actions=MAILHURDLE SPF TAG X-Junkmail-Status: score=10/50, host=steiner.cc.vt.edu X-Junkmail-Signature-Raw: score=unknown, refid=str=0001.0A020209.4D005C52.00BC,ss=1,fgs=0, ip=0.0.0.0, so=2010-07-22 22:03:31, dmn=2009-09-10 00:05:08, mode=single engine X-Junkmail-IWF: false Cc: 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:34:57 -0000 On Dec 3, 2010, at 4:25 AM, Timm Wimmers wrote: > Am Freitag, den 03.12.2010, 00:33 -0500 schrieb Weihang Wang: >> Hi Martes, >>=20 >> I have tried the first two interfaces which are said to be supported = by FreeBSD, they do not work. Surprisingly, now I choose the option = "Intel PRO/1000 T Server" and in NAT mode, it works now!!!! >> Thank you so much, you do me a great favor!! Hope this also works for = Chris! >=20 > In most cases it is better to use bridge mode. In NAT mode your VM get = a > private subnet and other devices in your network can't find your VM, > because the VM is behind (or encapsulated in) your HOST (as like as = your > HOST is behind your router to the internet). This can work if you = define > routes, but bridging is mostly easier. >=20 > In Bridge mode your VM acts like any other machine in your network and > will get an IP-Adress from your DHCP server (if you use DHCP). >=20 > --=20 > Timm >=20 > [1] HSOT =3D your Ubuntu Workstation >=20 Hi, Could someone tell me how to enable Bridge mode? 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.=20 Then in my virtual machine, I add one line: ifconfig_em0=3D"DHCP" in /etc/rc.conf file. I have changed each of the five virtual interfaces Intel and ..., but I = could not get network access.=20 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. Hope to hear from you. Thanks in advance. Best, W.W.=