FB 9.1 boot loader problem in VirtualBox

Matthew Seaman m.seaman at infracaninophile.co.uk
Sun Jan 6 12:10:46 UTC 2013


On 06/01/2013 11:52, jb wrote:
> Matthew Seaman <matthew <at> FreeBSD.org> writes:
> 
>>
>> On 06/01/2013 11:19, jb wrote:
>>> Next problem:
>>> the installation's dmesg shows net driver em0, which is Intel PRO/1000 - and
>>> this is how install offers to configure the network;
>>> but my host has Broadcom Corporation NetLink BCM5787M Gigabit Ethernet PCI
>>> Express, which is bge0 driver in FB.
>>> How to force it to discover the right net device during install, and/or after
>>> install ?

>> This is normal for VirtualBox -- it doesn't matter what NIC the host
>> has, VB always presents it as an em(4) interface to the guest.

> OK.
> But I also could not ping:
> $ ping -c 1 google.com
> I have VM-Settings-Network
> Attached to NAT
> What is the correct setting here ?

Not really enough information there to say exactly what has gone wrong.
 NAT+DHCP should work.  You need:

  ifconfig_em0="DHCP"

in /etc/rc.conf obviously.

Try tcpdump(1) on the external interface of your host system to see if
the traffic shows up.  You will also need to have a process called
something like VBoxNetDHCP running on the host.  Process name might be
slightly different on different host OSes (I'm using MacOS X). It should
be started automatically but no harm checking.

If that hasn't led to a fix, please post the output of:

  ifconfig em0
  netstat -rn

from the guest system.

If NAT won't work, you might try bridged mode -- this effectively makes
the VM share your main host's NIC and gives it its own externally
visible IP on the network.  You generally need bridged mode if you want
to run servers in the VM.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.

PGP: http://www.infracaninophile.co.uk/pgpkey
JID: matthew at infracaninophile.co.uk

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 266 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20130106/3586401f/attachment.sig>


More information about the freebsd-questions mailing list