Date: Thu, 9 Dec 2010 13:48:30 -0500 From: Weihang Wang <weihang@vt.edu> To: Adam Vande More <amvandemore@gmail.com> Cc: Timm Wimmers <timm@ticore.de>, freebsd-questions@freebsd.org Subject: Re: FreeBSD on Virtualbox: No network access Message-ID: <F64D1AE5-48CC-4A19-9CDF-9F74ADAD9B9F@vt.edu> In-Reply-To: <AANLkTikqz_0hhBRjsLYQh5wUn0xvJtC9UF7u7J7zYrGy@mail.gmail.com> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
On Dec 8, 2010, at 11:47 PM, Adam Vande More wrote: > On Wed, Dec 8, 2010 at 10:34 PM, Weihang Wang <weihang@vt.edu> wrote: >=20 >> Hi, >>=20 >> Could someone tell me how to enable Bridge mode? >>=20 >=20 > Seems like you already know how since you do it below. >=20 >=20 >> 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=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 >=20 > ifconfig_em0=3D"DHCP" would only work for the intel adapters, not amd = ones. >=20 >=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. >>=20 >=20 > 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. >=20 > --=20 > Adam Vande More >=20 Hi,=20 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? 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.=20 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? When running dhclien em0, the results are similar to the DHCPDISCOVER = results during booting. No DHCPOFFERS received.=20 Thanks, W.W.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F64D1AE5-48CC-4A19-9CDF-9F74ADAD9B9F>