From owner-freebsd-emulation@FreeBSD.ORG Fri Sep 30 05:53:07 2011 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ABBF91065675 for ; Fri, 30 Sep 2011 05:53:07 +0000 (UTC) (envelope-from decke@bluelife.at) Received: from groupware.itac.at (groupware.itac.at [91.205.172.99]) by mx1.freebsd.org (Postfix) with ESMTP id 417D28FC12 for ; Fri, 30 Sep 2011 05:53:06 +0000 (UTC) Received: from home.bluelife.at (93.104.210.95) by groupware.itac.at (Axigen) with (AES256-SHA encrypted) ESMTPSA id 13671A; Fri, 30 Sep 2011 07:53:21 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Date: Fri, 30 Sep 2011 07:53:06 +0200 From: Bernhard Froehlich To: Hub- FreeBSD In-Reply-To: References: Message-ID: X-Sender: decke@bluelife.at User-Agent: Roundcube Webmail/0.5.4 X-AxigenSpam-Level: 1 X-CTCH-RefID: str=0001.0A0B0204.4E855941.009C,ss=1,fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown Cc: freebsd-emulation@freebsd.org Subject: Re: VirtualBox + Bridged Networking X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Sep 2011 05:53:07 -0000 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 metric 0 mtu 1500 > options=c319a > ether 00:22:15:f1:bc:c5 > inet 192.168.1.2 netmask 0xffffff00 broadcast 192.168.1.255 > media: Ethernet 100baseTX > status: active > pflog0: flags=0<> metric 0 mtu 33200 > lo0: flags=8049 metric 0 mtu 16384 > options=3 > inet 127.0.0.1 netmask 0xff000000 > vboxnet0: flags=8902 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/