Problems with qemu networking on 7.2-RELEASE-amd64?

Adam Vande More amvandemore at gmail.com
Tue Sep 15 17:44:09 UTC 2009


On Tue, Sep 15, 2009 at 12:39 PM, <xorquewasp at googlemail.com> wrote:

> On 2009-09-14 06:14:02, xorquewasp at googlemail.com wrote:
> > Hello.
> >
> > I'm having horrendous trouble getting qemu to do networking
> > on 7.2-RELEASE-amd64. I've not had any trouble on previous
> > versions of FreeBSD and qemu so this comes as a bit of a surprise.
>
> So, er, nobody's using this rather common setup on 7.2-RELEASE-amd64?
>
> I don't know if this is a problem with qemu or a problem with if_bridge.ko.
>
> Again:
>
>  NetBSD x86 sees no NIC at all.
>
>  OpenBSD x86 sees a NIC but it doesn't work ("ne3: device timeout").
>
>  Windows XP sees a NIC, can do DNS resolution but no outgoing TCP
> connection
>  works.
>
>  NetBSD SPARC sees a NIC, can do DNS resolution but no outgoing TCP
> connection
>  works. I can connect into the guest via SSH.
>
> This isn't a firewall issue: I can watch the pflog0, re0 and tap0 devices
> with tcpdump and clearly see that nothing is being blocked.
>
> The TCP outbound connections simply pass into the tap device and then
> apparently
> don't even get as far as the bridge:
>
> Working DNS resolution:
> 133779 rule 22/0(match): pass in on tap0: 10.1.3.12.65529 > 10.2.1.7.53:
> UDP, length 32
> 000006 rule 23/0(match): pass out on bridge0: 10.1.3.12.65529 >
> 10.2.1.7.53: UDP, length 32
>
> Apparently broken TCP/IP to google.com:
> 189768 rule 24/0(match): pass in on tap0: 10.1.3.12.65534 >
> 216.239.59.147.80: tcp 0
>
> There's no "pass out on bridge0" or "pass out on re0" as expected.
>
> I've tried the recent qemu-devel patch but it's so unstable that it seems
> nearly any execution path results in a segmentation fault.
>
> Any help would be appreciated - I have work to do that requires access
> to these VMs and having no outgoing network connectivity is crippling.
>
>
I don't know anything about your particular issue, but VirtualBox should be
able to run those qemu images, and it's bridged networking is now working in
addition to the previously working nat.  IME, VBox is significantly faster
and more robust than qemu, especially in the network realm.

-- 
Adam Vande More


More information about the freebsd-emulation mailing list