Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Sep 2011 20:29:57 -0400
From:      Hub- FreeBSD <freebsd@hub.org>
To:        freebsd-emulation@freebsd.org
Subject:   VirtualBox + Bridged Networking
Message-ID:  <BA07358F-EF60-495F-B746-9D2118075577@hub.org>

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

First, I've searched google hi+low, and this is still eluding me =85

I've got a FreeBSD 8-STABLE  box that is up to date as of yesterday =85 =
VirtualBox installed great, I got through the docs on how to create a =
Headless VM, it boots, FreeBSD 8 ISO installed on it, everything works =
great "stand alone" =85 but I can't get the network to work.

Host Machine, ethernet looks like:

ganymede# ifconfig -a
ale0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu =
1500
	=
options=3Dc319a<TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MCAST,=
WOL_MAGIC,VLAN_HWTSO,LINKSTATE>
	ether 00:22:15:f1:bc:c5
	inet 192.168.1.2 netmask 0xffffff00 broadcast 192.168.1.255
	media: Ethernet 100baseTX <full-duplex>
	status: active
pflog0: flags=3D0<> metric 0 mtu 33200
lo0: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
	options=3D3<RXCSUM,TXCSUM>
	inet 127.0.0.1 netmask 0xff000000=20
vboxnet0: flags=3D8902<BROADCAST,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu =
1500
	ether 0a:00:27:00:00:00
ganymede#=20


showvminfo for the VM shows NIC 1 as :

NIC 1:           MAC: 080027F9E7B2, Attachment: Bridged Interface =
'vboxnet0', Cable connected: on, Trace: off (file: none), Type: 82540EM, =
Reported speed: 0 Mbps, Boot priority: 0

A cut-n-paste of ifconfig in the VPS is attached below...



Yes, I can't ping anywhere =85

I tried to set the bridged device to the ale0 device, which allows me to =
ping everywhere *except* the host server =85 so I'm missing a step here =
=85=20

I've read through http://wiki.freebsd.org/VirtualBox several times =85=20=


The steps i used to create the remote headless were found:

http://www.virtualbox.org/manual/ch07.html

So I figure either I'm bridging to the wrong device. or I missing a =
configuration step on the Host side of things =85 but I can't seem to =
find anywhere where someone has asked that and gotten an answer and/or =
that it is documented =85 everything seems to point to using the GUI, =
which, in this environment, I don' t have access to =85


So far, though, getting VirtualBox up and running has been fantastic ...=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BA07358F-EF60-495F-B746-9D2118075577>