VirtualBox + Bridged Networking
Hub- FreeBSD
freebsd at hub.org
Fri Sep 30 00:47:04 UTC 2011
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 ...
More information about the freebsd-emulation
mailing list