Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Dec 2010 23:34:22 -0500
From:      Weihang Wang <weihang@vt.edu>
To:        Timm Wimmers <timm@ticore.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: FreeBSD on Virtualbox: No network access
Message-ID:  <9B3337B8-3F20-4369-A637-207DEE43A143@vt.edu>
In-Reply-To: <1291368354.2905.19.camel@SHR-42-002>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9B3337B8-3F20-4369-A637-207DEE43A143>