Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Sep 2009 12:44:06 -0500
From:      Adam Vande More <amvandemore@gmail.com>
To:        xorquewasp@googlemail.com
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: Problems with qemu networking on 7.2-RELEASE-amd64?
Message-ID:  <6201873e0909151044o1331009rf62dba1912cf17eb@mail.gmail.com>
In-Reply-To: <20090915173935.GA34173@logik.internal.network>
References:  <20090914051402.GB44046@logik.internal.network> <20090915173935.GA34173@logik.internal.network>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Sep 15, 2009 at 12:39 PM, <xorquewasp@googlemail.com> wrote:

> On 2009-09-14 06:14:02, xorquewasp@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6201873e0909151044o1331009rf62dba1912cf17eb>