Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Nov 2009 01:31:16 +0900
From:      Hiroharu Tamaru <tamaru@myn.rcast.u-tokyo.ac.jp>
To:        Doug Barton <dougb@FreeBSD.org>
Cc:        freebsd-emulation@FreeBSD.org
Subject:   Re: Bridged networking for virtualbox on -current?
Message-ID:  <sa66392cyi3.wl%tamaru@myn.rcast.u-tokyo.ac.jp>
In-Reply-To: <4B08DD0C.3080106@FreeBSD.org>
References:  <4B08DD0C.3080106@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
        ether 08:00:27:xx:yy:zz
        inet 192.168.1.2 netmask 0xffffff00 broadcast 192.168.1.255
        media: Ethernet autoselect (1000baseT <full-duplex>)
        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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?sa66392cyi3.wl%tamaru>