VirtualBox + Bridged Networking

Hub- FreeBSD freebsd at hub.org
Fri Sep 30 14:08:44 UTC 2011


'k, don't know what I did the first time, but seemed to work fine this time … thx …


On 2011-09-30, at 1:53 AM, Bernhard Froehlich wrote:

> On Thu, 29 Sep 2011 20:29:57 -0400, Hub- FreeBSD wrote:
>> First, I've searched google hi+low, and this is still eluding me …
>> 
>> I've got a FreeBSD 8-STABLE  box that is up to date as of yesterday …
>> 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" … but I can't get the network to work.
>> 
>> Host Machine, ethernet looks like:
>> 
>> ganymede# ifconfig -a
>> ale0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
>> 	options=c319a<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=0<> metric 0 mtu 33200
>> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
>> 	options=3<RXCSUM,TXCSUM>
>> 	inet 127.0.0.1 netmask 0xff000000 
>> vboxnet0: flags=8902<BROADCAST,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
>> 	ether 0a:00:27:00:00:00
>> ganymede# 
>> 
>> 
>> 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 …
>> 
>> I tried to set the bridged device to the ale0 device, which allows me
>> to ping everywhere *except* the host server … so I'm missing a step
>> here …
>> 
>> I've read through http://wiki.freebsd.org/VirtualBox several times … 
>> 
>> 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 … but I can't seem to
>> find anywhere where someone has asked that and gotten an answer and/or
>> that it is documented … everything seems to point to using the GUI,
>> which, in this environment, I don' t have access to …
>> 
>> 
>> So far, though, getting VirtualBox up and running has been fantastic
> 
> I guess you just used the wrong device that you attached to. When
> configuring bridging via QT GUI and using bge0 I get:
> 
> NIC 1:           MAC: 080027289A85, Attachment: Bridged Interface
> 'bge0', Cable connected: on, Trace: off (file: none), Type: 82540EM,
> Reported speed: 0 Mbps, Boot priority: 0
> 
> 
> -- 
> Bernhard Fröhlich
> http://www.bluelife.at/
> _______________________________________________
> freebsd-emulation at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
> To unsubscribe, send any mail to "freebsd-emulation-unsubscribe at freebsd.org"



More information about the freebsd-emulation mailing list