From owner-freebsd-emulation@FreeBSD.ORG Sun Nov 22 17:12:34 2009 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 A85F01065672 for ; Sun, 22 Nov 2009 17:12:34 +0000 (UTC) (envelope-from tamaru@myn.rcast.u-tokyo.ac.jp) Received: from mailv3.ecc.u-tokyo.ac.jp (mailv3.ecc.u-tokyo.ac.jp [133.11.225.58]) by mx1.freebsd.org (Postfix) with ESMTP id 555058FC13 for ; Sun, 22 Nov 2009 17:12:34 +0000 (UTC) Received: from mailv1.ecc.u-tokyo.ac.jp (mailv1.ecc.u-tokyo.ac.jp [133.11.225.59]) by mailv3.ecc.u-tokyo.ac.jp (Postfix) with ESMTP id 8293D6C01DD for ; Mon, 23 Nov 2009 01:31:23 +0900 (JST) Received: from mhs001.ecc.u-tokyo.ac.jp (mhs001.ecc.u-tokyo.ac.jp [133.11.70.161]) by mailv1.ecc.u-tokyo.ac.jp (Postfix) with ESMTP id 5AEF46C0046 for ; Mon, 23 Nov 2009 01:31:22 +0900 (JST) Received: from amulet.amuletic.net (124.155.55.252 [124.155.55.252]) by mhs001.ecc.u-tokyo.ac.jp (SpamBlock.pstn.b 3.4.102) with ESMTP id for ; Mon, 23 Nov 2009 01:31:16 +0900 Date: Mon, 23 Nov 2009 01:31:16 +0900 Message-ID: From: Hiroharu Tamaru To: Doug Barton In-Reply-To: <4B08DD0C.3080106@FreeBSD.org> References: <4B08DD0C.3080106@FreeBSD.org> User-Agent: User-Agent: Wanderlust/2.14.0 (Africa) Emacs/21.3 Mule/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-IP: 124.155.55.252 X-FROM-DOMAIN: myn.rcast.u-tokyo.ac.jp X-FROM-EMAIL: tamaru@myn.rcast.u-tokyo.ac.jp Cc: freebsd-emulation@FreeBSD.org Subject: Re: Bridged networking for virtualbox on -current? 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: Sun, 22 Nov 2009 17:12:34 -0000 Hi, At Sat, 21 Nov 2009 22:41:16 -0800, Doug Barton wrote: > Is bridged networking for vbox supposed to work on -current? It says > on the wiki that it does, but I tried it tonight and couldn't get it > to work. > > I did see one page that suggested trying one of the Intel virtual > nicks, which I did, no luck. It is working here on 8.0. Did you specifically mean -current? I do remember that it didn't work on my first trial; don't know what I did differently then, though. Working setup: host: 8.0-PRERELEASE/amd64 where VM is configured with Network Adapter 1: Intel PRO/1000 MT Desktop (Bridged adapter, nfe0) with guest OS: 8.0-RC3/i386 and within the guest: guest%ifconfig em0 em0: flags=8843 metric 0 mtu 1500 options=9b ether 08:00:27:xx:yy:zz inet 192.168.1.2 netmask 0xffffff00 broadcast 192.168.1.255 media: Ethernet autoselect (1000baseT ) status: active I can see the dhcp packets on the wire by monitoring the nfe0 on the host side: host# tcpdump -i nfe0 ether host 08:00:27:xx:yy:zz listening on nfe0, link-type EN10MB (Ethernet), capture size 96 bytes IP 192.168.1.2.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 08:00:27:xx:yy:zz (oui Unknown), length 300 IP 192.168.1.2.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 08:00:27:xx:yy:zz (oui Unknown), length 300 IP ntt.setup.bootps > 192.168.1.2.bootpc: BOOTP/DHCP, Reply, length 548 ARP, Request who-has 192.168.1.2 tell 192.168.1.2, length 28 ARP, Request who-has 192.168.1.2 tell 192.168.1.2, length 28 hope it helps. > If this is not supposed to work it would be nice to update the wiki, I > spent quite a bit of time trying to get it to work that I hope was not > wasted. > > > Doug > > -- > > Improve the effectiveness of your Internet presence with > a domain name makeover! http://SupersetSolutions.com/ -- Hiroharu Tamaru