From owner-freebsd-questions@FreeBSD.ORG Fri Jul 28 16:42:05 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1576116A4E1 for ; Fri, 28 Jul 2006 16:42:05 +0000 (UTC) (envelope-from artifact.one@googlemail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.FreeBSD.org (Postfix) with ESMTP id B452B43D62 for ; Fri, 28 Jul 2006 16:42:01 +0000 (GMT) (envelope-from artifact.one@googlemail.com) Received: by ug-out-1314.google.com with SMTP id m2so891471uge for ; Fri, 28 Jul 2006 09:42:01 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=googlemail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Bd+/DUfv4nuyyVsqM5LE0Gfi8ZBVDAR9bZBSzdPcO/w0MUHIRZliED+PKrh684suUayRHthssB6YRxG9L07nZs+oERpEjILee5JztwOyV/Jp2/9JjBCs86FNkydmXC4z/Oj0ohYYaLIgui9B/mMax6ShVqYk0Gstu8q8dv7ZSc8= Received: by 10.78.116.19 with SMTP id o19mr935141huc; Fri, 28 Jul 2006 09:42:01 -0700 (PDT) Received: by 10.78.43.9 with HTTP; Fri, 28 Jul 2006 09:42:01 -0700 (PDT) Message-ID: <8e96a0b90607280942o7fb9d5e5s876ad7367379210@mail.gmail.com> Date: Fri, 28 Jul 2006 17:42:01 +0100 From: "mal content" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: qemu with tap networking on FreeBSD 6.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Jul 2006 16:42:05 -0000 Hi. I've been having serious trouble with this. I posted a message in the qemu forum, but with only 30-something threads in the BSD section, I don't think it's really a good place to get a decent answer about BSD. A copy of the post follows: Followed instructions from various places and ended up with the following procedure: # kldload bridge.ko # sysctl net.link.ether.bridge_cfg=fxp0,tap0 # sysctl net.link.ether.bridge.enable=1 I created 'if-up' for qemu: #!/bin/sh ifconfig ${1} 0.0.0.0 I have a working OpenBSD image, 3.9. I started it up, set an IP address and default route, etc. Everything appears to be fine there. I reboot the qemu image and just before the login prompt, qemu goes insane. For some reason, it blasts UDP packets: (on the host) # netstat -an udp4 0 0 *.62756 *.* udp4 0 0 *.62324 *.* udp4 0 0 *.62127 *.* udp4 0 0 *.62741 *.* udp4 0 0 *.59182 *.* udp4 0 0 *.63792 *.* (this goes on for several screens). During this time, my ethernet switch is understandably going mad and the qemu process has slowed to an unusable crawl. The host doesn't seem particularly affected. My prime suspicion is that those UDP packets are DNS queries. It also sends ICMP packets, that I captured with ethereal (most of them are along the lines of 'host not reachable). Did I do something to cause offense to some electronic deity somewhere? Anybody here seen anything like this? Qemu without networking is next to useless. MC