From owner-freebsd-questions@FreeBSD.ORG Wed Jan 13 18:01:47 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 50729106568F for ; Wed, 13 Jan 2010 18:01:47 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id ED5FA8FC08 for ; Wed, 13 Jan 2010 18:01:46 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id E879A1E0076C; Wed, 13 Jan 2010 19:01:45 +0100 (CET) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.3/8.14.3) with ESMTP id o0DHxuat014018; Wed, 13 Jan 2010 18:59:56 +0100 (CET) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.3/8.14.3/Submit) id o0DHxuCq014017; Wed, 13 Jan 2010 18:59:56 +0100 (CET) (envelope-from nox) From: Juergen Lock Date: Wed, 13 Jan 2010 18:59:56 +0100 To: Juergen Lock Message-ID: <20100113175956.GA13442@triton8.kn-bremen.de> References: <20100102002243.54ba6716@baby-jane.lamaiziere.net> <6201873e1001011536p51c47d0fh93d700c6d96fb126@mail.gmail.com> <201001081915.o08JFwnX034602@triton8.kn-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201001081915.o08JFwnX034602@triton8.kn-bremen.de> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: patfbsd@davenulle.org, freebsd-questions@freebsd.org Subject: Re: Virtualbox and bridged interface. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jan 2010 18:01:47 -0000 On Fri, Jan 08, 2010 at 08:15:58PM +0100, Juergen Lock wrote: > In article <20100102005808.12d46e63@baby-jane.lamaiziere.net> you write: > >Le Fri, 1 Jan 2010 17:36:30 -0600, > >Adam Vande More a =E9crit : > > > >> > Is there someone able to make VirtualBox working with a bridged > >> > interface? > >> > > >> > I've got : > >> > My gateway/access point on 192.168.1.1/24 > >> > The host on 192.168.1.20/24 via wifi (wlan0) > >> > The guest on 192.168.1.25/24 bridged with wlan0 > >... > > > >> Bridged networking doesn't work on wireless interfaces. > > > >Ah ok :( > > > >I would be happy to know why, briefly. Is it a limitation in the > >wireless connection or a limitation in the operating system (FreeBSD)? > > > The problem is caused by the fact that hosts on wifi can usually only > use a single mac address, and while the vbox code does contain a > `shared mac' feature thats supposed to work around this problem this > feature hasn't been ported for FreeBSD hosts yet. > > >I've used some bridged guests on Mac OS X and vmware fusion but I don't > >remember if I used the ethernet or the wireless interface. > > > >To J.D.Bronson: no mac authentication here, thanks for the "shot in the > >dark" anyway. > > > >So I will try to setup a vpn between the host and the guest. > > There is another workaround tho that you can try involving a tap > interface, routing, proxy arp, and a patch to vbox to enable direct > tap networking, > http://people.freebsd.org/~nox/vbox/patch-tapdirect.txt > more details including a config example in this post: > http://lists.freebsd.org/pipermail/freebsd-emulation/2010-January/007260.html > (I patched vbox 3.1.2 thats not commtted to ports yet, it's possible > the patch doesn't apply to the older version in ports. The latest vbox > 3.1.2 Call for testing is here: > http://lists.freebsd.org/pipermail/freebsd-emulation/2010-January/007241.html > The patch can go in that port's files/ dir.) All committed to ports now, including the shared mac feature so bridged mode on wifi should now work in the new emulators/virtualbox-ose* ports: http://www.freshports.org/commit.php?message_id=201001130803.o0D83HFe012322@repoman.freebsd.org Please see http://wiki.freebsd.org/VirtualBox for update instructions. Enjoy, :) Juergen