From owner-freebsd-questions@FreeBSD.ORG Fri Jul 16 02:34:44 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 98ED0106566B for ; Fri, 16 Jul 2010 02:34:44 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 4AA378FC0A for ; Fri, 16 Jul 2010 02:34:43 +0000 (UTC) Received: by qyk7 with SMTP id 7so444226qyk.13 for ; Thu, 15 Jul 2010 19:34:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=Vgo3Dmx0eH55ViiszFFJskB6ZkjuzPNBFPLfk/xKBjo=; b=URMZ5FE2yuhvtqJYD6rzr4XP5jsyCJR7plwsaqjZxDdiF40vn16twY1Qs7BiLt14nW DIoEuXTZ3w+hEJp1PvqD1urPpJctyc3V0xbNmrC0DNfPI3Vmd1MmWXyL9+sVrj0gSDyc mLhXmb6+NgV8o6rnenrLeO+4yrOpTOQWKM17U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=tqxgmOLGFBQ1/NU6jrgvy2QMt9Nuy2yqfsbFailOo1OijLa7cQvnHyWJvSQc40ALYo LmHTVSgu4mkCk6WgVGN2Uln/xGoGAxJqOyQ++SbjI8lhXCbHgceNJKF+YetKVCXAIJL5 ZcUzjv9kMa1GTdo1YpohXWBd98CcD9wz2J1X8= MIME-Version: 1.0 Received: by 10.224.106.34 with SMTP id v34mr327875qao.325.1279247683111; Thu, 15 Jul 2010 19:34:43 -0700 (PDT) Received: by 10.229.86.12 with HTTP; Thu, 15 Jul 2010 19:34:42 -0700 (PDT) In-Reply-To: References: <74457244-1BEF-473F-AF6B-7E16E852E1FD@elvandar.org> Date: Thu, 15 Jul 2010 21:34:42 -0500 Message-ID: From: Adam Vande More To: Chris Maness Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Remko Lodder , freebsd-questions@freebsd.org Subject: Re: Virtualbox Networking Issues 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, 16 Jul 2010 02:34:44 -0000 On Thu, Jul 15, 2010 at 8:36 PM, Chris Maness wrote: > Things I tried: > > With all three vbox module inserted into the kernel > > NAT, Bridge, with the PC-Net FAST Not able to ping anything (even the > gateway) I also tried ifconfig by hand > NAT, Bridge, and Host-only with the first intel card on the list. > Same response as above. > NAT and Bridge with 2nd Intel card used. DHCP worked under nat, but > was unable to ping the outside internet. > Bridge worked perfectly with DHCP and was able to talk to the outside > world. Bridge is preferred anyhow as I can set up a static with a > public IP for access from the outside world. > > My host is headless, so I am running virtualbox headless and it works > like a champ with the following command: > > # VBoxHeadless --vnc --vncport 5902 --startvm FreeBSD > > Note: I had a similar issue with a FreeBSD client running under > windows being picky as to which card I selected. This was a couple of > years ago. Also, I think I see the same issue with the system time > running wildly off from net time. On my old virtualbox system the > system clock was so unsteady that ntp would not even lock it down. > AFAIK, pinging from a VM set to use VirtualBox NAT has never worked on FreeBSD Host/Guest setup. TCP/UDP connections generally work though. This perhaps explains it more, http://www.virtualbox.org/ticket/1247 Bridged networking mode hasn't failed me since shortly after it was patched to work with FreeBSD. Make sure you are not bridging with wireless NIC's as I don't think those work yet. -- Adam Vande More