Date: Fri, 30 Sep 2011 07:53:06 +0200 From: Bernhard Froehlich <decke@bluelife.at> To: Hub- FreeBSD <freebsd@hub.org> Cc: freebsd-emulation@freebsd.org Subject: Re: VirtualBox + Bridged Networking Message-ID: <cdf08e0cd4ca63b03bdfc1fb983edf38@bluelife.at> In-Reply-To: <BA07358F-EF60-495F-B746-9D2118075577@hub.org> References: <BA07358F-EF60-495F-B746-9D2118075577@hub.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cdf08e0cd4ca63b03bdfc1fb983edf38>