Bridged networking for virtualbox on -current?

Hiroharu Tamaru tamaru at myn.rcast.u-tokyo.ac.jp
Sun Nov 22 17:12:34 UTC 2009


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


More information about the freebsd-emulation mailing list