From owner-freebsd-questions@FreeBSD.ORG Tue May 11 20:16:57 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 A5045106566C for ; Tue, 11 May 2010 20:16:57 +0000 (UTC) (envelope-from amsibamsi@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.157]) by mx1.freebsd.org (Postfix) with ESMTP id 2CE398FC16 for ; Tue, 11 May 2010 20:16:56 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id 22so1105676fge.13 for ; Tue, 11 May 2010 13:16:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=IfRCIu2d3IXWTCywrIZTHBdaygZ/XEyBdps8pRUTeB8=; b=PnreixbRe6rYxbcmh9mN9XbmVyfmZmMfXUjOHrpiuiubtADHTWAcOB4/v20XxjJpXD vPFPDzbNcDfzLmAeiEJJp8EwjdUJTKRiKbf2+jk9kBXzwjgDZ2sC5VvV1b5DTMvkQeYC jTxxYYr5Xu0iADYDpHMnMD7HSXtIbXAVHl4hA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=WhstRp+Qr4BgXsARPxWcAxfWqQLPVXJ8uWeTNqW8HQl4QnjVYRg7g+nxdmdpDyss3X MbfGVCmhiWR5QSP1+ilDYaUhnbEoNAgIYv4Q1X9dMRqgqOhJSWwwXLbR/LwSoNz/GQYQ UvZZcvrurBlCkXRnw/VnyiKS2VMIVOj8WLd2Q= Received: by 10.87.47.3 with SMTP id z3mr12784852fgj.74.1273609016174; Tue, 11 May 2010 13:16:56 -0700 (PDT) Received: from hulk.l.ttyv0.net (80-219-19-168.dclient.hispeed.ch [80.219.19.168]) by mx.google.com with ESMTPS id 19sm12084421fkr.9.2010.05.11.13.16.55 (version=SSLv3 cipher=RC4-MD5); Tue, 11 May 2010 13:16:55 -0700 (PDT) Message-ID: <4BE9BB35.203@gmail.com> Date: Tue, 11 May 2010 22:16:53 +0200 From: Anselm Strauss User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.9) Gecko/20100424 Thunderbird/3.0.4 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4BE69E93.3090401@gmail.com> In-Reply-To: <4BE69E93.3090401@gmail.com> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: VirtualBox: no network 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: Tue, 11 May 2010 20:16:57 -0000 Okay, so it works with the stock kernel when I don't load the module and don't start the vboxnet service on boot, but just manually load the vboxnetflt module when the system is up. Then I start virtualbox and the network works fine. Unfortunately there is no indication what kernel modules are needed. I think it needs at least netgraph and ng_ether. But obviously that's not enough since network still doesn't work with my custom kernel. Oh, and then it regularly freezes my whole system after running for about 20 minutes and I have to do a hardware reset ... ;-) On 05/09/10 13:37, Anselm Strauss wrote: > Hi, > > I'm running VirtualBox 3.1.6 on FreeBSD 8.0 amd64. I loaded the vboxdrv > module on boot and started the vboxnet service. Then I set up an Ubuntu > 10.04 amd64 guest and configured one bridged network interface. But I > can't get an IP address from my DHCP server. When I check with tcpdump > on all hosts, the traffic goes out from the Ubuntu guest over the > FreeBSD host and arrives at my DHCP server. The replies come in on the > host system but are then somehow not forwarded to the guest. I never see > incoming traffic on the guest system. > > I tested this with the stock FreeBSD kernel and with both types bridged > and NAT networking. There is no firewall on the host system. > > Any ideas? > > Thanks, > Anselm