From owner-freebsd-questions@FreeBSD.ORG Fri Nov 27 16:36:16 2009 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 CB9401065692 for ; Fri, 27 Nov 2009 16:36:16 +0000 (UTC) (envelope-from npapke@acm.org) Received: from idcmail-mo2no.shaw.ca (idcmail-mo2no.shaw.ca [64.59.134.9]) by mx1.freebsd.org (Postfix) with ESMTP id 9BBE38FC0C for ; Fri, 27 Nov 2009 16:36:16 +0000 (UTC) Received: from pd5ml1no-ssvc.prod.shaw.ca ([10.0.153.166]) by pd7mo1no-svcs.prod.shaw.ca with ESMTP; 27 Nov 2009 09:36:15 -0700 X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.0 c=1 a=i2Meb6K8ossA:10 a=VF9RaR9bft6c8SsOr3WyFg==:17 a=N54-gffFAAAA:8 a=lvbMJxvVAAAA:8 a=hHTjTf_6hfmZrhfK2YAA:9 a=7pwp6Aeft-PktwPPpAgtj4hWA44A:4 a=nAPXUAfsBmEA:10 Received: from unknown (HELO proven.lan) ([24.85.241.34]) by pd5ml1no-dmz.prod.shaw.ca with ESMTP; 27 Nov 2009 09:36:15 -0700 Received: from proven.lan (localhost [127.0.0.1]) by proven.lan (8.14.3/8.14.3) with ESMTP id nARGaFCT004011 for ; Fri, 27 Nov 2009 08:36:15 -0800 (PST) (envelope-from npapke@acm.org) Received: (from npapke@localhost) by proven.lan (8.14.3/8.14.3/Submit) id nARGaF2K004010 for freebsd-questions@freebsd.org; Fri, 27 Nov 2009 08:36:15 -0800 (PST) (envelope-from npapke@acm.org) X-Authentication-Warning: proven.lan: npapke set sender to npapke@acm.org using -f From: Norbert Papke To: freebsd-questions@freebsd.org Date: Fri, 27 Nov 2009 08:36:15 -0800 User-Agent: KMail/1.12.3 (FreeBSD/8.0-STABLE; KDE/4.3.3; amd64; ; ) References: <4B0F8CA7.1080009@zedat.fu-berlin.de> In-Reply-To: <4B0F8CA7.1080009@zedat.fu-berlin.de> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200911270836.15146.npapke@acm.org> Subject: Re: VirtualBox: No network connectivity. Weird vboxnetflt.ko/vboxnetadp.ko behaviour 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: Fri, 27 Nov 2009 16:36:16 -0000 On November 27, 2009, O. Hartmann wrote: > Befor going deeper into my config I will report some strange behaviour > of needed kernel modules > > vboxnetflt.ko > vboxnetadp.ko > > Both are needed for networking on VirtualBox and they get loaded at > startup vi /boot/loader.conf. But to have a working network, I have to > unload and then reload them, since if they get loaded at startup, > networking is broken in virtual box! The vboxnetadp.ko is needed for the "host-only adapter" mode, I tend not to load it. For bridged mode, you need vboxnetflt.ko. I have been having good luck by always loading vboxnetadp.ko manually rather than from loader.conf. > My FreeBSD-based config is simple. I have a bridged NIC (msk0), a tap0 > device which is member of the bridge. I do not use a tap device. It should not be needed. I bridge the physical device directly. > Has anybody similar trouble? The modules are a somewhat temperamental. When I follow the above, it works great. When I deviate, I sometimes have trouble. Cheers, -- Norbert Papke. npapke@acm.org http://saveournet.ca Protecting your Internet's level playing field